feat: confirm before leaving a game, and fix untranslated strings
Exit confirmation - A dialog in the app's own style now guards every in-game screen. The safe action is the prominent one, so a stray tap keeps you in the game. - Eleven screens covered, against both the system back gesture and the close buttons. The message adapts: a single-device game is lost, a host ends it for everyone, a client can rejoin. - The two screens the host also opens from the manager take a flag so that back there just closes them instead of offering to quit. Translations - 21 keys were still holding the English text in Arabic, Basque, Hindi, Japanese, Korean, Dutch, Polish, Russian, Turkish and both Chinese variants: 231 strings, covering the whole multi-device flow, permissions and the mode picker. Nothing failed, the app just showed English. - The permissions dialog was hardcoded in Spanish; it is localized now. - Portuguese used Spanish gerunds where pt-PT takes "a + infinitive". Checked what looked untranslated but is not: Animals and Notes are correct Catalan, Configuration and Vibration correct French, Version correct German. Those are whitelisted in the new test rather than silently rewritten. l10n_cobertura_test guards all of it: no missing or orphan keys, no empty values, no English left outside the whitelist, and placeholders preserved.
This commit is contained in:
+36
-22
@@ -246,28 +246,28 @@
|
||||
"release": "해제",
|
||||
"select": "선택",
|
||||
"delete": "삭제",
|
||||
"selectAtLeastThreeUsersToStart": "Select at least 3 users to start.",
|
||||
"hostPhoneMustSelectUser": "The host phone must select at least one user.",
|
||||
"roomNoLongerInLobby": "The room is no longer in the lobby.",
|
||||
"completeUserSelectionToStart": "Complete user selection to start.",
|
||||
"preparingSecureRoom": "Preparing the secure room",
|
||||
"searchingNearbyBluetoothGames": "Searching nearby games over Bluetooth",
|
||||
"tapToJoin": "Tap to join",
|
||||
"bluetoothLocationPermissionsRequired": "Bluetooth and location permissions are required to search for games.",
|
||||
"bluetoothLocationPermissionsShort": "Bluetooth and location permissions are required",
|
||||
"couldNotStartSearch": "Could not start the search. Check Bluetooth and location.",
|
||||
"couldNotConnectToHost": "Could not connect to {host}",
|
||||
"selectAtLeastThreeUsersToStart": "시작하려면 사용자를 3명 이상 선택하세요.",
|
||||
"hostPhoneMustSelectUser": "호스트 기기는 사용자를 최소 한 명 선택해야 합니다.",
|
||||
"roomNoLongerInLobby": "방이 더 이상 대기실에 없습니다.",
|
||||
"completeUserSelectionToStart": "시작하려면 사용자 선택을 마치세요.",
|
||||
"preparingSecureRoom": "보안 방을 준비하는 중",
|
||||
"searchingNearbyBluetoothGames": "블루투스로 근처 게임을 찾는 중",
|
||||
"tapToJoin": "눌러서 참여하기",
|
||||
"bluetoothLocationPermissionsRequired": "게임을 찾으려면 블루투스와 위치 권한이 필요합니다.",
|
||||
"bluetoothLocationPermissionsShort": "블루투스와 위치 권한이 필요합니다",
|
||||
"couldNotStartSearch": "검색을 시작할 수 없습니다. 블루투스와 위치를 확인하세요.",
|
||||
"couldNotConnectToHost": "{host}에 연결할 수 없습니다",
|
||||
"room": "방",
|
||||
"singleDeviceSubtitle": "Game on this device",
|
||||
"singleDeviceDescription": "Ideal for playing together by passing the phone around. Fast, direct setup.",
|
||||
"multiDeviceSubtitle": "Each player on their phone",
|
||||
"multiDeviceDescription": "Create a premium room, share the QR code and manage users from the lobby.",
|
||||
"singleDeviceGameLabel": "Game on this device",
|
||||
"multiDeviceGameLabel": "Multi-device game",
|
||||
"mainDeviceUser": "Main device user",
|
||||
"couldNotCreateRoom": "Could not create the room. Check Bluetooth.",
|
||||
"cannotStartWithReason": "Cannot start: {reason}",
|
||||
"invalidRoom": "invalid room",
|
||||
"singleDeviceSubtitle": "이 기기에서 진행",
|
||||
"singleDeviceDescription": "휴대전화를 돌려 가며 함께 놀기에 좋습니다. 설정이 빠르고 간단합니다.",
|
||||
"multiDeviceSubtitle": "각자 자기 휴대전화로",
|
||||
"multiDeviceDescription": "프리미엄 방을 만들고 QR 코드를 공유하며 대기실에서 사용자를 관리하세요.",
|
||||
"singleDeviceGameLabel": "이 기기에서 하는 게임",
|
||||
"multiDeviceGameLabel": "여러 기기로 하는 게임",
|
||||
"mainDeviceUser": "이 기기의 주 사용자",
|
||||
"couldNotCreateRoom": "방을 만들 수 없습니다. 블루투스를 확인하세요.",
|
||||
"cannotStartWithReason": "시작할 수 없습니다: {reason}",
|
||||
"invalidRoom": "잘못된 방",
|
||||
"defaultPlayerName": "플레이어",
|
||||
"play": "플레이",
|
||||
"history": "기록",
|
||||
@@ -368,5 +368,19 @@
|
||||
"reconnecting": "다시 연결하는 중...",
|
||||
"reconnectingHint": "호스트와의 연결이 끊겼습니다. 게임 내 자리는 유지됩니다.",
|
||||
"leaveGame": "게임 나가기",
|
||||
"playerRejoined": "{name} 님이 게임에 복귀했습니다"
|
||||
"playerRejoined": "{name} 님이 게임에 복귀했습니다",
|
||||
"leaveGameTitle": "게임에서 나갈까요?",
|
||||
"leaveGameSingleDevice": "진행 중인 게임이 사라지며 되돌릴 수 없습니다.",
|
||||
"leaveGameHost": "당신은 호스트입니다. 나가면 모두의 게임이 끝납니다.",
|
||||
"leaveGameClient": "게임에서 나갑니다. 호스트가 열어 두는 동안에는 다시 들어올 수 있습니다.",
|
||||
"stayInGame": "계속 하기",
|
||||
"permissionsNeededTitle": "필요한 권한",
|
||||
"permissionsNeededBody": "멀티플레이 모드에는 다음 권한이 필요합니다:",
|
||||
"openAppSettingsQuestion": "앱 설정을 열까요?",
|
||||
"openSettings": "설정 열기",
|
||||
"permissionLocation": "위치",
|
||||
"permissionBluetoothAdvertise": "블루투스(광고)",
|
||||
"permissionBluetoothConnect": "블루투스(연결)",
|
||||
"permissionBluetoothScan": "블루투스(검색)",
|
||||
"permissionNearbyWifi": "근처 Wi-Fi"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user