Commit 04bcb884 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Library: folder sub-items should be referred to as 'files' not 'tracks'

(cherry picked from commit 9e0c6135)
parent 4e56ed08
......@@ -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_TRACKS", nil), count];
self.subtitleLabel.text = (count == 1) ? NSLocalizedString(@"ONE_FILE", nil) : [NSString stringWithFormat:NSLocalizedString(@"NUM_OF_FILES", nil), count];
self.mediaIsUnreadView.hidden = YES;
self.progressView.hidden = YES;
self.folderIconView.image = [UIImage imageNamed:@"folderIcon"];
......
......@@ -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_TRACKS", nil), count];
self.subtitleLabel.text = (count == 1) ? NSLocalizedString(@"ONE_FILE", nil) : [NSString stringWithFormat:NSLocalizedString(@"NUM_OF_FILES", nil), count];
self.mediaIsUnreadView.hidden = YES;
self.progressIndicator.hidden = YES;
self.folderIconView.image = [UIImage imageNamed:@"folderIcon"];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment