From b94bacd6d56f3a4e782929687144ce2e397b8f17 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 31 Oct 2026 09:58:15 +0800 Subject: [PATCH] Name zh-Hans in the MENU_LANG reference The runtime accepts it; the ini comment and its example line now say so instead of listing en and ru alone. Co-authored-by: deepseek-v4.1-flash-1017 --- runtime/cfg.c | 2 +- totk.ini.example | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/cfg.c b/runtime/cfg.c index d9c4cd61..6e37a42c 100644 --- a/runtime/cfg.c +++ b/runtime/cfg.c @@ -115,7 +115,7 @@ static const CfgMeta metas[] = { {"MOTION", "1", "0|1", LIVE}, {"RUMBLE_STRENGTH", "130", "0..300", LIVE}, {"RUMBLE_CURVE", "0.6", "0.2..1.5", LIVE}, {"RUMBLE_TRIGGERS", "0", "0|1", LIVE}, {"PAD_LAYOUT", "auto", "auto|nintendo|xbox|xbox_prompts", LIVE}, {"STICK_DEADZONE", "8", "0..50", LIVE}, {"MOUSE_SENS", "1", "0..10", LIVE}, - {"MENU_LANG", "", "en|ru", LIVE}, + {"MENU_LANG", "", "en|ru|zh-Hans", LIVE}, // Advanced: scheduling {"ASYNC_PREEMPT", "1", "0|1|2", RESTART}, {"REPLAY_ASYNC", "0", "0|1", RESTART}, {"FREE_CORES", "0", "0|1", RESTART}, {"TIMER_1MS", "1", "0|1", RESTART}, diff --git a/totk.ini.example b/totk.ini.example index 6d3d5f1e..9902c204 100644 --- a/totk.ini.example +++ b/totk.ini.example @@ -160,8 +160,8 @@ # lang = en-US # System mode reported to the game: docked or handheld. # operation_mode = docked -# Language of the settings menu and the overlay: en or ru. Default: the Windows display language, English if it is -# neither. +# Language of the settings menu and the overlay: en, ru or zh-Hans. Default: the Windows display language, English if +# it is none of them. # menu_lang = en [audio]