From 1d89570ba86b1f4c90883c42ebfe2a03a8b0b130 Mon Sep 17 00:00:00 2001 From: itaskaev2 <165683571+itaskaev2@users.noreply.github.com> Date: Fri, 6 Nov 2026 19:19:47 +0100 Subject: [PATCH] Translate the speaker setting into Brazilian Portuguese and Simplified Chinese 963901c added the Speakers row (stereo or 5.1) in English and Russian only, so --probe-services failed: menu text ids 189 to 193 lacked pt-BR and zh-Hans, and the menu showed them in English in those languages. Co-Authored-By: Claude Opus 5.5 --- runtime/ui_text.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/runtime/ui_text.c b/runtime/ui_text.c index f4e033c5..d9769360 100644 --- a/runtime/ui_text.c +++ b/runtime/ui_text.c @@ -1100,6 +1100,10 @@ static const char *const text_pt_br[UI_TEXT_COUNT] = { [UI_MENU_MODE_DOCKED] = "Modo TV", [UI_MENU_MODE_HANDHELD] = "Modo portátil", [UI_MENU_VOLUME] = "Volume", [UI_MENU_VOLUME_DESC] = "Volume geral do jogo.", + [UI_MENU_AUDIO_CHANNELS] = "Alto-falantes", + [UI_MENU_AUDIO_CHANNELS_DESC] = "Saída estéreo ou surround 5.1. Automático escolhe 5.1 quando a configuração de " + "alto-falantes do Windows tem seis canais ou mais. Vale após reiniciar.", + [UI_MENU_CHANNELS_AUTO] = "Automático", [UI_MENU_CHANNELS_STEREO] = "Estéreo", [UI_MENU_CHANNELS_51] = "Surround 5.1", [UI_MENU_MOTION] = "Controles de movimento", [UI_MENU_MOTION_DESC] = "Mirar com o giroscópio do controle.", [UI_MENU_RUMBLE_STRENGTH] = "Intensidade da vibração", @@ -1647,6 +1651,9 @@ static const char *const text_zh_hans[UI_TEXT_COUNT] = { "这样被打断的读取可能会永久卡住。", [UI_MENU_VOLUME] = "音量", [UI_MENU_VOLUME_DESC] = "游戏的主音量。", + [UI_MENU_AUDIO_CHANNELS] = "扬声器", + [UI_MENU_AUDIO_CHANNELS_DESC] = "立体声或 5.1 环绕声输出。选择自动时,若 Windows 扬声器设置有六个或更多声道则使用 5.1。重启后生效。", + [UI_MENU_CHANNELS_AUTO] = "自动", [UI_MENU_CHANNELS_STEREO] = "立体声", [UI_MENU_CHANNELS_51] = "5.1 环绕声", [UI_MENU_MOTION] = "体感操作", [UI_MENU_MOTION_DESC] = "用手柄的陀螺仪瞄准。", [UI_MENU_RUMBLE_STRENGTH] = "振动强度",