Forráskód Böngészése

Dropbox: Add descriptive string since an empty folder isn't necessarily empty, it just doesn't include something we can play

Felix Paul Kühne 12 éve
szülő
commit
a6c091054f

+ 3 - 1
AspenProject/VLCDropboxTableViewController.m

@@ -167,7 +167,9 @@
     [self.tableView reloadData];
 
     NSUInteger count = _dropboxController.currentListFiles.count;
-    if (count != 1)
+    if (count == 0)
+        _numberOfFilesBarButtonItem.title = NSLocalizedString(@"NO_FILES", @"");
+    else if (count != 1)
         _numberOfFilesBarButtonItem.title = [NSString stringWithFormat:NSLocalizedString(@"NUM_OF_FILES", @""), count];
     else
         _numberOfFilesBarButtonItem.title = NSLocalizedString(@"ONE_FILE", @"");

BIN
Resources/de.lproj/Localizable.strings


BIN
Resources/en.lproj/Localizable.strings


BIN
Resources/fr.lproj/Localizable.strings


BIN
Resources/ru.lproj/Localizable.strings