Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Simplified Chinese localization #7316

Merged
merged 4 commits into from
Dec 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
291 changes: 291 additions & 0 deletions platform/darwin/resources/zh-Hans.lproj/Foundation.strings
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";

1 change: 1 addition & 0 deletions platform/ios/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* Labels written in Arabic, Hebrew, and other scripts are written right-to-left. Arabic characters are correctly shaped. ([#6984](https://github.com/mapbox/mapbox-gl-native/pull/6984), [#7123](https://github.com/mapbox/mapbox-gl-native/pull/7123))
* Improved the line wrapping behavior of point-placed labels written in Chinese, Japanese, and Yi. ([#6828](https://github.com/mapbox/mapbox-gl-native/pull/6828))
* Fixed an issue where translucent, non-view-backed point annotations along tile boundaries would be drawn darker than expected. ([#6832](https://github.com/mapbox/mapbox-gl-native/pull/6832))
* Added the Simplified Chinese localization. ([#7316](https://github.com/mapbox/mapbox-gl-native/pull/7316))

## 3.4.0

Expand Down
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。";
9 changes: 9 additions & 0 deletions platform/ios/ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
20DABE861DF78148007AC5FF /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Foundation.strings"; sourceTree = "<group>"; };
20DABE881DF78148007AC5FF /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
20DABE8A1DF78149007AC5FF /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Root.strings"; sourceTree = "<group>"; };
30E578111DAA7D690050F07E /* UIImage+MGLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImage+MGLAdditions.h"; path = "src/UIImage+MGLAdditions.h"; sourceTree = SOURCE_ROOT; };
30E578121DAA7D690050F07E /* UIImage+MGLAdditions.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = "UIImage+MGLAdditions.mm"; path = "src/UIImage+MGLAdditions.mm"; sourceTree = SOURCE_ROOT; };
350098B91D480108004B2AF0 /* MGLVectorSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorSource.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1755,6 +1758,7 @@
knownRegions = (
en,
Base,
"zh-Hans",
);
mainGroup = DA1DC9411CB6C1C2006E619F;
productRefGroup = DA1DC94B1CB6C1C2006E619F /* Products */;
Expand Down Expand Up @@ -2114,6 +2118,7 @@
isa = PBXVariantGroup;
children = (
DA25D5C51CCDA06800607828 /* Base */,
20DABE8A1DF78149007AC5FF /* zh-Hans */,
);
name = Root.strings;
sourceTree = "<group>";
Expand All @@ -2122,6 +2127,7 @@
isa = PBXVariantGroup;
children = (
DA8933A01CCC951200E68420 /* Base */,
20DABE881DF78148007AC5FF /* zh-Hans */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand All @@ -2130,6 +2136,7 @@
isa = PBXVariantGroup;
children = (
DA8933BB1CCD2CA100E68420 /* Base */,
20DABE861DF78148007AC5FF /* zh-Hans */,
);
name = Foundation.strings;
sourceTree = "<group>";
Expand Down Expand Up @@ -2165,6 +2172,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "libc++";
Expand Down Expand Up @@ -2216,6 +2224,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "libc++";
Expand Down
Loading