feat: add a separate setting for selecting 'text language' when ALL_LANGS is set (#6960)

This commit is contained in:
philmoz
2026-01-08 12:34:22 +10:00
committed by GitHub
parent a3ccc87a88
commit 4f90a5e426
60 changed files with 352 additions and 95 deletions
+2 -2
View File
@@ -1760,8 +1760,8 @@ static int luaGetGeneralSettings(lua_State * L)
lua_pushtableinteger(L, "imperial", g_eeGeneral.imperial);
#if defined(ALL_LANGS)
char l[3];
l[0] = toupper(g_eeGeneral.ttsLanguage[0]);
l[1] = toupper(g_eeGeneral.ttsLanguage[1]);
l[0] = toupper(g_eeGeneral.uiLanguage[0]);
l[1] = toupper(g_eeGeneral.uiLanguage[1]);
l[2] = 0;
lua_pushtablestring(L, "language", l);
#else