Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization for UI strings in Japanese #11704

Merged
merged 2 commits into from
Apr 14, 2022
Merged
Changes from 1 commit
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
25 changes: 25 additions & 0 deletions src/ui/locales/ja.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// @flow

const locale = {
"AttributionControl.ToggleAttribution": "アトリビューションを切り替える",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
"AttributionControl.MapFeedback": "マップフィードバック",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
"FullscreenControl.Enter": "フルスクリーンに入る",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
YoshiYazawa marked this conversation as resolved.
Show resolved Hide resolved
"FullscreenControl.Exit": "全画面表示を終了",
"GeolocateControl.FindMyLocation": "私の場所を探す",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"GeolocateControl.FindMyLocation": "私の場所を探す",
"GeolocateControl.FindMyLocation": "現在地取得",

"GeolocateControl.LocationNotAvailable": "場所は利用できません",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"GeolocateControl.LocationNotAvailable": "場所は利用できません",
"GeolocateControl.LocationNotAvailable": "現在地を特定できません",

"LogoControl.Title": "Mapboxのロゴ",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"LogoControl.Title": "Mapboxのロゴ",
"LogoControl.Title": "Mapbox ロゴ",

"Map.Title": "地図",
"NavigationControl.ResetBearing": "ベアリングを北にリセット",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
"NavigationControl.ZoomIn": "ズームイン",
"NavigationControl.ZoomOut": "ズームアウトする",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"NavigationControl.ZoomOut": "ズームアウトする",
"NavigationControl.ZoomOut": "ズームアウト",

"ScaleControl.Feet": "フィート",
"ScaleControl.Meters": "m",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
"ScaleControl.Kilometers": "km",
"ScaleControl.Miles": "自分",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ScaleControl.Miles": "自分",
"ScaleControl.Miles": "マイル",

"ScaleControl.NauticalMiles": "nm",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ScaleControl.NauticalMiles": "nm",
"ScaleControl.NauticalMiles": "海里",

"ScrollZoomBlocker.CtrlMessage": "Ctrlキーを押しながらスクロールして地図をズームします",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ScrollZoomBlocker.CtrlMessage": "Ctrlキーを押しながらスクロールして地図をズームします",
"ScrollZoomBlocker.CtrlMessage": "Ctrl+スクロールを使用して地図をズームします",

"ScrollZoomBlocker.CmdMessage": "⌘+スクロールを使用して地図をズームします",
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved
"TouchPanBlocker.Message": "2本の指で地図を移動します"
stepankuzmin marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"TouchPanBlocker.Message": "2本の指で地図を移動します"
"TouchPanBlocker.Message": "2本指で地図をスクロールします"

};

export default locale;