Skip to content

Commit

Permalink
Update iOS, macOS SDK translations (mapbox#10738)
Browse files Browse the repository at this point in the history
* [ios, macos] Updated Bulgarian, Spanish, Vietnamese localizations

* [ios, macos] Added Arabic localization

* [ios, macos] Updated localizations
  • Loading branch information
1ec5 authored Dec 20, 2017
1 parent c701030 commit 7f5dfb1
Show file tree
Hide file tree
Showing 25 changed files with 174 additions and 28 deletions.
78 changes: 78 additions & 0 deletions platform/darwin/resources/ar.lproj/Foundation.stringsdict
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?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>zero</key>
<string>0 درجة</string>
<key>one</key>
<string>درجة واحدة</string>
<key>two</key>
<string>درجتان</string>
<key>few</key>
<string>%d درجات</string>
<key>many</key>
<string>%d درجة</string>
<key>other</key>
<string>%d درجة</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>zero</key>
<string>أقل من دقيقة</string>
<key>one</key>
<string>دقيقة واحدة</string>
<key>two</key>
<string>دقيقتان</string>
<key>few</key>
<string>%d دقائق</string>
<key>many</key>
<string>%d دقيقة</string>
<key>other</key>
<string>%d دقيقة</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>zero</key>
<string>أقل من ثانية</string>
<key>one</key>
<string>ثانية واحدة</string>
<key>two</key>
<string>ثانيتان</string>
<key>few</key>
<string>%d ثوان</string>
<key>many</key>
<string>%d ثانية</string>
<key>other</key>
<string>%d ثانية</string>
</dict>
</dict>
</dict>
</plist>
7 changes: 6 additions & 1 deletion platform/darwin/resources/bg.lproj/Foundation.strings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Clock position format, long: {hours} o’clock */
/* Clock position format, long: {hours} o’clock */
"CLOCK_FMT_LONG" = "%@ часа";

/* Clock position format, medium: {hours} o’clock */
Expand Down Expand Up @@ -289,3 +289,8 @@
/* West longitude format, short: {longitude} */
"COORD_W_SHORT" = "%@З";

/* OpenStreetMap full name attribution */
"OSM_FULL_NAME" = "OpenStreetMap";

/* OpenStreetMap short name attribution */
"OSM_SHORT_NAME" = "OSM";
Binary file modified platform/darwin/resources/ca.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/de.lproj/Foundation.strings
Binary file not shown.
8 changes: 7 additions & 1 deletion platform/darwin/resources/es.lproj/Foundation.strings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Clock position format, long: {hours} o’clock */
/* Clock position format, long: {hours} o’clock */
"CLOCK_FMT_LONG" = "%@ en punto";

/* Clock position format, medium: {hours} o’clock */
Expand Down Expand Up @@ -289,3 +289,9 @@
/* West longitude format, short: {longitude} */
"COORD_W_SHORT" = "%@O";

/* OpenStreetMap full name attribution */
"OSM_FULL_NAME" = "OpenStreetMap";

/* OpenStreetMap short name attribution */
"OSM_SHORT_NAME" = "OSM";

Binary file modified platform/darwin/resources/fr.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/ja.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/lt.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/pt-BR.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/ru.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/sv.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/uk.lproj/Foundation.strings
Binary file not shown.
8 changes: 7 additions & 1 deletion platform/darwin/resources/vi.lproj/Foundation.strings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Clock position format, long: {hours} o’clock */
/* Clock position format, long: {hours} o’clock */
"CLOCK_FMT_LONG" = "%@ giờ";

/* Clock position format, medium: {hours} o’clock */
Expand Down Expand Up @@ -289,3 +289,9 @@
/* West longitude format, short: {longitude} */
"COORD_W_SHORT" = "%@T";

/* OpenStreetMap full name attribution */
"OSM_FULL_NAME" = "OpenStreetMap";

/* OpenStreetMap short name attribution */
"OSM_SHORT_NAME" = "OSM";

Binary file modified platform/darwin/resources/zh-Hans.lproj/Foundation.strings
Binary file not shown.
Binary file modified platform/darwin/resources/zh-Hant.lproj/Foundation.strings
Binary file not shown.
Empty file.
5 changes: 5 additions & 0 deletions platform/ios/ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,8 @@
DA737AE91E5917C300AD2CDE /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Localizable.strings; sourceTree = "<group>"; };
DA737AEA1E5917EF00AD2CDE /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Root.strings; sourceTree = "<group>"; };
DA737EE01D056A4E005BDA16 /* MGLMapViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLMapViewDelegate.h; sourceTree = "<group>"; };
DA80E9601FE84AD90065FC9B /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Localizable.strings; sourceTree = "<group>"; };
DA80E9611FE84AEF0065FC9B /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ar; path = ar.lproj/Foundation.stringsdict; sourceTree = "<group>"; };
DA821D041CCC6D59007508D4 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
DA821D051CCC6D59007508D4 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
DA8847D21CBAF91600AB86E3 /* Mapbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Mapbox.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -2131,6 +2133,7 @@
nl,
hu,
bg,
ar,
);
mainGroup = DA1DC9411CB6C1C2006E619F;
productRefGroup = DA1DC94B1CB6C1C2006E619F /* Products */;
Expand Down Expand Up @@ -2546,6 +2549,7 @@
DAE8CCAD1E6E8C70009B5CB0 /* nl */,
DA5C09BA1EFC48550056B178 /* hu */,
DA3389651FA3EE1B001EA329 /* bg */,
DA80E9601FE84AD90065FC9B /* ar */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down Expand Up @@ -2636,6 +2640,7 @@
DACFE7981F66EA2100630DA8 /* vi */,
DA3389671FA3EE2F001EA329 /* bg */,
DA33896B1FA3EF4A001EA329 /* hu */,
DA80E9611FE84AEF0065FC9B /* ar */,
);
name = Foundation.stringsdict;
sourceTree = "<group>";
Expand Down
53 changes: 37 additions & 16 deletions platform/ios/resources/bg.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"ANNOTATION_A11Y_HINT" = "Показва повече инфо";

