Files
OpenFrontIO/resources/lang/ja.json
T
Aotumuri 607e5b5ff0 MLS-PACK (#355)
## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

This is commit pack
This PR refactors and improves the language selection experience:
• Centralizes all language-related logic in LangSelector.ts &
LanguageModal.ts
	•	Redesigns the language selection UI for better UX across devices
	•	Adds new translations and supports more languages
Changes .w.
• Language selection is now handled entirely inside LangSelector.ts &
LanguageModal.ts
	•	Prevents background scrolling when open
	•	Highlights the current language at the top
	•	Always shows English second
	•	Shows browser language third (if different from current)
	•	All other languages are sorted alphabetically by English name
	•	Debug option is shown at the end when pressing D
	•	The language list is scrollable when it exceeds screen height
	
Supported Languages
["en", "ja", "fr", "bg", "nl", "ru", "ua", "de"]

Added Translation Keys
```
"lang": {
  "en": "English",
  "native": "English",
  "svg": "xx"
},
"map": {
  "map": "Map"
},
"game_starting_modal": {
  "title": "Game is Starting...",
  "desc": "Preparing for the lobby to start. Please wait."
},
"difficulty": {
  "difficulty": "Difficulty"
}
```

## Please put your Discord username so you can be contacted if a bug or
regression is found:
MLS Representative
- aotumuri 

Translation collaborator
- Nikola123 (He was a very big help from setting up the translation site
to adding the json. Thank you so much!)
I don't have permission from my collaborators to display their names
here, so I'll put the discord link here

https://discord.com/channels/1284581928254701718/1352553113612980224/1352553113612980224
- tryout33

Collaborators from other servers.
- CCC Group (This is not Culture Convenience Club. Think of it like a
server where developers of various games are playing.)
- People who fixed the UI and found bugs.
meow02952 (discord id) <- This person also gave me a code suggestion.
Thanks!
moon_spear (discord id)
ww_what_ww (discord id)
Azuna (he doesn't have discord account)
- People who corrected translations, etc.
_kyoyume_ (discord id)
_ultrasuper_ (discord id)
grueg (he doesn't have discord account)

# If I forgot to include your name, or if you’d like your name to be
added, please let me know via Gmail or Discord.

---------

Co-authored-by: Duwibi <86431918+Duwibi@users.noreply.github.com>
2025-04-02 20:37:36 -07:00

178 lines
9.4 KiB
JSON

{
"lang": {
"en": "Japanese",
"native": "日本語",
"svg": "jp",
"lang_code": "ja"
},
"main": {
"join_discord": "Discordサーバーに参加!",
"create_lobby": "ロビーを作成",
"join_lobby": "ロビーに参加",
"single_player": "シングルプレイヤー",
"instructions": "説明書",
"how_to_play": "遊び方",
"wiki": "ウィキ"
},
"help_modal": {
"hotkeys": "ホットキー",
"table_key": "キー",
"table_action": "アクション",
"action_alt_view": "表示切替(地形/国家)",
"action_attack_altclick": "攻撃(左クリックがメニューの場合)",
"action_build": "建設メニューを開く",
"action_center": "カメラをプレイヤーに寄せる",
"action_zoom": "ズームアウト/イン",
"action_move_camera": "カメラ移動",
"action_ratio_change": "攻撃比率を増減",
"action_reset_gfx": "グラフィックをリセット",
"ui_section": "ゲームUI",
"ui_leaderboard": "リーダーボード",
"ui_leaderboard_desc": "上位プレイヤーの名前、占領率、資産を表示します。",
"ui_control": "コントロールパネル",
"ui_control_desc": "コントロールパネルには以下が含まれます:",
"ui_pop": "人口 - 現在のユニット数、最大人口、増加速度を表示。",
"ui_gold": "資産 - 所持金と増加速度を表示。",
"ui_troops_workers": "兵士と労働者 - 攻撃/防御/金生成のための配分。兵士は攻撃や防御に使われる。労働者はゴールドを生成するために使われます。兵士と労働者の数はスライダーで調整できます。",
"ui_attack_ratio": "攻撃比率 - 攻撃時の使用兵士の割合。",
"ui_options": "オプション",
"ui_options_desc": "以下の項目が含まれます:",
"option_pause": "ゲームの一時停止(シングルプレイヤーのみ)",
"option_timer": "タイマー - ゲーム開始からの経過時間",
"option_exit": "終了ボタン",
"option_settings": "設定メニュー - 設定メニューを開きます。左クリックでオルタネート表示、ダークモード、絵文字、アクションを切り替えることができます。",
"radial_title": "ラジアルメニュー",
"radial_desc": "右クリックまたはタップでメニューを開きます:",
"radial_build": "建設メニューを開く。",
"radial_info": "情報メニューを開く。",
"radial_boat": "ボートを送る(海にアクセスできる場合)。",
"radial_close": "メニューを閉じる。",
"info_title": "情報メニュー",
"info_enemy_panel": "他国情報パネル",
"info_enemy_desc": "選択プレイヤーの名前、資産、兵士数、裏切り者かどうかを表示。裏切り者とは、同盟を結んでいたプレイヤーを裏切り、攻撃したプレイヤーのことです。以下のアイコンは、以下のやりとりを表しています:",
"info_target": "ターゲットマークを付ける(攻撃協調用)。",
"info_alliance": "同盟を申し込む。同盟国は資源と兵力を共有できますが、互いに攻撃することはできません。",
"info_emoji": "絵文字を送る。",
"info_ally_panel": "同盟情報パネル",
"info_ally_desc": "同盟後に使える新しいアイコン:",
"ally_betray": "味方を裏切り、同盟を終わらせる。あなたの名前の横には永久にアイコンが貼り付けられます。ボットはあなたと同盟を結ぶ可能性が低くなり、プレイヤーは同盟を結ぶ前によく考えるようになります。",
"ally_donate": "自分の部隊の一部を味方に寄付すること。兵力が不足して攻撃を受けているときや、敵を粉砕するために余力が必要なときに使う。",
"build_menu_title": "建設メニュー",
"build_name": "名前",
"build_icon": "アイコン",
"build_desc": "説明",
"build_city": "都市",
"build_city_desc": "最大人口を増加します。領土を拡張できない時や人口上限に近い時に有効です。",
"build_defense": "防衛ポスト",
"build_defense_desc": "国境の防御力を上げます。敵の攻撃が遅くなり、敵の被害が増加します。",
"build_port": "港",
"build_port_desc": "自国と他国の港の間で自動的に貿易船を送ります(相手か自分が貿易停止していない場合)。両者にゴールドをもたらします。バトルシップの建造も可能。水辺にのみ建設可能です。",
"build_warship": "戦艦",
"build_warship_desc": "周囲を巡回し、貿易船を拿捕したり、敵の戦艦やボートを破壊します。最寄りの港から出撃し、建設時に指定した場所を巡回します。",
"build_silo": "ミサイル格納庫",
"build_silo_desc": "ミサイルの発射を可能にします。",
"build_sam": "SAMランチャー",
"build_sam_desc": "100ピクセル範囲内の敵ミサイルを75%の確率で迎撃します。7.5秒のクールダウンがあり、<b>MIRVには対応していません。</b>",
"build_atom": "原子爆弾",
"build_atom_desc": "小型の爆弾で、領土・建物・船舶・ボートを破壊します。最寄りのミサイル格納庫から発射され、最初にクリックした場所に着弾します。",
"build_hydrogen": "水素爆弾",
"build_hydrogen_desc": "大型の爆弾。最寄りのミサイル格納庫から発射され、クリックした場所に着弾します。",
"build_mirv": "MIRV",
"build_mirv_desc": "ゲーム中最強の爆弾。複数の小型爆弾に分裂し、広範囲を攻撃します。最初に指定したプレイヤーのみを攻撃し、最寄りのミサイル格納庫から発射されます。",
"player_icons": "プレイヤーアイコン",
"icon_desc": "ゲーム内アイコンとその意味:",
"icon_crown": "王冠 - リーダーボード1位のプレイヤー",
"icon_traitor": "交差した剣 - 裏切り者(同盟を攻撃)",
"icon_ally": "握手 - 味方(同盟関係)"
},
"single_modal": {
"title": "シングルプレイヤー",
"map": "マップ",
"difficulty": "難易度",
"allow_alliances": "同盟を許可",
"options_title": "オプション",
"bots": "ボット数: ",
"bots_disabled": "無効",
"disable_nations": "国家を無効化",
"instant_build": "即時建設",
"infinite_gold": "資金無限",
"infinite_troops": "兵士無限",
"disable_nukes": "核兵器使用禁止",
"start": "ゲーム開始"
},
"map": {
"map": "マップ",
"world": "世界",
"europe": "ヨーロッパ",
"mena": "中東・北アフリカ",
"northamerica": "北アメリカ",
"oceania": "オセアニア",
"blacksea": "黒海",
"africa": "アフリカ",
"asia": "アジア",
"mars": "火星",
"southamerica": "南アメリカ",
"britannia": "ブリタニア",
"gatewaytotheatlantic": "西ヨーロッパ",
"australia": "オーストラリア",
"iceland": "アイスランド",
"japan": "日本とその近隣",
"pangaea": "パンゲア",
"random": "ランダム"
},
"private_lobby": {
"title": "プライベートゲームに参加",
"enter_id": "ロビーIDを入力",
"player": "人のプレイヤー",
"players": "人のプレイヤー",
"join_lobby": "ロビーに参加",
"checking": "ロビーを確認中...",
"not_found": "ロビーが見つかりません。IDを確認してもう一度お試しください。",
"error": "エラーが発生しました。もう一度お試しください。",
"joined_waiting": "参加に成功しました!ゲーム開始をお待ちください..."
},
"public_lobby": {
"join": "次のゲームに参加",
"waiting": "人が参加しています..."
},
"username": {
"enter_username": "ユーザー名を入力",
"not_string": "ユーザー名は文字列で入力してください。",
"too_short": "ユーザー名は{min}文字より長い必要があります。",
"too_long": "ユーザー名は{max}文字より短い必要があります。",
"invalid_chars": "ユーザー名には英字、数字、スペース、アンダースコア、および [角括弧] のみ使用できます。"
},
"host_modal": {
"title": "プライベートロビー",
"mode": "モード",
"allow_alliances": "同盟を許可",
"options_title": "オプション",
"bots": "ボット数: ",
"bots_disabled": "無効",
"disable_nations": "実在する国家を無効化",
"instant_build": "即時建設",
"infinite_gold": "資金無限",
"infinite_troops": "兵士無限",
"disable_nukes": "核兵器使用禁止",
"player": "プレイヤー",
"players": "プレイヤー",
"waiting": "他のプレイヤーの参加を待っています...",
"start": "ゲーム開始"
},
"game_starting_modal": {
"title": "ゲーム開始中...",
"desc": "スタートのためにロビー準備中... ちょっとまってね!"
},
"difficulty": {
"difficulty": "難易度",
"Relaxed": "簡単",
"Balanced": "普通",
"Intense": "難しい",
"Impossible": "不可能"
},
"game_mode": {
"ffa": "バトルロワイヤル",
"teams": "チーム戦"
}
}