Skip to content

Commit

Permalink
Merge pull request #2301 from wordpress-mobile/update_translations
Browse files Browse the repository at this point in the history
Update translations
  • Loading branch information
sendhil committed Aug 29, 2014
2 parents e46b6bf + 4a91f08 commit f8a7ea2
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 21 deletions.
Binary file not shown.
Binary file modified WordPress/Resources/it.lproj/Localizable.strings
Binary file not shown.
Binary file modified WordPress/Resources/nl.lproj/Localizable.strings
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions WordPress/WordPress.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,12 @@
A01C55470E25E0D000D411F2 /* defaultPostTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = defaultPostTemplate.html; path = Resources/HTML/defaultPostTemplate.html; sourceTree = "<group>"; };
A0E293EF0E21027E00C6919C /* WPAddCategoryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WPAddCategoryViewController.h; sourceTree = "<group>"; };
A0E293F00E21027E00C6919C /* WPAddCategoryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WPAddCategoryViewController.m; sourceTree = "<group>"; };
A20971B419B0BC390058F395 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/Localizable.strings"; sourceTree = "<group>"; };
A20971B519B0BC390058F395 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
A20971B619B0BC390058F395 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
A20971B719B0BC570058F395 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = "<group>"; };
A20971B819B0BC570058F395 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
A20971B919B0BC580058F395 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
A25EBD85156E330600530E3D /* WPTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WPTableViewController.h; sourceTree = "<group>"; };
A25EBD86156E330600530E3D /* WPTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WPTableViewController.m; sourceTree = "<group>"; };
A2787D0119002AB1000D6CA6 /* HelpshiftConfig.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = HelpshiftConfig.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2303,6 +2309,8 @@
fr,
nl,
de,
"en-GB",
"pt-BR",
);
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
projectDirPath = "";
Expand Down Expand Up @@ -2754,6 +2762,8 @@
931DF4DD18D09B1900540BDD /* th */,
931DF4DE18D09B2600540BDD /* de */,
931DF4DF18D09B3900540BDD /* id */,
A20971B519B0BC390058F395 /* en-GB */,
A20971B819B0BC570058F395 /* pt-BR */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
Expand All @@ -2762,6 +2772,8 @@
isa = PBXVariantGroup;
children = (
E16AB93314D978240047A2E5 /* en */,
A20971B619B0BC390058F395 /* en-GB */,
A20971B919B0BC580058F395 /* pt-BR */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
Expand Down Expand Up @@ -2791,6 +2803,8 @@
E19853331755E461001CC6D5 /* da */,
E19853341755E4B3001CC6D5 /* ko */,
E1E977BC17B0FA9A00AFB867 /* th */,
A20971B419B0BC390058F395 /* en-GB */,
A20971B719B0BC570058F395 /* pt-BR */,
);
name = Localizable.strings;
path = Resources;
Expand Down
2 changes: 2 additions & 0 deletions WordPress/WordPressTest/en-GB.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

2 changes: 2 additions & 0 deletions WordPress/WordPressTest/pt-BR.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* Localized versions of Info.plist keys */

1 change: 1 addition & 0 deletions WordPress/en-GB.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NSLocationUsageDescription = "WordPress would like to add your location to posts on sites where you have enabled geotagging.";
1 change: 1 addition & 0 deletions WordPress/pt-BR.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NSLocationUsageDescription = "WordPress would like to add your location to posts on sites where you have enabled geotagging.";
44 changes: 23 additions & 21 deletions update-translations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,29 @@
# * Chinese (Taiwan) [zh-Hant]

LANGS={
'da' => 'da', # Danish
'de' => 'de', # German
'es' => 'es', # Spanish
'fr' => 'fr', # French
'he' => 'he', # Hebrew
'hr' => 'hr', # Croatian
'hu' => 'hu', # Hungarian
'id' => 'id', # Indonesian
'it' => 'it', # Italian
'ja' => 'ja', # Japanese
'ko' => 'ko', # Korean
'nb' => 'nb', # Norwegian (Bokmål)
'nl' => 'nl', # Dutch
'pl' => 'pl', # Polish
'pt' => 'pt', # Portuguese
'ru' => 'ru', # Russian
'sv' => 'sv', # Swedish
'th' => 'th', # Thai
'tr' => 'tr', # Turkish
'zh-cn' => 'zh-Hans', # Chinese (Chine)
'zh-tw' => 'zh-Hant' # Chinese (Taiwan)
'da' => 'da', # Danish
'de' => 'de', # German
'es' => 'es', # Spanish
'fr' => 'fr', # French
'he' => 'he', # Hebrew
'hr' => 'hr', # Croatian
'hu' => 'hu', # Hungarian
'id' => 'id', # Indonesian
'it' => 'it', # Italian
'ja' => 'ja', # Japanese
'ko' => 'ko', # Korean
'nb' => 'nb', # Norwegian (Bokmål)
'nl' => 'nl', # Dutch
'pl' => 'pl', # Polish
'pt' => 'pt', # Portuguese
'ru' => 'ru', # Russian
'sv' => 'sv', # Swedish
'th' => 'th', # Thai
'tr' => 'tr', # Turkish
'zh-cn' => 'zh-Hans', # Chinese (China)
'zh-tw' => 'zh-Hant', # Chinese (Taiwan)
'pt-br' => 'pt-BR', # Portuguese (Brazil)
'en-gb' => 'en-GB', # English (UK)
}

LANGS.each do |code,local|
Expand Down

0 comments on commit f8a7ea2

Please sign in to comment.