Parcourir la source

Network Login: add missing l10n

Felix Paul Kühne il y a 12 ans
Parent
commit
ed73ed106f

+ 1 - 1
AspenProject/VLCLocalServerListViewController.m

@@ -70,7 +70,7 @@
     [self performSelectorInBackground:@selector(_startUPNPDiscovery) withObject:nil];
 
     _ftpServices = [[NSMutableArray alloc] init];
-    [_ftpServices addObject:@"Connect to Server"];
+    [_ftpServices addObject:NSLocalizedString(@"CONNECT_TO_SERVER", nil)];
 
     _rawServices = [[NSMutableArray alloc] init];
 

+ 5 - 1
AspenProject/VLCNetworkLoginViewController.m

@@ -25,9 +25,13 @@
 
     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
         UIBarButtonItem *dismissButton = [UIBarButtonItem themedBackButtonWithTarget:self andSelector:@selector(dismissWithAnimation:)];
-        self.title = @"Connect to Server";
         self.navigationItem.leftBarButtonItem = dismissButton;
     }
+
+    self.title = NSLocalizedString(@"CONNECT_TO_SERVER", nil);
+    [self.connectButton setTitle:NSLocalizedString(@"BUTTON_CONNECT",@"") forState:UIControlStateNormal];
+    self.serverAddressHelpLabel.text = NSLocalizedString(@"ENTER_SERVER_ADDRESS_HELP",@"");
+    self.loginHelpLabel.text = NSLocalizedString(@"ENTER_SERVER_CREDS_HELP",@"");
 }
 
 - (IBAction)dismissWithAnimation:(id)sender

+ 5 - 6
Resources/VLCNetworkLoginViewController.xib

@@ -151,7 +151,7 @@
 								<int key="IBUIContentMode">7</int>
 								<bool key="IBUIUserInteractionEnabled">NO</bool>
 								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<string key="IBUIText">Enter the IP or the name of the server you want to connect to including the protocol.</string>
+								<string key="IBUIText">Enter the IP or the name of the server you want to connect to.</string>
 								<object class="NSColor" key="IBUITextColor">
 									<int key="NSColorSpace">1</int>
 									<bytes key="NSRGB">MC43NDY1OTE5OTYyIDAuNzQ2NTkxOTk2MiAwLjc0NjU5MTk5NjIAA</bytes>
@@ -230,17 +230,16 @@
 							<object class="IBUILabel" id="921255285">
 								<reference key="NSNextResponder" ref="108354734"/>
 								<int key="NSvFlags">274</int>
-								<string key="NSFrame">{{10, 85}, {300, 83}}</string>
+								<string key="NSFrame">{{16, 85}, {289, 36}}</string>
 								<reference key="NSSuperview" ref="108354734"/>
 								<reference key="NSWindow"/>
-								<reference key="NSNextKeyView"/>
 								<string key="NSReuseIdentifierKey">_NS:9</string>
 								<bool key="IBUIOpaque">NO</bool>
 								<bool key="IBUIClipsSubviews">YES</bool>
 								<int key="IBUIContentMode">7</int>
 								<bool key="IBUIUserInteractionEnabled">NO</bool>
 								<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
-								<string key="IBUIText">If required by the server, enter user name and password. For anonymous access, leave the fields empty.</string>
+								<string key="IBUIText">If required by the server, enter user name and password.</string>
 								<object class="NSColor" key="IBUITextColor">
 									<int key="NSColorSpace">1</int>
 									<bytes key="NSRGB">MC43NDY1OTE5OTYyIDAuNzQ2NTkxOTk2MiAwLjc0NjU5MTk5NjIAA</bytes>
@@ -252,7 +251,7 @@
 								<int key="IBUITextAlignment">1</int>
 								<reference key="IBUIFontDescription" ref="468143243"/>
 								<reference key="IBUIFont" ref="898246364"/>
-								<double key="preferredMaxLayoutWidth">300</double>
+								<double key="preferredMaxLayoutWidth">289</double>
 							</object>
 							<object class="IBUILabel" id="957907215">
 								<reference key="NSNextResponder" ref="108354734"/>
@@ -345,7 +344,7 @@
 						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
 					</object>
 				</array>
-				<string key="NSFrameSize">{320, 271}</string>
+				<string key="NSFrameSize">{320, 237}</string>
 				<reference key="NSSuperview"/>
 				<reference key="NSWindow"/>
 				<reference key="NSNextKeyView" ref="944170964"/>

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