瀏覽代碼

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

(cherry picked from commit 9e0c61355a277af6d56777253d0cc8969f29b277)
Felix Paul Kühne 10 年之前
父節點
當前提交
04bcb884bf
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Sources/VLCPlaylistCollectionViewCell.m
  2. 1 1
      Sources/VLCPlaylistTableViewCell.m

+ 1 - 1
Sources/VLCPlaylistCollectionViewCell.m

@@ -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"];

+ 1 - 1
Sources/VLCPlaylistTableViewCell.m

@@ -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"];