Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
04bcb884
Commit
04bcb884
authored
Jun 01, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Library: folder sub-items should be referred to as 'files' not 'tracks'
(cherry picked from commit
9e0c6135
)
parent
4e56ed08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Sources/VLCPlaylistCollectionViewCell.m
Sources/VLCPlaylistCollectionViewCell.m
+1
-1
Sources/VLCPlaylistTableViewCell.m
Sources/VLCPlaylistTableViewCell.m
+1
-1
No files found.
Sources/VLCPlaylistCollectionViewCell.m
View file @
04bcb884
...
...
@@ -285,7 +285,7 @@
{
self
.
titleLabel
.
text
=
label
.
name
;
NSUInteger
count
=
label
.
files
.
count
;
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
(
count
==
1
)
?
NSLocalizedString
(
@"
LIBRARY_SINGLE_TRACK"
,
nil
)
:
NSLocalizedString
(
@"
LIBRARY_TRACK
S"
,
nil
),
count
];
self
.
subtitleLabel
.
text
=
(
count
==
1
)
?
NSLocalizedString
(
@"
ONE_FILE"
,
nil
)
:
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"
NUM_OF_FILE
S"
,
nil
),
count
];
self
.
mediaIsUnreadView
.
hidden
=
YES
;
self
.
progressView
.
hidden
=
YES
;
self
.
folderIconView
.
image
=
[
UIImage
imageNamed
:
@"folderIcon"
];
...
...
Sources/VLCPlaylistTableViewCell.m
View file @
04bcb884
...
...
@@ -277,7 +277,7 @@
{
self
.
titleLabel
.
text
=
label
.
name
;
NSUInteger
count
=
label
.
files
.
count
;
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
(
count
==
1
)
?
NSLocalizedString
(
@"
LIBRARY_SINGLE_TRACK"
,
nil
)
:
NSLocalizedString
(
@"
LIBRARY_TRACK
S"
,
nil
),
count
];
self
.
subtitleLabel
.
text
=
(
count
==
1
)
?
NSLocalizedString
(
@"
ONE_FILE"
,
nil
)
:
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"
NUM_OF_FILE
S"
,
nil
),
count
];
self
.
mediaIsUnreadView
.
hidden
=
YES
;
self
.
progressIndicator
.
hidden
=
YES
;
self
.
folderIconView
.
image
=
[
UIImage
imageNamed
:
@"folderIcon"
];
...
...
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