Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b616b6b7
Commit
b616b6b7
authored
Jan 06, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed wrong grammar ('1 items in list')
parent
c361066f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+15
-3
No files found.
modules/gui/macosx/playlist.m
View file @
b616b6b7
...
...
@@ -159,7 +159,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
[[
o_tc_author
headerCell
]
setStringValue
:
_NS
(
"Author"
)];
[[
o_tc_duration
headerCell
]
setStringValue
:
_NS
(
"Duration"
)];
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"
0
items in playlist"
)]];
_NS
(
"
no
items in playlist"
)]];
[
o_random_ckb
setTitle
:
_NS
(
"Random"
)];
#if 0
...
...
@@ -922,9 +922,21 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
p_return
=
p_item
->
pp_children
[
index
];
}
}
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
if
(
p_playlist
->
i_size
>=
2
)
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"%i items in playlist"
),
p_playlist
->
i_size
]];
}
else
{
if
(
p_playlist
->
i_size
==
0
)
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"no items in playlist"
),
p_playlist
->
i_size
]];
}
else
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"1 item in playlist"
),
p_playlist
->
i_size
]];
}
}
vlc_object_release
(
p_playlist
);
msg_Dbg
(
p_playlist
,
"childitem with index %d"
,
index
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment