cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesj...@apache.org
Subject ios commit: [CB-2053] Localize string for Videos title
Date Wed, 24 Apr 2013 21:19:21 GMT
Updated Branches:
  refs/heads/master 735b2843f -> aaf5ccb3f


[CB-2053] Localize string for Videos title

- added localizable string for "Videos" title


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/aaf5ccb3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/aaf5ccb3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/aaf5ccb3

Branch: refs/heads/master
Commit: aaf5ccb3f561cb3fb935afa73d5f1a6dda98fa35
Parents: 735b284
Author: James Jong <wjamesjong@gmail.com>
Authored: Wed Apr 24 17:11:38 2013 -0400
Committer: James Jong <wjamesjong@gmail.com>
Committed: Wed Apr 24 17:11:38 2013 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVCamera.m                     |    2 +-
 .../Resources/de.lproj/Localizable.strings         |    2 ++
 .../Resources/en.lproj/Localizable.strings         |    2 ++
 .../Resources/es.lproj/Localizable.strings         |    2 ++
 .../Resources/se.lproj/Localizable.strings         |    2 ++
 5 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aaf5ccb3/CordovaLib/Classes/CDVCamera.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVCamera.m b/CordovaLib/Classes/CDVCamera.m
index fcf0a73..b10c931 100644
--- a/CordovaLib/Classes/CDVCamera.m
+++ b/CordovaLib/Classes/CDVCamera.m
@@ -193,7 +193,7 @@ static NSSet* org_apache_cordova_validArrowDirections;
         UIImagePickerController * cameraPicker = (UIImagePickerController*)navigationController;
         
         if(![cameraPicker.mediaTypes containsObject:(NSString*) kUTTypeImage]){
-            [viewController.navigationItem setTitle:@"Videos"];
+            [viewController.navigationItem setTitle:NSLocalizedString(@"Videos title", nil)];
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aaf5ccb3/bin/templates/project/__TESTING__/Resources/de.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Resources/de.lproj/Localizable.strings b/bin/templates/project/__TESTING__/Resources/de.lproj/Localizable.strings
index f1cdb42..3dbbf49 100644
--- a/bin/templates/project/__TESTING__/Resources/de.lproj/Localizable.strings
+++ b/bin/templates/project/__TESTING__/Resources/de.lproj/Localizable.strings
@@ -18,6 +18,8 @@
  */
 
 
+// controller title for Videos
+"Videos title" = "Videos";
 // accessibility label for recording button
 "toggle audio recording" = "starten/beenden der Tonaufnahme";
 // notification spoken by VoiceOver when timed recording finishes

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aaf5ccb3/bin/templates/project/__TESTING__/Resources/en.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Resources/en.lproj/Localizable.strings b/bin/templates/project/__TESTING__/Resources/en.lproj/Localizable.strings
index 8972684..860e13c 100644
--- a/bin/templates/project/__TESTING__/Resources/en.lproj/Localizable.strings
+++ b/bin/templates/project/__TESTING__/Resources/en.lproj/Localizable.strings
@@ -17,6 +17,8 @@
  under the License.
  */
 
+// controller title for Videos
+"Videos title" = "Videos";
 // accessibility label for recording button
 "toggle audio recording" = "toggle audio recording";
 // notification spoken by VoiceOver when timed recording finishes

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aaf5ccb3/bin/templates/project/__TESTING__/Resources/es.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Resources/es.lproj/Localizable.strings b/bin/templates/project/__TESTING__/Resources/es.lproj/Localizable.strings
index 23831e6..ab39fce 100644
--- a/bin/templates/project/__TESTING__/Resources/es.lproj/Localizable.strings
+++ b/bin/templates/project/__TESTING__/Resources/es.lproj/Localizable.strings
@@ -17,6 +17,8 @@
  under the License.
  */
 
+// controller title for Videos
+"Videos title" = "Videos";
 // accessibility label for recording button
 "toggle audio recording" = "grabación de audio cambiar";
 // notification spoken by VoiceOver when timed recording finishes

http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aaf5ccb3/bin/templates/project/__TESTING__/Resources/se.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/bin/templates/project/__TESTING__/Resources/se.lproj/Localizable.strings b/bin/templates/project/__TESTING__/Resources/se.lproj/Localizable.strings
index 0af9646..4da165f 100644
--- a/bin/templates/project/__TESTING__/Resources/se.lproj/Localizable.strings
+++ b/bin/templates/project/__TESTING__/Resources/se.lproj/Localizable.strings
@@ -18,6 +18,8 @@
  */
 
 
+// controller title for Videos
+"Videos title" = "Videor";
 // accessibility label for recording button
 "toggle audio recording" = "börja/avsluta inspelning";
 // notification spoken by VoiceOver when timed recording finishes


Mime
View raw message