This repository was archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Simplified Chinese localization #7316
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
291 changes: 291 additions & 0 deletions
291
platform/darwin/resources/zh-Hans.lproj/Foundation.strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,291 @@ | ||
/* Clock position format, long: {hours} o’clock */ | ||
"CLOCK_FMT_LONG" = "%@点"; | ||
|
||
/* Clock position format, medium: {hours} o’clock */ | ||
"CLOCK_FMT_MEDIUM" = "%@点"; | ||
|
||
/* Clock position format, short: {hours}:00 */ | ||
"CLOCK_FMT_SHORT" = "%@:00"; | ||
|
||
/* East, long */ | ||
"COMPASS_E_LONG" = "东"; | ||
|
||
/* East, short */ | ||
"COMPASS_E_SHORT" = "东"; | ||
|
||
/* East by north, long */ | ||
"COMPASS_EbN_LONG" = "东微北"; | ||
|
||
/* East by north, short */ | ||
"COMPASS_EbN_SHORT" = "东微北"; | ||
|
||
/* East by south, long */ | ||
"COMPASS_EbS_LONG" = "东微南"; | ||
|
||
/* East by south, short */ | ||
"COMPASS_EbS_SHORT" = "东微南"; | ||
|
||
/* East-northeast, long */ | ||
"COMPASS_ENE_LONG" = "东北偏东"; | ||
|
||
/* East-northeast, short */ | ||
"COMPASS_ENE_SHORT" = "东北偏东"; | ||
|
||
/* East-southeast, long */ | ||
"COMPASS_ESE_LONG" = "东南偏东"; | ||
|
||
/* East-southeast, short */ | ||
"COMPASS_ESE_SHORT" = "东南偏东"; | ||
|
||
/* North, long */ | ||
"COMPASS_N_LONG" = "北"; | ||
|
||
/* North, short */ | ||
"COMPASS_N_SHORT" = "北"; | ||
|
||
/* North by east, long */ | ||
"COMPASS_NbE_LONG" = "北微东"; | ||
|
||
/* North by east, short */ | ||
"COMPASS_NbE_SHORT" = "北微东"; | ||
|
||
/* North by west, long */ | ||
"COMPASS_NbW_LONG" = "北微西"; | ||
|
||
/* North by west, short */ | ||
"COMPASS_NbW_SHORT" = "北微西"; | ||
|
||
/* Northeast, long */ | ||
"COMPASS_NE_LONG" = "东北"; | ||
|
||
/* Northeast, short */ | ||
"COMPASS_NE_SHORT" = "东北"; | ||
|
||
/* Northeast by east, long */ | ||
"COMPASS_NEbE_LONG" = "东北微东"; | ||
|
||
/* Northeast by east, short */ | ||
"COMPASS_NEbE_SHORT" = "东北微东"; | ||
|
||
/* Northeast by north, long */ | ||
"COMPASS_NEbN_LONG" = "东北微北"; | ||
|
||
/* Northeast by north, short */ | ||
"COMPASS_NEbN_SHORT" = "东北微北"; | ||
|
||
/* North-northeast, long */ | ||
"COMPASS_NNE_LONG" = "东北偏北"; | ||
|
||
/* North-northeast, short */ | ||
"COMPASS_NNE_SHORT" = "东北偏北"; | ||
|
||
/* North-northwest, long */ | ||
"COMPASS_NNW_LONG" = "西北偏北"; | ||
|
||
/* North-northwest, short */ | ||
"COMPASS_NNW_SHORT" = "西北偏北"; | ||
|
||
/* Northwest, long */ | ||
"COMPASS_NW_LONG" = "西北"; | ||
|
||
/* Northwest, short */ | ||
"COMPASS_NW_SHORT" = "西北"; | ||
|
||
/* Northwest by north, long */ | ||
"COMPASS_NWbN_LONG" = "西北微北"; | ||
|
||
/* Northwest by north, short */ | ||
"COMPASS_NWbN_SHORT" = "西北微北"; | ||
|
||
/* Northwest by west, long */ | ||
"COMPASS_NWbW_LONG" = "西北微西"; | ||
|
||
/* Northwest by west, short */ | ||
"COMPASS_NWbW_SHORT" = "西北微西"; | ||
|
||
/* South, long */ | ||
"COMPASS_S_LONG" = "南"; | ||
|
||
/* South, short */ | ||
"COMPASS_S_SHORT" = "南"; | ||
|
||
/* South by east, long */ | ||
"COMPASS_SbE_LONG" = "南微东"; | ||
|
||
/* South by east, short */ | ||
"COMPASS_SbE_SHORT" = "南微东"; | ||
|
||
/* South by west, long */ | ||
"COMPASS_SbW_LONG" = "南微西"; | ||
|
||
/* South by west, short */ | ||
"COMPASS_SbW_SHORT" = "南微西"; | ||
|
||
/* Southeast, long */ | ||
"COMPASS_SE_LONG" = "东南"; | ||
|
||
/* Southeast, short */ | ||
"COMPASS_SE_SHORT" = "东南"; | ||
|
||
/* Southeast by east, long */ | ||
"COMPASS_SEbE_LONG" = "东南微东"; | ||
|
||
/* Southeast by east, short */ | ||
"COMPASS_SEbE_SHORT" = "东南微东"; | ||
|
||
/* Southeast by south, long */ | ||
"COMPASS_SEbS_LONG" = "东南微南"; | ||
|
||
/* Southeast by south, short */ | ||
"COMPASS_SEbS_SHORT" = "东南微南"; | ||
|
||
/* South-southeast, long */ | ||
"COMPASS_SSE_LONG" = "东南偏南"; | ||
|
||
/* South-southeast, short */ | ||
"COMPASS_SSE_SHORT" = "东南偏南"; | ||
|
||
/* South-southwest, long */ | ||
"COMPASS_SSW_LONG" = "西南偏南"; | ||
|
||
/* South-southwest, short */ | ||
"COMPASS_SSW_SHORT" = "西南偏南"; | ||
|
||
/* Southwest, long */ | ||
"COMPASS_SW_LONG" = "西南"; | ||
|
||
/* Southwest, short */ | ||
"COMPASS_SW_SHORT" = "西南"; | ||
|
||
/* Southwest by south, long */ | ||
"COMPASS_SWbS_LONG" = "西南偏南"; | ||
|
||
/* Southwest by south, short */ | ||
"COMPASS_SWbS_SHORT" = "西南偏南"; | ||
|
||
/* Southwest by west, long */ | ||
"COMPASS_SWbW_LONG" = "西南偏西"; | ||
|
||
/* Southwest by west, short */ | ||
"COMPASS_SWbW_SHORT" = "西南偏西"; | ||
|
||
/* West, long */ | ||
"COMPASS_W_LONG" = "西"; | ||
|
||
/* West, short */ | ||
"COMPASS_W_SHORT" = "西"; | ||
|
||
/* West by north, long */ | ||
"COMPASS_WbN_LONG" = "西微北"; | ||
|
||
/* West by north, short */ | ||
"COMPASS_WbN_SHORT" = "西微北"; | ||
|
||
/* West by south, long */ | ||
"COMPASS_WbS_LONG" = "西微南"; | ||
|
||
/* West by south, short */ | ||
"COMPASS_WbS_SHORT" = "西微南"; | ||
|
||
/* West-northwest, long */ | ||
"COMPASS_WNW_LONG" = "西北偏西"; | ||
|
||
/* West-northwest, short */ | ||
"COMPASS_WNW_SHORT" = "西北偏西"; | ||
|
||
/* West-southwest, long */ | ||
"COMPASS_WSW_LONG" = "西南偏西"; | ||
|
||
/* West-southwest, short */ | ||
"COMPASS_WSW_SHORT" = "西南偏西"; | ||
|
||
/* Degrees format, long */ | ||
"COORD_DEG_LONG" = "%d度"; | ||
|
||
/* Degrees format, medium: {degrees} */ | ||
"COORD_DEG_MEDIUM" = "%d°"; | ||
|
||
/* Degrees format, short: {degrees} */ | ||
"COORD_DEG_SHORT" = "%d°"; | ||
|
||
/* Coordinate format, long: {degrees}{minutes} */ | ||
"COORD_DM_LONG" = "%1$@度%2$@分"; | ||
|
||
/* Coordinate format, medium: {degrees}{minutes} */ | ||
"COORD_DM_MEDIUM" = "%1$@度%2$@"; | ||
|
||
/* Coordinate format, short: {degrees}{minutes} */ | ||
"COORD_DM_SHORT" = "%1$@%度2$@"; | ||
|
||
/* Coordinate format, long: {degrees}{minutes}{seconds} */ | ||
"COORD_DMS_LONG" = "%1$@度%2$@分%3$@秒"; | ||
|
||
/* Coordinate format, medium: {degrees}{minutes}{seconds} */ | ||
"COORD_DMS_MEDIUM" = "%1$@度%2$@分%3$@秒"; | ||
|
||
/* Coordinate format, short: {degrees}{minutes}{seconds} */ | ||
"COORD_DMS_SHORT" = "%1$@%度2$@分%3$@秒"; | ||
|
||
/* East longitude format, long: {longitude} */ | ||
"COORD_E_LONG" = "东经%@"; | ||
|
||
/* East longitude format, medium: {longitude} */ | ||
"COORD_E_MEDIUM" = "东经%@"; | ||
|
||
/* East longitude format, short: {longitude} */ | ||
"COORD_E_SHORT" = "%@E"; | ||
|
||
/* Coordinate pair format, long: {latitude}, {longitude} */ | ||
"COORD_FMT_LONG" = "%1$@,%2$@"; | ||
|
||
/* Coordinate pair format, medium: {latitude}, {longitude} */ | ||
"COORD_FMT_MEDIUM" = "%1$@,%2$@"; | ||
|
||
/* Coordinate pair format, short: {latitude}, {longitude} */ | ||
"COORD_FMT_SHORT" = "%1$@,%2$@"; | ||
|
||
/* Minutes format, long */ | ||
"COORD_MIN_LONG" = "%d分"; | ||
|
||
/* Minutes format, medium: {minutes} */ | ||
"COORD_MIN_MEDIUM" = "%d′"; | ||
|
||
/* Minutes format, short: {minutes} */ | ||
"COORD_MIN_SHORT" = "%d′"; | ||
|
||
/* North latitude format, long: {latitude} */ | ||
"COORD_N_LONG" = "北纬%@"; | ||
|
||
/* North latitude format, medium: {latitude} */ | ||
"COORD_N_MEDIUM" = "北纬%@"; | ||
|
||
/* North latitude format, short: {latitude} */ | ||
"COORD_N_SHORT" = "%@N"; | ||
|
||
/* South latitude format, long: {latitude} */ | ||
"COORD_S_LONG" = "南纬%@"; | ||
|
||
/* South latitude format, medium: {latitude} */ | ||
"COORD_S_MEDIUM" = "南纬%@"; | ||
|
||
/* South latitude format, short: {latitude} */ | ||
"COORD_S_SHORT" = "%@S"; | ||
|
||
/* Seconds format, long */ | ||
"COORD_SEC_LONG" = "%d秒"; | ||
|
||
/* Seconds format, medium: {seconds} */ | ||
"COORD_SEC_MEDIUM" = "%d″"; | ||
|
||
/* Seconds format, short: {seconds} */ | ||
"COORD_SEC_SHORT" = "%d″"; | ||
|
||
/* West longitude format, long: {longitude} */ | ||
"COORD_W_LONG" = "西经%@"; | ||
|
||
/* West longitude format, medium: {longitude} */ | ||
"COORD_W_MEDIUM" = "西经%@"; | ||
|
||
/* West longitude format, short: {longitude} */ | ||
"COORD_W_SHORT" = "%@W"; | ||
|
54 changes: 54 additions & 0 deletions
54
platform/darwin/resources/zh-Hans.lproj/Foundation.stringsdict
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>COORD_DEG_LONG</key> | ||
<dict> | ||
<key>NSStringLocalizedFormatKey</key> | ||
<string>%#@degrees@</string> | ||
<key>degrees</key> | ||
<dict> | ||
<key>NSStringFormatSpecTypeKey</key> | ||
<string>NSStringPluralRuleType</string> | ||
<key>NSStringFormatValueTypeKey</key> | ||
<string>d</string> | ||
<key>one</key> | ||
<string>%d degree</string> | ||
<key>other</key> | ||
<string>%d degrees</string> | ||
</dict> | ||
</dict> | ||
<key>COORD_MIN_LONG</key> | ||
<dict> | ||
<key>NSStringLocalizedFormatKey</key> | ||
<string>%#@minutes@</string> | ||
<key>minutes</key> | ||
<dict> | ||
<key>NSStringFormatSpecTypeKey</key> | ||
<string>NSStringPluralRuleType</string> | ||
<key>NSStringFormatValueTypeKey</key> | ||
<string>d</string> | ||
<key>one</key> | ||
<string>%d minute</string> | ||
<key>other</key> | ||
<string>%d minutes</string> | ||
</dict> | ||
</dict> | ||
<key>COORD_SEC_LONG</key> | ||
<dict> | ||
<key>NSStringLocalizedFormatKey</key> | ||
<string>%#@seconds@</string> | ||
<key>seconds</key> | ||
<dict> | ||
<key>NSStringFormatSpecTypeKey</key> | ||
<string>NSStringPluralRuleType</string> | ||
<key>NSStringFormatValueTypeKey</key> | ||
<string>d</string> | ||
<key>one</key> | ||
<string>%d second</string> | ||
<key>other</key> | ||
<string>%d seconds</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "iphone", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These changes look unrelated. If they’re needed, would you mind splitting them out into a separate PR? Thanks. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not make that change manually. can I just revert the changes manually? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. |
||
"size" : "20x20", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "20x20", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"size" : "29x29", | ||
"idiom" : "iphone", | ||
|
@@ -36,6 +46,16 @@ | |
"filename" : "Icon-60@3x.png", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "20x20", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "ipad", | ||
"size" : "20x20", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"size" : "29x29", | ||
"idiom" : "ipad", | ||
|
3 changes: 3 additions & 0 deletions
3
platform/ios/framework/Settings.bundle/zh-Hans.lproj/Root.strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"TELEMETRY_GROUP_TITLE" = "隐私设置"; | ||
"TELEMETRY_SWITCH_TITLE" = "Mapbox传感数据"; | ||
"TELEMETRY_GROUP_FOOTER" = "此设置允许应用将用户位置和数据以匿名的方式分享给Mapbox。"; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Chinese doesn’t need to pluralize any strings, leave this file out so Chinese speakers don’t see English.
COORD_DEG_LONG
etc. are already defined in Localizable.strings.