From ef12dc082239ca42209483545edb017c799aea9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Tue, 12 Sep 2017 23:53:28 -0700 Subject: [android, ios, macos] Russian, Ukrainian, Hungarian and other localization updates (#9945) * [android, ios, macos] Updated Russian localization Added a Russian localization of the Android SDK. Updated the iOS and macOS Russian localizations. * [android, ios, macos] Updated Ukrainian localization Added a Ukrainian localization of the Android SDK. Updated the iOS and macOS Ukrainian localizations. * [ios, macos] Updated Traditional Chinese localization * [macos] Added Hungarian localization * [android] corrected typos * [ios, macos] Updated Ukrainian localization * [android, ios, macos] Configured Foundation.stringsdict on Transifex * [ios, macos] Pulled in Foundation.stringsdict from Transifex Updated the German, Lithuanian, and Vietnamese localizations with Foundation.stringsdict files matching Transifex. --- .tx/config | 7 + platform/android/CHANGELOG.md | 4 + .../src/main/res/values-ru/strings.xml | 15 ++ .../src/main/res/values-uk/strings.xml | 15 ++ .../resources/de.lproj/Foundation.stringsdict | 16 ++ .../resources/lt.lproj/Foundation.stringsdict | 6 - .../darwin/resources/ru.lproj/Foundation.strings | 291 +++++++++++++++++++++ .../darwin/resources/uk.lproj/Foundation.strings | 291 +++++++++++++++++++++ .../resources/vi.lproj/Foundation.stringsdict | 48 ++++ platform/ios/ios.xcodeproj/project.pbxproj | 12 +- .../ios/resources/lt.lproj/Localizable.stringsdict | 12 +- .../ios/resources/ru.lproj/Localizable.strings | 20 +- .../ios/resources/uk.lproj/Localizable.strings | 20 +- .../ios/resources/uk.lproj/Localizable.stringsdict | 38 +++ .../resources/zh-Hant.lproj/Localizable.strings | 39 +-- .../zh-Hant.lproj/Localizable.stringsdict | 30 +++ platform/macos/CHANGELOG.md | 3 +- platform/macos/app/hu.lproj/Localizable.strings | 0 platform/macos/macos.xcodeproj/project.pbxproj | 15 +- platform/macos/sdk/hu.lproj/Localizable.strings | 27 ++ platform/macos/sdk/ru.lproj/Localizable.strings | 14 +- platform/macos/sdk/uk.lproj/Localizable.strings | 14 +- .../macos/sdk/zh-Hant.lproj/Localizable.strings | 12 + 23 files changed, 914 insertions(+), 35 deletions(-) create mode 100644 platform/android/MapboxGLAndroidSDK/src/main/res/values-ru/strings.xml create mode 100644 platform/android/MapboxGLAndroidSDK/src/main/res/values-uk/strings.xml create mode 100644 platform/darwin/resources/ru.lproj/Foundation.strings create mode 100644 platform/darwin/resources/uk.lproj/Foundation.strings create mode 100644 platform/darwin/resources/vi.lproj/Foundation.stringsdict create mode 100644 platform/ios/resources/uk.lproj/Localizable.stringsdict create mode 100644 platform/ios/resources/zh-Hant.lproj/Localizable.stringsdict create mode 100644 platform/macos/app/hu.lproj/Localizable.strings create mode 100644 platform/macos/sdk/hu.lproj/Localizable.strings diff --git a/.tx/config b/.tx/config index b464acb01a..e3224ff4ce 100644 --- a/.tx/config +++ b/.tx/config @@ -9,6 +9,13 @@ source_file = platform/darwin/resources/Base.lproj/Foundation.strings source_lang = en type = STRINGS +[mapbox-gl-native.foundationstringsdict-darwin] +file_filter = platform/darwin/resources/.lproj/Foundation.stringsdict +lang_map = pt_BR: pt-BR, pt_PT: pt-PT, zh_CN: zh-Hans, zh_TW: zh-Hant +source_file = platform/darwin/resources/Base.lproj/Foundation.strings +source_lang = en +type = STRINGSDICT + [mapbox-gl-native.localizablestrings-ios] file_filter = platform/ios/resources/.lproj/Localizable.strings lang_map = pt_BR: pt-BR, pt_PT: pt-PT, zh_CN: zh-Hans, zh_TW: zh-Hant diff --git a/platform/android/CHANGELOG.md b/platform/android/CHANGELOG.md index 6d1422e234..529b0e0732 100644 --- a/platform/android/CHANGELOG.md +++ b/platform/android/CHANGELOG.md @@ -2,6 +2,10 @@ Mapbox welcomes participation and contributions from everyone. If you'd like to do so please see the [`Contributing Guide`](https://github.com/mapbox/mapbox-gl-native/blob/master/CONTRIBUTING.md) first to get started. +## 5.1.4 + +* Russian and Ukrainian localizations [#9945](https://github.com/mapbox/mapbox-gl-native/pull/9945) + ## 5.1.3 - August 18, 2017 * Use separate attribute component for line normals [#9753](https://github.com/mapbox/mapbox-gl-native/pull/9753) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values-ru/strings.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values-ru/strings.xml new file mode 100644 index 0000000000..39880d56ba --- /dev/null +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values-ru/strings.xml @@ -0,0 +1,15 @@ + + + Компас. Активируйте, чтобы повернуть карту на Север. + Иконка атрибутов. Активируйте, чтобы показать диалог. + Местоположение. Отображает ваше местоположение на карте. + Отображает карту, созданную при помощи Mapbox. Протисните при помощи двух пальцев. Приблизьте, соединением пальцев. + Mapbox Android SDK + Сделать карты Mapbox лучше + Вы помогаете сделать карты OpenStreetMap и Mapbox лучше путем предоставления анонимных данных об использовании. + Согласен + Не согласен + Дополнительная информация + Запрошенный OfflineRegionDefinition не входит в допустимые границы: %s + + diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values-uk/strings.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values-uk/strings.xml new file mode 100644 index 0000000000..64c7e3efcc --- /dev/null +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values-uk/strings.xml @@ -0,0 +1,15 @@ + + + Компас. Натисніть щоб зорієнтувати мапу на північ. + Значок атрибуції. Натисніть, щоб показати діалог атрибуції. + Визначення положення. Показує ваше місцеположення на мапі. + Показує мапи створені за допомоги Mapbox. Пересувайте мапу двома пальцями. Змінюйте масштаб стуляючи/розводячи два пальці. + Mapbox Android SDK + Допоможіть зробити мапи Mapbox краще + Ви допомагаєте робити мапи OpenStreetMap та Mapbox краще пощирюючи анонімні дані про користування мапами. + Погоджуюсь + Не погоджуюсь + Додаткова інформація + Межі ділянки для оффлайнового користування даними за межами світу: %s + + diff --git a/platform/darwin/resources/de.lproj/Foundation.stringsdict b/platform/darwin/resources/de.lproj/Foundation.stringsdict index 776528a99c..fb9073fa96 100644 --- a/platform/darwin/resources/de.lproj/Foundation.stringsdict +++ b/platform/darwin/resources/de.lproj/Foundation.stringsdict @@ -2,6 +2,22 @@ + COORD_DEG_LONG + + NSStringLocalizedFormatKey + %#@degrees@ + degrees + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d Grad + other + %d Grad + + COORD_MIN_LONG NSStringLocalizedFormatKey diff --git a/platform/darwin/resources/lt.lproj/Foundation.stringsdict b/platform/darwin/resources/lt.lproj/Foundation.stringsdict index e3bb31838a..4ab9d4a8bf 100644 --- a/platform/darwin/resources/lt.lproj/Foundation.stringsdict +++ b/platform/darwin/resources/lt.lproj/Foundation.stringsdict @@ -16,8 +16,6 @@ %d laipsniai few %d laipsniai - many - %d laipsniai other %d laipsnių @@ -36,8 +34,6 @@ %d minutė few %d minutės - many - %d minutės other %d minučių @@ -56,8 +52,6 @@ %d sekundė few %d sekundės - many - %d sekundės other %d sekundžių diff --git a/platform/darwin/resources/ru.lproj/Foundation.strings b/platform/darwin/resources/ru.lproj/Foundation.strings new file mode 100644 index 0000000000..fd9eb04ada --- /dev/null +++ b/platform/darwin/resources/ru.lproj/Foundation.strings @@ -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"; + diff --git a/platform/darwin/resources/uk.lproj/Foundation.strings b/platform/darwin/resources/uk.lproj/Foundation.strings new file mode 100644 index 0000000000..32a006829f --- /dev/null +++ b/platform/darwin/resources/uk.lproj/Foundation.strings @@ -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" = "%@Сх"; + +/* 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" = "%@Пн"; + +/* South latitude format, long: {latitude} */ +"COORD_S_LONG" = "%@ південної широти"; + +/* South latitude format, medium: {latitude} */ +"COORD_S_MEDIUM" = "%@ південної широти"; + +/* South latitude format, short: {latitude} */ +"COORD_S_SHORT" = "%@Пд"; + +/* 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" = "%@Зх"; + diff --git a/platform/darwin/resources/vi.lproj/Foundation.stringsdict b/platform/darwin/resources/vi.lproj/Foundation.stringsdict new file mode 100644 index 0000000000..d85707f7ff --- /dev/null +++ b/platform/darwin/resources/vi.lproj/Foundation.stringsdict @@ -0,0 +1,48 @@ + + + + + COORD_DEG_LONG + + NSStringLocalizedFormatKey + %#@degrees@ + degrees + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + other + %d độ + + + COORD_MIN_LONG + + NSStringLocalizedFormatKey + %#@minutes@ + minutes + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + other + %d phút + + + COORD_SEC_LONG + + NSStringLocalizedFormatKey + %#@seconds@ + seconds + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + other + %d giây + + + + diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj index 9057391fe8..65a53294ab 100644 --- a/platform/ios/ios.xcodeproj/project.pbxproj +++ b/platform/ios/ios.xcodeproj/project.pbxproj @@ -780,6 +780,10 @@ DA618B2C1E68933600CB7F44 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Root.strings; sourceTree = ""; }; DA6408D91DA4E7D300908C90 /* MGLVectorStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorStyleLayer.h; sourceTree = ""; }; DA6408DA1DA4E7D300908C90 /* MGLVectorStyleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLVectorStyleLayer.m; sourceTree = ""; }; + DA704CBB1F637311004B3F28 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Foundation.strings; sourceTree = ""; }; + DA704CBC1F637405004B3F28 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = uk; path = uk.lproj/Localizable.stringsdict; sourceTree = ""; }; + DA704CBD1F63746E004B3F28 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.stringsdict"; sourceTree = ""; }; + DA704CC71F6663A3004B3F28 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Foundation.strings; sourceTree = ""; }; DA7262091DEEE3480043BB89 /* MGLOpenGLStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLOpenGLStyleLayer.h; sourceTree = ""; }; DA72620A1DEEE3480043BB89 /* MGLOpenGLStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLOpenGLStyleLayer.mm; sourceTree = ""; }; DA737ADA1E59139D00AD2CDE /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = es; path = es.lproj/Foundation.stringsdict; sourceTree = ""; }; @@ -920,6 +924,7 @@ DABCABC01CB80717000A7C39 /* locations.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = locations.hpp; sourceTree = ""; }; DAC49C621CD07D74009E1AA3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = en; path = en.lproj/Localizable.stringsdict; sourceTree = ""; }; DACCD9C81F1F473700BB09A1 /* hu */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Root.strings; sourceTree = ""; }; + DACFE7981F66EA2100630DA8 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = vi; path = vi.lproj/Foundation.stringsdict; sourceTree = ""; }; DAD165691CF41981001FF4B9 /* MGLFeature.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFeature.h; sourceTree = ""; }; DAD1656A1CF41981001FF4B9 /* MGLFeature_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFeature_Private.h; sourceTree = ""; }; DAD1656B1CF41981001FF4B9 /* MGLFeature.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLFeature.mm; sourceTree = ""; }; @@ -936,7 +941,7 @@ DAF0D8121DFE0EC500B28378 /* MGLVectorSource_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorSource_Private.h; sourceTree = ""; }; DAF0D8171DFE6B2800B28378 /* MGLAttributionInfo_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLAttributionInfo_Private.h; sourceTree = ""; }; DAFBD0D21E3FA7A1000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Foundation.strings"; sourceTree = ""; }; - DAFBD0D31E3FA7A1000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; + DAFBD0D31E3FA7A1000CD6BF /* zh-Hant */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; DAFBD0D41E3FA7A2000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Root.strings"; sourceTree = ""; }; DD0902A21DB18DE700C5BDCE /* MGLNetworkConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLNetworkConfiguration.m; sourceTree = ""; }; DD0902A41DB18F1B00C5BDCE /* MGLNetworkConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLNetworkConfiguration.h; sourceTree = ""; }; @@ -2521,6 +2526,8 @@ DA618B1C1E6888EC00CB7F44 /* ca */, DA618B251E68920500CB7F44 /* lt */, DAE9E0F11EB7BF1B001E8E8B /* es */, + DA704CBB1F637311004B3F28 /* ru */, + DA704CC71F6663A3004B3F28 /* uk */, ); name = Foundation.strings; sourceTree = ""; @@ -2539,6 +2546,7 @@ DA1AC0201E5B8917006DF1D6 /* uk */, DA618B1D1E6888F500CB7F44 /* ca */, DA618B261E68920D00CB7F44 /* lt */, + DACFE7981F66EA2100630DA8 /* vi */, ); name = Foundation.stringsdict; sourceTree = ""; @@ -2564,6 +2572,8 @@ DA57D4AA1EBA8ED300793288 /* es */, DA57D4AB1EBA909900793288 /* lt */, DA57D4AC1EBA922A00793288 /* vi */, + DA704CBC1F637405004B3F28 /* uk */, + DA704CBD1F63746E004B3F28 /* zh-Hant */, ); name = Localizable.stringsdict; sourceTree = ""; diff --git a/platform/ios/resources/lt.lproj/Localizable.stringsdict b/platform/ios/resources/lt.lproj/Localizable.stringsdict index 0200327f04..732a8d23ac 100644 --- a/platform/ios/resources/lt.lproj/Localizable.stringsdict +++ b/platform/ios/resources/lt.lproj/Localizable.stringsdict @@ -14,11 +14,11 @@ NSStringFormatValueTypeKey d one - Priartinimas: %dx + Priartinimas %dx few - Priartinimas: %dx + Priartinimas %dx other - Priartinimas: %dx + Priartinimas %dx count @@ -27,11 +27,11 @@ NSStringFormatValueTypeKey ld one - Matomos anotacijos: %d anotacija + %d matoma anotacija few - Matomos anotacijos: %d anotacijos + %d matomos anotacijos other - Matomos anotacijos: %d anotacijų + %d matomų anotacijų diff --git a/platform/ios/resources/ru.lproj/Localizable.strings b/platform/ios/resources/ru.lproj/Localizable.strings index 1c3b46f057..40f59a3356 100644 --- a/platform/ios/resources/ru.lproj/Localizable.strings +++ b/platform/ios/resources/ru.lproj/Localizable.strings @@ -2,7 +2,7 @@ "ANNOTATION_A11Y_HINT" = "Показать больше информации"; /* No comment provided by engineer. */ -"API_CLIENT_400_DESC" = "The session data task failed. Original request was: %@"; +"API_CLIENT_400_DESC" = "The session data task failed. Original request was:%@"; /* No comment provided by engineer. */ "API_CLIENT_400_REASON" = "The status code was %ld"; @@ -10,6 +10,9 @@ /* 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" = "Вернуться на карту"; + /* Accessibility hint */ "COMPASS_A11Y_HINT" = "Повернуть карту на север"; @@ -31,6 +34,12 @@ /* Accessibility label */ "INFO_A11Y_LABEL" = "Об этой карте"; +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "Не удалось загрузить карту из-за неизвестной ошибки."; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "Не удалось загрузить карту так как невозможно загрузить стиль."; + /* Accessibility label */ "LOGO_A11Y_LABEL" = "Mapbox"; @@ -40,9 +49,18 @@ /* Map accessibility value */ "MAP_A11Y_VALUE" = "Масштаб %1$dx\n%2$ld аннотации(й) видны"; +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "Не удалось загрузить карту из-за ошибки в стиле."; + /* Action sheet title */ "SDK_NAME" = "Mapbox iOS SDK"; +/* Developer-only SDK update notification; {latest version, in format x.x.x} */ +"SDK_UPDATE_AVAILABLE" = "Mapbox iOS SDK версии %@теперь доступен."; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "Не удалось загрузить карту так как стиль не найден или несовместим."; + /* Telemetry prompt message */ "TELEMETRY_DISABLED_MSG" = "Вы можете помочь сделать карты OpenStreetMap и Mapbox лучше путем предоставления анонимных данных об использовании."; diff --git a/platform/ios/resources/uk.lproj/Localizable.strings b/platform/ios/resources/uk.lproj/Localizable.strings index 86873c69c0..a65c0ae28f 100644 --- a/platform/ios/resources/uk.lproj/Localizable.strings +++ b/platform/ios/resources/uk.lproj/Localizable.strings @@ -10,6 +10,9 @@ /* 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" = "Повернутись до мапи"; + /* Accessibility hint */ "COMPASS_A11Y_HINT" = "Обертає напрямок мапи на північ"; @@ -31,6 +34,12 @@ /* Accessibility label */ "INFO_A11Y_LABEL" = "Про мапу"; +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "Неможливо завантажити мапу через невідому помилку."; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "Неможливо завантажити мапу, бо неможливо завантажити стиль."; + /* Accessibility label */ "LOGO_A11Y_LABEL" = "Mapbox"; @@ -38,11 +47,20 @@ "MAP_A11Y_LABEL" = "Мапа"; /* Map accessibility value */ -"MAP_A11Y_VALUE" = "Zoom %1$dx\n%2$ld annotation(s) visible"; +"MAP_A11Y_VALUE" = "Масштаб %1$dx\n%2$ld підпис(ів) показано"; + +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "Неможливо завантажити мапу, через помилки в стилі."; /* Action sheet title */ "SDK_NAME" = "Mapbox iOS SDK"; +/* Developer-only SDK update notification; {latest version, in format x.x.x} */ +"SDK_UPDATE_AVAILABLE" = "Доступна версія %@ Mapbox iOS SDK:"; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "Неможливо завантажити мапу, бо неможливо знайти стиль або він не сумісний."; + /* Telemetry prompt message */ "TELEMETRY_DISABLED_MSG" = "Ви можете допомогти зробити мапи OpenStreetMap та Mapbox кращими надаючі анонімізовані дані про користування застосунком."; diff --git a/platform/ios/resources/uk.lproj/Localizable.stringsdict b/platform/ios/resources/uk.lproj/Localizable.stringsdict new file mode 100644 index 0000000000..e387b9d9bc --- /dev/null +++ b/platform/ios/resources/uk.lproj/Localizable.stringsdict @@ -0,0 +1,38 @@ + + + + + MAP_A11Y_VALUE + + NSStringLocalizedFormatKey + %#@level@ +%#@count@ + level + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + Масштаб %dx + few + Масштаб %dx + other + Масштаб %dx + + count + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + ld + one + Показано %d підпис + few + Показано %d підписи + other + Показано %d підписів + + + + diff --git a/platform/ios/resources/zh-Hant.lproj/Localizable.strings b/platform/ios/resources/zh-Hant.lproj/Localizable.strings index 1b4e7416d9..585ff3dd27 100644 --- a/platform/ios/resources/zh-Hant.lproj/Localizable.strings +++ b/platform/ios/resources/zh-Hant.lproj/Localizable.strings @@ -1,4 +1,4 @@ -/* Accessibility hint */ +/* Accessibility hint */ "ANNOTATION_A11Y_HINT" = "顯示信息"; /* No comment provided by engineer. */ @@ -10,6 +10,9 @@ /* 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" = "回到地圖"; + /* Accessibility hint */ "COMPASS_A11Y_HINT" = "旋轉地圖使正北朝上"; @@ -19,24 +22,24 @@ /* Compass abbreviation for north */ "COMPASS_NORTH" = "北"; -/* Copyright notice in attribution sheet */ -"COPY_MAPBOX" = "© Mapbox"; - -/* Copyright notice in attribution sheet */ -"COPY_OSM" = "© OpenStreetMap"; - /* Instructions in Interface Builder designable; {key}, {plist file name} */ -"DESIGNABLE" = "在%2$@中將你的access token設爲%1$@可在這裏顯示Mapbox上的地圖\n\n更多說明請見"; +"DESIGNABLE" = "在%2$@中將你的access token設爲%1$@即可顯示Mapbox上的地圖\n\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" = "關於這個地圖"; +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "發生不知名的錯誤,無法載入地圖。"; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "載入樣式表時發生錯誤,無法載入地圖。"; + /* Accessibility label */ "LOGO_A11Y_LABEL" = "Mapbox"; @@ -44,14 +47,20 @@ "MAP_A11Y_LABEL" = "地圖"; /* Map accessibility value */ -"MAP_A11Y_VALUE" = "地圖縮放%1$d倍\n有%2$ld處標記可見"; +"MAP_A11Y_VALUE" = "縮放地圖%1$d倍\n可顯示%2$ld處標記"; -/* Action in attribution sheet */ -"MAP_FEEDBACK" = "改進地圖"; +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "樣式表有毀損,無法載入地圖。"; /* Action sheet title */ "SDK_NAME" = "Mapbox iOS SDK"; +/* Developer-only SDK update notification; {latest version, in format x.x.x} */ +"SDK_UPDATE_AVAILABLE" = "Mapbox iOS SDK %@版現已開放下載:"; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "找不到樣式表或樣式表不兼容,無法載入地圖。"; + /* Telemetry prompt message */ "TELEMETRY_DISABLED_MSG" = "你可以提供匿名數據來幫助OpenStreetMap和Mapbox的地圖變得更好。"; @@ -62,7 +71,7 @@ "TELEMETRY_DISABLED_ON" = "我要參與"; /* Telemetry prompt message */ -"TELEMETRY_ENABLED_MSG" = "你的匿名數據在幫助OpenStreetMap和Mapbox的地圖變得更好。"; +"TELEMETRY_ENABLED_MSG" = "你的匿名數據正在改善OpenStreetMap和Mapbox地圖。"; /* Telemetry prompt button */ "TELEMETRY_ENABLED_OFF" = "不再參與"; @@ -74,11 +83,11 @@ "TELEMETRY_MORE" = "詳細信息"; /* Action in attribution sheet */ -"TELEMETRY_NAME" = "Mapbox傳感數據"; +"TELEMETRY_NAME" = "Mapbox遙測"; /* Telemetry prompt title */ "TELEMETRY_TITLE" = "讓Mapbox地圖變得更好"; /* Default user location annotation title */ -"USER_DOT_TITLE" = "你在這裏"; +"USER_DOT_TITLE" = "你在這裡"; diff --git a/platform/ios/resources/zh-Hant.lproj/Localizable.stringsdict b/platform/ios/resources/zh-Hant.lproj/Localizable.stringsdict new file mode 100644 index 0000000000..fc44e2e501 --- /dev/null +++ b/platform/ios/resources/zh-Hant.lproj/Localizable.stringsdict @@ -0,0 +1,30 @@ + + + + + MAP_A11Y_VALUE + + NSStringLocalizedFormatKey + %#@level@ +%#@count@ + level + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + other + 縮放層級%dx + + count + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + ld + other + 可見%d處標示 + + + + diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md index 6d31c79259..f32ee96259 100644 --- a/platform/macos/CHANGELOG.md +++ b/platform/macos/CHANGELOG.md @@ -2,11 +2,12 @@ ## 0.5.1 -This version of the Mapbox macOS SDK corresponds to version 3.6.2 of the Mapbox iOS SDK. +This version of the Mapbox macOS SDK corresponds to version 3.6.3 of the Mapbox iOS SDK. * Added an `MGLStyle.localizesLabels` property, off by default, that localizes any Mapbox Streets–sourced symbol layer into the user’s preferred language. ([#9582](https://github.com/mapbox/mapbox-gl-native/pull/9582)) * Fixed an issue that caused `-[MGLShapeSource featuresMatchingPredicate:]` and `-[MGLVectorSource featuresInSourceLayersWithIdentifiers:predicate:]` to always return an empty array. ([#9784](https://github.com/mapbox/mapbox-gl-native/pull/9784)) * `MGLMapView`’s `minimumZoomLevel` and `maximumZoomLevel` properties are now available in Interface Builder’s Attributes inspector. ([#9729](https://github.com/mapbox/mapbox-gl-native/pull/9729)) +* Added a Hungarian localization. ([#9945](https://github.com/mapbox/mapbox-gl-native/pull/9945)) ## 0.5.0 diff --git a/platform/macos/app/hu.lproj/Localizable.strings b/platform/macos/app/hu.lproj/Localizable.strings new file mode 100644 index 0000000000..e69de29bb2 diff --git a/platform/macos/macos.xcodeproj/project.pbxproj b/platform/macos/macos.xcodeproj/project.pbxproj index 00cb6ce975..e481b51b4f 100644 --- a/platform/macos/macos.xcodeproj/project.pbxproj +++ b/platform/macos/macos.xcodeproj/project.pbxproj @@ -390,7 +390,7 @@ DA6023EF1E4CE8E500DBFF23 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Foundation.strings; sourceTree = ""; }; DA6023F01E4CE8FF00DBFF23 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = sv; path = sv.lproj/Foundation.stringsdict; sourceTree = ""; }; DA618B131E68850300CB7F44 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = ""; }; - DA618B141E68852C00CB7F44 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = ""; }; + DA618B141E68852C00CB7F44 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Localizable.strings; sourceTree = ""; }; DA618B151E6886DF00CB7F44 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ca; path = ca.lproj/Foundation.stringsdict; sourceTree = ""; }; DA618B161E6886E000CB7F44 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Localizable.strings; sourceTree = ""; }; DA618B171E68876C00CB7F44 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Foundation.strings; sourceTree = ""; }; @@ -401,6 +401,10 @@ DA618B2A1E6892B500CB7F44 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/Localizable.strings; sourceTree = ""; }; DA6408D51DA4E5DA00908C90 /* MGLVectorStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLVectorStyleLayer.h; sourceTree = ""; }; DA6408D61DA4E5DA00908C90 /* MGLVectorStyleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLVectorStyleLayer.m; sourceTree = ""; }; + DA704CBA1F6372E8004B3F28 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/Foundation.strings; sourceTree = ""; }; + DA704CBE1F637531004B3F28 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Localizable.strings; sourceTree = ""; }; + DA704CBF1F637548004B3F28 /* hu */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/Localizable.strings; sourceTree = ""; }; + DA704CC61F666385004B3F28 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Foundation.strings; sourceTree = ""; }; DA7262051DEEDD460043BB89 /* MGLOpenGLStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLOpenGLStyleLayer.h; sourceTree = ""; }; DA7262061DEEDD460043BB89 /* MGLOpenGLStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLOpenGLStyleLayer.mm; sourceTree = ""; }; DA737ADE1E5914AD00AD2CDE /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = es; path = es.lproj/Foundation.stringsdict; sourceTree = ""; }; @@ -479,6 +483,7 @@ DACC22131CF3D3E200D220D9 /* MGLFeature.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLFeature.mm; sourceTree = ""; }; DACC22171CF3D4F700D220D9 /* MGLFeature_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLFeature_Private.h; sourceTree = ""; }; DACCD9C71F1F443B00BB09A1 /* fr */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Foundation.strings; sourceTree = ""; }; + DACFE7971F66EA0C00630DA8 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = vi; path = vi.lproj/Foundation.stringsdict; sourceTree = ""; }; DAD165721CF4CD7A001FF4B9 /* MGLShapeCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLShapeCollection.h; sourceTree = ""; }; DAD165731CF4CD7A001FF4B9 /* MGLShapeCollection.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLShapeCollection.mm; sourceTree = ""; }; DAE6C2E11CC304F900DB3429 /* Credits.rtf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = ""; }; @@ -571,7 +576,7 @@ DAEDC4361D606291000224FF /* MGLAttributionButtonTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLAttributionButtonTests.m; sourceTree = ""; }; DAF0D80D1DFE0E5D00B28378 /* MGLPointCollection_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLPointCollection_Private.h; sourceTree = ""; }; DAF0D8151DFE6B1800B28378 /* MGLAttributionInfo_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLAttributionInfo_Private.h; sourceTree = ""; }; - DAFBD0D51E3FA969000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; + DAFBD0D51E3FA969000CD6BF /* zh-Hant */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; DAFBD0D61E3FA983000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Foundation.strings"; sourceTree = ""; }; DD0902AF1DB1AC6400C5BDCE /* MGLNetworkConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLNetworkConfiguration.m; sourceTree = ""; }; DD0902B01DB1AC6400C5BDCE /* MGLNetworkConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLNetworkConfiguration.h; sourceTree = ""; }; @@ -1312,6 +1317,7 @@ ca, fi, nl, + hu, ); mainGroup = DA839E891CC2E3400062CAFB; productRefGroup = DA839E931CC2E3400062CAFB /* Products */; @@ -1536,6 +1542,7 @@ DA618B161E6886E000CB7F44 /* ca */, DA618B271E68926E00CB7F44 /* fi */, DAE8CCAB1E6E8B72009B5CB0 /* nl */, + DA704CBE1F637531004B3F28 /* hu */, ); name = Localizable.strings; sourceTree = ""; @@ -1584,6 +1591,7 @@ DA618B181E6887C600CB7F44 /* ca */, DA618B2A1E6892B500CB7F44 /* fi */, DAE8CCAC1E6E8B8D009B5CB0 /* nl */, + DA704CBF1F637548004B3F28 /* hu */, ); name = Localizable.strings; sourceTree = ""; @@ -1602,6 +1610,8 @@ DA618B231E6891ED00CB7F44 /* lt */, DAE9E0F21EB7BF39001E8E8B /* es */, DACCD9C71F1F443B00BB09A1 /* fr */, + DA704CBA1F6372E8004B3F28 /* ru */, + DA704CC61F666385004B3F28 /* uk */, ); name = Foundation.strings; sourceTree = ""; @@ -1620,6 +1630,7 @@ DAE8CCAA1E6E8605009B5CB0 /* ru */, DA618B151E6886DF00CB7F44 /* ca */, DA618B241E6891F300CB7F44 /* lt */, + DACFE7971F66EA0C00630DA8 /* vi */, ); name = Foundation.stringsdict; sourceTree = ""; diff --git a/platform/macos/sdk/hu.lproj/Localizable.strings b/platform/macos/sdk/hu.lproj/Localizable.strings new file mode 100644 index 0000000000..b3724190cb --- /dev/null +++ b/platform/macos/sdk/hu.lproj/Localizable.strings @@ -0,0 +1,27 @@ +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "Egy ismeretlen hiba miatt nem sikerült betölteni a térképet."; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "Nem sikerült betölteni a térképet, mert a stílus nem tölthető be."; + +/* Accessibility title */ +"MAP_A11Y_TITLE" = "Mapbox"; + +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "Nem sikerült betölteni a térképet, mert a stílus hibás."; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "Nem sikerült betölteni a térképet, mert a stílus nem található vagy inkompatibilis."; + +/* Label of Zoom In button */ +"ZOOM_IN_LABEL" = "+"; + +/* Tooltip of Zoom In button */ +"ZOOM_IN_TOOLTIP" = "Nagyítás"; + +/* Label of Zoom Out button; U+2212 MINUS SIGN */ +"ZOOM_OUT_LABEL" = "−"; + +/* Tooltip of Zoom Out button */ +"ZOOM_OUT_TOOLTIP" = "Kicsinyítés"; + diff --git a/platform/macos/sdk/ru.lproj/Localizable.strings b/platform/macos/sdk/ru.lproj/Localizable.strings index 4fa1104cc7..067e05b14e 100644 --- a/platform/macos/sdk/ru.lproj/Localizable.strings +++ b/platform/macos/sdk/ru.lproj/Localizable.strings @@ -1,6 +1,18 @@ -/* Accessibility title */ +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "Не удалось загрузит карту из-за неизвестной ошибки."; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "Не удалось загрузить карту так как невозможно загрузить стиль."; + +/* Accessibility title */ "MAP_A11Y_TITLE" = "Mapbox"; +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "Не удалось загрузить карту из-за ошибки в стиле."; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "Не удалось загрузить карту так как стиль не найден или несовместим."; + /* Label of Zoom In button */ "ZOOM_IN_LABEL" = "+"; diff --git a/platform/macos/sdk/uk.lproj/Localizable.strings b/platform/macos/sdk/uk.lproj/Localizable.strings index 1be17a4d49..e5314af101 100644 --- a/platform/macos/sdk/uk.lproj/Localizable.strings +++ b/platform/macos/sdk/uk.lproj/Localizable.strings @@ -1,6 +1,18 @@ -/* Accessibility title */ +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "Неможливо завантажити мапу через невідому помилку."; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "Неможливо завантажити мапу, бо неможливо завантажити стиль."; + +/* Accessibility title */ "MAP_A11Y_TITLE" = "Mapbox"; +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "Неможливо завантажити мапу, через помилки в стилі."; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "Неможливо завантажити мапу, бо неможливо знайти стиль або він не сумісний."; + /* Label of Zoom In button */ "ZOOM_IN_LABEL" = "+"; diff --git a/platform/macos/sdk/zh-Hant.lproj/Localizable.strings b/platform/macos/sdk/zh-Hant.lproj/Localizable.strings index 4447371d71..e5cf4b7695 100644 --- a/platform/macos/sdk/zh-Hant.lproj/Localizable.strings +++ b/platform/macos/sdk/zh-Hant.lproj/Localizable.strings @@ -1,6 +1,18 @@ +/* User-friendly error description */ +"LOAD_MAP_FAILED_DESC" = "發生不知名錯誤,無法載入地圖。"; + +/* User-friendly error description */ +"LOAD_STYLE_FAILED_DESC" = "載入樣式表時發生錯誤,無法載入地圖。"; + /* Accessibility title */ "MAP_A11Y_TITLE" = "Mapbox"; +/* User-friendly error description */ +"PARSE_STYLE_FAILED_DESC" = "樣式表有毀損,無法載入地圖。"; + +/* User-friendly error description */ +"STYLE_NOT_FOUND_DESC" = "找不到樣式表或樣式表不兼容,無法載入地圖。"; + /* Label of Zoom In button */ "ZOOM_IN_LABEL" = "+"; -- cgit v1.2.1