/* No comment provided by engineer. */
"API_CLIENT_400_DESC" = "Неуспешна сесия за данни. Оригинална заявка: %@";
"API_CLIENT_400_DESC" = "Незавършена сесия от данни. Оригинална заявка:%@";

/* No comment provided by engineer. */
"API_CLIENT_400_REASON" = "Статус кодът беше %ld";
"API_CLIENT_400_REASON" = "Статус код %ld";

/* No comment provided by engineer. */
"CANCEL" = "Отказ";

/* Accessibility hint for closing the selected annotation’s callout view and returning to the map */
"CLOSE_CALLOUT_A11Y_HINT" = "Връща към картата";
"CLOSE_CALLOUT_A11Y_HINT" = "Обратно към картата";

/* Accessibility hint */
"COMPASS_A11Y_HINT" = "Завърта картата в посока север";
Expand All @@ -23,17 +23,20 @@
"COMPASS_NORTH" = "С";

/* Instructions in Interface Builder designable; {key}, {plist file name} */
"DESIGNABLE" = "За да се показва Mapbox карта тук, добави %1$@ към твоя токен за достъп в %2$@\n\nЗа подробни инструкции, виж:";
"DESIGNABLE" = "За да покажеш Mapbox-хоствана карта тук, задай %1$@ към своя токен за достъп в %2$@\nЗа повече детайли, виж:";

/* Setup documentation URL display string; keep as short as possible */
"FIRST_STEPS_URL" = "mapbox.com/help/first-steps-ios-sdk";

/* Accessibility hint */
"INFO_A11Y_HINT" = "Показва кредитите, форма за връзка и още";
"INFO_A11Y_HINT" = "Показва благодарности, форма за обратна връзка и още";

/* Accessibility label */
"INFO_A11Y_LABEL" = "За тази карта";

/* List separator */
"LIST_SEPARATOR" = ",";

/* User-friendly error description */
"LOAD_MAP_FAILED_DESC" = "Картата не се зареди поради неизвестна грешка.";

Expand All @@ -46,23 +49,41 @@
/* Accessibility label */
"MAP_A11Y_LABEL" = "Карта";

/* Map accessibility value */
"MAP_A11Y_VALUE" = "Мащаб %1$dх\n@2$ld видима(и) анотация(и)";
/* Map accessibility value; {number of visible annotations} */
"MAP_A11Y_VALUE_ANNOTATIONS" = "%ld видима анотация(и).";

/* Map accessibility value; {list of visible places} */
"MAP_A11Y_VALUE_PLACES" = "Видими места: %@.";

/* Map accessibility value; {number of visible roads} */
"MAP_A11Y_VALUE_ROADS" = "%ld видим път(я).";

/* Map accessibility value; {zoom level} */
"MAP_A11Y_VALUE_ZOOM" = "Мащаб %dx.";

/* User-friendly error description */
"PARSE_STYLE_FAILED_DESC" = "Картата не се зареди поради повреден стил.";

/* Accessibility value indicating that a road is a divided road (dual carriageway) */
"ROAD_DIVIDED_A11Y_VALUE" = "Разделен път";

/* Accessibility value indicating that a road is a one-way road */
"ROAD_ONEWAY_A11Y_VALUE" = "Еднопосочно";

/* String format for accessibility value for road feature; {route number} */
"ROAD_REF_A11Y_FMT" = "Маршрут %@";

/* Action sheet title */
"SDK_NAME" = "Mapbox Maps SDK for iOS";
"SDK_NAME" = "Mapbox Maps SDK за iOS";

/* Developer-only SDK update notification; {latest version, in format x.x.x} */
"SDK_UPDATE_AVAILABLE" = "Сега е налична Mapbox Maps SDK for iOS версия %@:";
"SDK_UPDATE_AVAILABLE" = "Mapbox Maps SDK за iOS версия %@ е вече налична:";

/* User-friendly error description */
"STYLE_NOT_FOUND_DESC" = "Картата не се зареди поради неоткрит или несъвместим стил.";

