Translate all out-of-game UI (start screen, lobbies, etc.) (#316)

This PR adds full translation support for all out-of-game UI elements,
including the start screen, public/private lobby modals, and other
pre-game interfaces.

All static text has been externalized to en.json and ja.json for future
language support.
If you find any spots that are not yet translated (missing from the
JSON), please let me know.
Thanks a lot!

This is a follow-up to PR
[#305](https://github.com/openfrontio/OpenFrontIO/pull/305).

---------

Co-authored-by: Cldprv <dubois.cnm@tutanota.com>
Co-authored-by: jacks0n <rosty.west89@gmail.com>
This commit is contained in:
Aotumuri
2025-03-24 17:12:04 -07:00
committed by GitHub
co-authored by Cldprv jacks0n
parent f188af6029
commit 9088adeb7a
14 changed files with 845 additions and 215 deletions
+78
View File
@@ -77,5 +77,83 @@
"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": {
"world": "世界",
"europe": "ヨーロッパ",
"mena": "中東・北アフリカ",
"northamerica": "北アメリカ",
"oceania": "オセアニア",
"blacksea": "黒海",
"africa": "アフリカ",
"asia": "アジア",
"mars": "火星",
"southamerica": "南アメリカ",
"britannia": "ブリタニア",
"gatewaytotheatlantic": "西ヨーロッパ",
"australia": "オーストラリア",
"iceland": "アイスランド",
"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": "プライベートロビー",
"map": "マップ",
"difficulty": "難易度",
"allow_alliances": "同盟を許可",
"options_title": "オプション",
"bots": "ボット数: ",
"bots_disabled": "無効",
"disable_nations": "実在する国家を無効化",
"instant_build": "即時建設",
"infinite_gold": "資金無限",
"infinite_troops": "兵士無限",
"disable_nukes": "核兵器使用禁止",
"player": "プレイヤー",
"players": "プレイヤー",
"waiting": "他のプレイヤーの参加を待っています...",
"start": "ゲーム開始"
},
"difficulty": {
"Relaxed": "簡単",
"Balanced": "普通",
"Intense": "難しい",
"Impossible": "不可能"
}
}