Bläddra i källkod

add missing l10n

Felix Paul Kühne 12 år sedan
förälder
incheckning
b188dba76a

+ 2 - 2
AspenProject/VLCLocalServerListViewController.m

@@ -56,7 +56,7 @@
     self.tableView.separatorColor = [UIColor colorWithWhite:.122 alpha:1.];
     self.view.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
 
-    self.title = @"Local Servers";
+    self.title = NSLocalizedString(@"LOCAL_NETWORK", @"");
 }
 
 - (IBAction)goBack:(id)sender
@@ -108,7 +108,7 @@
     BasicUPnPDevice *device = _devices[indexPath.row];
     if ([[device urn] isEqualToString:@"urn:schemas-upnp-org:device:MediaServer:1"]) {
         MediaServer1Device *server = (MediaServer1Device*)device;
-        VLCLocalServerFolderListViewController *targetViewController = [[VLCLocalServerFolderListViewController alloc] initWithDevice:server header:@"root" andRootID:@"0"];
+        VLCLocalServerFolderListViewController *targetViewController = [[VLCLocalServerFolderListViewController alloc] initWithDevice:server header:[device friendlyName] andRootID:@"0"];
         [[self navigationController] pushViewController:targetViewController animated:YES];
     } else if ([[device urn] isEqualToString:@"urn:schemas-upnp-org:device:MediaRenderer:1"]) {
         //FIXME: euh, we don't do rendering atm, at least not here.

+ 3 - 3
AspenProject/VLCMenuTableViewController.m

@@ -62,9 +62,9 @@
     self.view.frame = CGRectMake(0.0f, 0.0f, kGHRevealSidebarWidth, CGRectGetHeight(self.view.bounds));
 	self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight;
 
-    _sectionHeaderTexts = @[@"Media Library", @"Network", @"Settings"];
-    _menuItemsSectionOne = @[@"All Files"];
-    _menuItemsSectionTwo = @[@"Local Network", @"OPEN_NETWORK", @"DOWNLOAD_FROM_HTTP", @"WiFi Upload", @"Dropbox"];
+    _sectionHeaderTexts = @[@"SECTION_HEADER_LIBRARY", @"SECTION_HEADER_NETWORK", @"Settings"];
+    _menuItemsSectionOne = @[@"LIBRARY_ALL_FILES"];
+    _menuItemsSectionTwo = @[@"LOCAL_NETWORK", @"OPEN_NETWORK", @"DOWNLOAD_FROM_HTTP", @"WiFi Upload", @"Dropbox"];
     _menuItemsSectionThree = @[@"Settings", @"ABOUT_APP"];
 
 	_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0.0f, 44.0f, kGHRevealSidebarWidth, CGRectGetHeight(self.view.bounds) - 44.0f)

BIN
Resources/bs.lproj/Localizable.strings


BIN
Resources/ca.lproj/Localizable.strings


BIN
Resources/da.lproj/Localizable.strings


BIN
Resources/de.lproj/Localizable.strings


BIN
Resources/en.lproj/Localizable.strings


BIN
Resources/es.lproj/Localizable.strings


BIN
Resources/fi.lproj/Localizable.strings


BIN
Resources/fr.lproj/Localizable.strings


BIN
Resources/gl.lproj/Localizable.strings


BIN
Resources/he.lproj/Localizable.strings


BIN
Resources/id.lproj/Localizable.strings


BIN
Resources/it.lproj/Localizable.strings


BIN
Resources/ja.lproj/Localizable.strings


BIN
Resources/mr.lproj/Localizable.strings


BIN
Resources/nl.lproj/Localizable.strings


BIN
Resources/pt.lproj/Localizable.strings


BIN
Resources/ru.lproj/Localizable.strings


BIN
Resources/sk.lproj/Localizable.strings


BIN
Resources/tr.lproj/Localizable.strings


BIN
Resources/uk.lproj/Localizable.strings


BIN
Resources/zh-Hans.lproj/Localizable.strings