/* Telemetry prompt message */
"TELEMETRY_DISABLED_MSG" = "Можеш да помогнеш OpenStreetMap и Mapbox да станат по-добри, като предоставиш анонимни данни за потребление.";
/* OpenStreetMap full name attribution */

/* Telemetry prompt button */
"TELEMETRY_DISABLED_OFF" = "Не участвам";
Expand All @@ -71,7 +92,7 @@
"TELEMETRY_DISABLED_ON" = "Участвам";

/* Telemetry prompt message */
"TELEMETRY_ENABLED_MSG" = "Помагаш OpenStreetMap и Mapbox да станат по-добри, като предоставяш анонимни данни за потребление.";
"TELEMETRY_ENABLED_MSG" = "Ти помагаш OpenStreetMap и Mapbox картите да стават по-добри, като предоставяш анонимни данни за употреба.";

/* Telemetry prompt button */
"TELEMETRY_ENABLED_OFF" = "Спирам участие";
Expand All @@ -80,14 +101,14 @@
"TELEMETRY_ENABLED_ON" = "Продължавам да участвам";

/* Telemetry prompt button */
"TELEMETRY_MORE" = "Искам още инфо";
"TELEMETRY_MORE" = "Покажи ми още";

/* Action in attribution sheet */
"TELEMETRY_NAME" = "Mapbox Телеметрия";
"TELEMETRY_NAME" = "Mapbox телеметрия";

/* Telemetry prompt title */
"TELEMETRY_TITLE" = "Направи Mapbox картите по-добри";
"OSM_FULL_NAME" = "OpenStreetMap";

/* Default user location annotation title */
"USER_DOT_TITLE" = "Сега си тук";
/* OpenStreetMap short name attribution */
"OSM_SHORT_NAME" = "OSM";

38 changes: 29 additions & 9 deletions platform/ios/resources/bg.lproj/Localizable.stringsdict
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,52 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MAP_A11Y_VALUE</key>
<key>MAP_A11Y_VALUE_ANNOTATIONS</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@level@
%#@count@</string>
<key>level</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<string>ld</string>
<key>one</key>
<string>Мащаб %dx</string>
<string>%d видими анотации</string>
<key>other</key>
<string>Мащаб %dx</string>
<string>%d видими анотации</string>
</dict>
</dict>
<key>MAP_A11Y_VALUE_ROADS</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>ld</string>
<key>one</key>
<string>%d видима анотация</string>
<string>%d път видимост</string>
<key>other</key>
<string>%d видими анотации</string>
<string>%d пътища видимост</string>
</dict>
</dict>
<key>MAP_A11Y_VALUE_ZOOM</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@level@</string>
<key>level</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>one</key>
<string>Мащаб %dx</string>
<key>other</key>
<string>Мащаб %dx</string>
</dict>
</dict>
</dict>
Expand Down
Binary file modified platform/ios/resources/es.lproj/Localizable.strings
Binary file not shown.
Binary file modified platform/ios/resources/vi.lproj/Localizable.strings
Binary file not shown.
Empty file.
5 changes: 5 additions & 0 deletions platform/macos/macos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@
DA737AEC1E59180E00AD2CDE /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Localizable.strings; sourceTree = "<group>"; };
DA7DC9801DED5F5C0027472F /* MGLVectorSource_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorSource_Private.h; sourceTree = "<group>"; };
DA7DC9821DED647F0027472F /* MGLRasterSource_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLRasterSource_Private.h; sourceTree = "<group>"; };
DA80E95D1FE84A300065FC9B /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Localizable.strings; sourceTree = "<group>"; };
DA80E95F1FE84A540065FC9B /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ar; path = ar.lproj/Foundation.stringsdict; sourceTree = "<group>"; };
DA839E921CC2E3400062CAFB /* Mapbox GL.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mapbox GL.app"; sourceTree = BUILT_PRODUCTS_DIR; };
DA839E951CC2E3400062CAFB /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
DA839E961CC2E3400062CAFB /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1364,6 +1366,7 @@
nl,
hu,
bg,
ar,
);
mainGroup = DA839E891CC2E3400062CAFB;
productRefGroup = DA839E931CC2E3400062CAFB /* Products */;
Expand Down Expand Up @@ -1594,6 +1597,7 @@
DAE8CCAB1E6E8B72009B5CB0 /* nl */,
DA704CBE1F637531004B3F28 /* hu */,
DA3389611FA3EDCE001EA329 /* bg */,
DA80E95D1FE84A300065FC9B /* ar */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down Expand Up @@ -1687,6 +1691,7 @@
DACFE7971F66EA0C00630DA8 /* vi */,
DA3389631FA3EDF5001EA329 /* bg */,
DA33896C1FA3EF51001EA329 /* hu */,
DA80E95F1FE84A540065FC9B /* ar */,
);
name = Foundation.stringsdict;
sourceTree = "<group>";
Expand Down
Binary file modified platform/macos/sdk/es.lproj/Localizable.strings
Binary file not shown.
Binary file modified platform/macos/sdk/vi.lproj/Localizable.strings
Binary file not shown.

0 comments on commit 7f5dfb1

Please sign in to comment.