From dfa69717fea9f9ec21c4045917d4bc73e7010cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 14 Mar 2019 16:04:02 -0700 Subject: [PATCH] Added Japanese localization --- CHANGELOG.md | 1 + Example/ja.lproj/Main.strings | 15 ++ .../Resources/ja.lproj/Localizable.strings | 9 ++ MapboxNavigation.xcodeproj/project.pbxproj | 10 ++ .../Resources/ja.lproj/Localizable.strings | 141 ++++++++++++++++++ .../ja.lproj/Localizable.stringsdict | 34 +++++ .../Resources/ja.lproj/Navigation.strings | 3 + 7 files changed, 213 insertions(+) create mode 100644 Example/ja.lproj/Main.strings create mode 100644 MapboxCoreNavigation/Resources/ja.lproj/Localizable.strings create mode 100644 MapboxNavigation/Resources/ja.lproj/Localizable.strings create mode 100644 MapboxNavigation/Resources/ja.lproj/Localizable.stringsdict create mode 100644 MapboxNavigation/Resources/ja.lproj/Navigation.strings diff --git a/CHANGELOG.md b/CHANGELOG.md index bee128f9924..73fd4426f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ * The `BottomBannerViewController` now accounts for the safe area inset if present. ([#1982](https://github.com/mapbox/mapbox-navigation-ios/pull/1982)) * Deprecated `BottomBannerViewController(delegate:)`. Set the `BottomBannerViewController.delegate` property separately after initializing a `BottomBannerViewController`. ([#2027](https://github.com/mapbox/mapbox-navigation-ios/pull/2027)) * The map now pans when the user drags a `UserCourseView`. ([#2012](https://github.com/mapbox/mapbox-navigation-ios/pull/2012)) +* Added a Japanese localization. ([#2032](https://github.com/mapbox/mapbox-navigation-ios/pull/2032)) ## v0.29.1 diff --git a/Example/ja.lproj/Main.strings b/Example/ja.lproj/Main.strings new file mode 100644 index 00000000000..8766f568980 --- /dev/null +++ b/Example/ja.lproj/Main.strings @@ -0,0 +1,15 @@ + +/* Class = "UIButton"; normalTitle = "Continue to next destination"; ObjectID = "1vl-kS-fBt"; */ +"1vl-kS-fBt.normalTitle" = "次のバス停まで運行を続ける"; + +/* Class = "UILabel"; text = "Long press to select a destination"; ObjectID = "dEY-t6-Ect"; */ +"dEY-t6-Ect.text" = "次の目的地を選択するには、長押しして下さい"; + +/* Class = "UIButton"; normalTitle = "Simulate Locations"; ObjectID = "iiq-Gf-SKY"; */ +"iiq-Gf-SKY.normalTitle" = "運行シミュレーションを行う"; + +/* Class = "UIButton"; normalTitle = "Start Navigation"; ObjectID = "nMe-Tl-a1N"; */ +"nMe-Tl-a1N.normalTitle" = "ナビゲーションを開始する"; + +/* Class = "UINavigationItem"; title = "Mapbox Navigation"; ObjectID = "zxr-0T-HBr"; */ +"zxr-0T-HBr.title" = "Mapboxナビゲーション"; diff --git a/MapboxCoreNavigation/Resources/ja.lproj/Localizable.strings b/MapboxCoreNavigation/Resources/ja.lproj/Localizable.strings new file mode 100644 index 00000000000..0ade230f03d --- /dev/null +++ b/MapboxCoreNavigation/Resources/ja.lproj/Localizable.strings @@ -0,0 +1,9 @@ +/* Error message when an offline route request returns a response that can’t be deserialized */ +"OFFLINE_CORRUPT_DATA" = "オフラインの為ルートを作成できません"; + +/* Error description when an offline route request returns no result */ +"OFFLINE_NO_RESULT" = "オフラインの為、ルートを作成できません"; + +/* Inform developer an update is available */ +"UPDATE_AVAILABLE" = "iOS %@用 Mapbox Navigation SDKが使用できます"; + diff --git a/MapboxNavigation.xcodeproj/project.pbxproj b/MapboxNavigation.xcodeproj/project.pbxproj index 6db21f0837c..63508679fcd 100644 --- a/MapboxNavigation.xcodeproj/project.pbxproj +++ b/MapboxNavigation.xcodeproj/project.pbxproj @@ -955,6 +955,11 @@ DA73F87820BF851B0067649B /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = de; path = Resources/de.lproj/Localizable.stringsdict; sourceTree = ""; }; DA8264851F2AAD8400454B24 /* zh-Hant */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Main.strings"; sourceTree = ""; }; DA8264871F2AADC200454B24 /* zh-Hant */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Navigation.strings"; sourceTree = ""; }; + DA9059B1223B158D006E8B46 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Main.strings; sourceTree = ""; }; + DA9059B2223B1758006E8B46 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; + DA9059B3223B1769006E8B46 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Navigation.strings; sourceTree = ""; }; + DA9059B4223B1770006E8B46 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; + DA9059B5223B1778006E8B46 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ja; path = Resources/ja.lproj/Localizable.stringsdict; sourceTree = ""; }; DAA292FF1F16CC2200D94613 /* lt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = lt; path = lt.lproj/Navigation.strings; sourceTree = ""; }; DAA293011F16DA0C00D94613 /* es */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Main.strings; sourceTree = ""; }; DAA96D17215A961D00BEF703 /* route-doubling-back.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "route-doubling-back.json"; sourceTree = ""; }; @@ -2767,6 +2772,7 @@ DAC049C020171886004C2217 /* he */, DAE26B1A20644047001D6E1F /* ar */, DAE26B20206441D8001D6E1F /* pt-PT */, + DA9059B1223B158D006E8B46 /* ja */, ); name = Main.storyboard; sourceTree = ""; @@ -2804,6 +2810,7 @@ DAE26B1C20644047001D6E1F /* ar */, DAE26B22206441D9001D6E1F /* pt-PT */, DAFEB36A2093A0D800A86A83 /* ko */, + DA9059B3223B1769006E8B46 /* ja */, ); name = Navigation.storyboard; path = Resources; @@ -2830,6 +2837,7 @@ DAE26B1F2064407D001D6E1F /* ar */, DAE26B23206441F7001D6E1F /* pt-PT */, DAFEB36D2093A11F00A86A83 /* ko */, + DA9059B2223B1758006E8B46 /* ja */, ); name = Localizable.strings; path = Resources; @@ -2874,6 +2882,7 @@ DAE26B2820647A82001D6E1F /* he */, DAFEB36F2093A3EF00A86A83 /* ko */, DA73F87820BF851B0067649B /* de */, + DA9059B5223B1778006E8B46 /* ja */, ); name = Localizable.stringsdict; sourceTree = ""; @@ -2900,6 +2909,7 @@ DAE26B2420644215001D6E1F /* pt-PT */, DAE26B272064742F001D6E1F /* ar */, DAFEB36E2093A3E000A86A83 /* ko */, + DA9059B4223B1770006E8B46 /* ja */, ); name = Localizable.strings; path = Resources; diff --git a/MapboxNavigation/Resources/ja.lproj/Localizable.strings b/MapboxNavigation/Resources/ja.lproj/Localizable.strings new file mode 100644 index 00000000000..5a332f7a0e0 --- /dev/null +++ b/MapboxNavigation/Resources/ja.lproj/Localizable.strings @@ -0,0 +1,141 @@ +/* Delimiter between lines in an address when displayed inline */ +"ADDRESS_LINE_SEPARATOR" = "​"; + +/* Title on arrival action sheet */ +"CARPLAY_ARRIVED" = "目的地に到着しました"; + +/* Message on arrival action sheet */ +"CARPLAY_ARRIVED_MESSAGE" = "ご希望の操作を教えて下さい"; + +/* Title on continue button in CarPlay */ +"CARPLAY_CONTINUE" = "運行を続ける"; + +/* Name of the waypoint associated with the current location */ +"CARPLAY_CURRENT_LOCATION" = "現在地"; + +/* Title for dismiss button */ +"CARPLAY_DISMISS" = "閉じる"; + +/* Title for end navigation button */ +"CARPLAY_END" = "終了"; + +/* Title on the exit button in the arrival form */ +"CARPLAY_EXIT_NAVIGATION" = "ナビゲーションを終了する"; + +/* Title for feedback template in CarPlay */ +"CARPLAY_FEEDBACK" = "フィードバック"; + +/* Title for start button in CPTripPreviewTextConfiguration */ +"CARPLAY_GO" = "発車する"; + +/* Title for alternative routes in CPTripPreviewTextConfiguration */ +"CARPLAY_MORE_ROUTES" = "他のルートを表示"; + +/* Title for mute button */ +"CARPLAY_MUTE" = "消音"; + +/* CPNavigationAlert OK button title */ +"CARPLAY_OK" = "OK"; + +/* Title for overview button in CPTripPreviewTextConfiguration */ +"CARPLAY_OVERVIEW" = "全体を見る"; + +/* Title for rating template in CarPlay */ +"CARPLAY_RATE_RIDE" = "乗車の評価を行う"; + +/* Title on rate button in CarPlay */ +"CARPLAY_RATE_TRIP" = "乗車の評価を行う"; + +/* Message when search returned zero results in CarPlay */ +"CARPLAY_SEARCH_NO_RESULTS" = "検索結果がありません"; + +/* Alert title that shows when feedback has been submitted */ +"CARPLAY_SUBMITTED_FEEDBACK" = "提出済み"; + +/* Title for unmute button */ +"CARPLAY_UNMUTE" = "音声を出す"; + +/* Format string for indicating the device volume is low; 1 = device model */ +"DEVICE_VOLUME_LOW" = "%@音量を下げる"; + +/* Dismiss button title on the steps view */ +"DISMISS_STEPS_TITLE" = "閉じる"; + +/* End Navigation Button Text */ +"END_NAVIGATION" = "ナビゲーションを終了する"; + +/* Title used for arrival */ +"END_OF_ROUTE_ARRIVED" = "目的地に到着しました"; + +/* Comment Placeholder Text */ +"END_OF_ROUTE_TITLE" = "改善点を教えてください"; + +/* Error message when the SDK is unable to read a spoken instruction. */ +"FAILED_INSTRUCTION" = "音声案内は使用できません"; + +/* Indicates a faster route was found */ +"FASTER_ROUTE_FOUND" = "より早い経路が見つかりました"; + +/* Feedback type for Bad Route */ +"FEEDBACK_BAD_ROUTE" = "経路が悪い"; + +/* Feedback type for Confusing Instruction */ +"FEEDBACK_CONFUSING_INSTRUCTION" = "案内がわかりにくい"; + +/* Feedback type for Other Map Issue Issue */ +"FEEDBACK_GENERAL_ISSUE" = "その他、地図の問題"; + +/* Feedback type for Missing Exit */ +"FEEDBACK_MISSING_EXIT" = "出口を間違えた"; + +/* Feedback type for Missing Road */ +"FEEDBACK_MISSING_ROAD" = "道を間違えた"; + +/* Feedback type for a maneuver that is Not Allowed */ +"FEEDBACK_NOT_ALLOWED" = "ルートが法規に反する"; + +/* Feedback type for Report Traffic */ +"FEEDBACK_REPORT_TRAFFIC" = "渋滞状況を報告する"; + +/* Feedback type for Road Closed */ +"FEEDBACK_ROAD_CLOSURE" = "通行止めの道があった"; + +/* Message confirming that the user has successfully sent feedback */ +"FEEDBACK_THANK_YOU" = "フィードバックにご協力頂きありがとうございました"; + +/* Title of view controller for sending feedback */ +"FEEDBACK_TITLE" = "問題を報告する"; + +/* Format for displaying the first two major ways */ +"LEG_MAJOR_WAYS_FORMAT" = "%1$@と%2$@"; + +/* Format string for a short distance or time less than a minimum threshold; 1 = duration remaining */ +"LESS_THAN" = "%@より小さい"; + +/* Accessibility value of label indicating the absence of a rating */ +"NO_RATING" = "評価レートがありません"; + +/* Rating Reset To Zero Accessability Hint */ +"RATING_ACCESSIBILITY_RESET" = "タップすることで評価レートを0にできます"; + +/* Format for accessibility label of button for setting a rating; 1 = number of stars */ +"RATING_ACCESSIBILITY_SET" = "%ld つ星のレートをつける"; + +/* Format for accessibility value of label indicating the existing rating; 1 = number of stars */ +"RATING_STARS_FORMAT" = "%ld つ星のレート"; + +/* Indicates that rerouting is in progress */ +"REROUTING" = "経路を再検索中です…"; + +/* Button title for resume tracking */ +"RESUME" = "再開する"; + +/* The text of a banner that appears during turn-by-turn navigation when route simulation is enabled. */ +"USER_IN_SIMULATION_MODE" = "%dにてナビのシュミレーションを行う"; + +/* Format for displaying destination and intermediate waypoints; 1 = source ; 2 = destinations */ +"WAYPOINT_DESTINATION_VIA_WAYPOINTS_FORMAT" = "%2$@経由で%1$@に向かう"; + +/* Format for displaying start and endpoint for leg; 1 = source ; 2 = destination */ +"WAYPOINT_SOURCE_DESTINATION_FORMAT" = "%1$@と%2$@"; + diff --git a/MapboxNavigation/Resources/ja.lproj/Localizable.stringsdict b/MapboxNavigation/Resources/ja.lproj/Localizable.stringsdict new file mode 100644 index 00000000000..346b5756417 --- /dev/null +++ b/MapboxNavigation/Resources/ja.lproj/Localizable.stringsdict @@ -0,0 +1,34 @@ + + + + + RATING_ACCESSIBILITY_SET + + NSStringLocalizedFormatKey + %#@stars@ + stars + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + ld + other + %ld つ星をつける + + + RATING_STARS_FORMAT + + NSStringLocalizedFormatKey + %#@stars@ + stars + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + ld + other + %ld つ星のレート + + + + diff --git a/MapboxNavigation/Resources/ja.lproj/Navigation.strings b/MapboxNavigation/Resources/ja.lproj/Navigation.strings new file mode 100644 index 00000000000..94245f2942f --- /dev/null +++ b/MapboxNavigation/Resources/ja.lproj/Navigation.strings @@ -0,0 +1,3 @@ + +/* Class = "UILabel"; text = "Rate your trip"; ObjectID = "W5U-cV-cDO"; */ +"W5U-cV-cDO.text" = "今回の乗車の評価を行う";