From c0607ba4f50075234ac32a58ff0b3910c472a6fd Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Fri, 31 May 2024 23:21:26 +0000 Subject: [PATCH] [taskbar] Fix language codes e.g. "et_EE" git-svn-id: svn://kolibrios.org@10071 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/taskbar/trunk/Tupfile.lua | 2 +- programs/system/taskbar/trunk/i_data.inc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/system/taskbar/trunk/Tupfile.lua b/programs/system/taskbar/trunk/Tupfile.lua index 156f820e01..3eaede86cc 100644 --- a/programs/system/taskbar/trunk/Tupfile.lua +++ b/programs/system/taskbar/trunk/Tupfile.lua @@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig(" tup.include(HELPERDIR .. "/use_fasm.lua") add_include(tup.getvariantdir()) -tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) +tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) tup.rule({"TASKBAR.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "TASKBAR") diff --git a/programs/system/taskbar/trunk/i_data.inc b/programs/system/taskbar/trunk/i_data.inc index 20d37b3368..2699b5c400 100644 --- a/programs/system/taskbar/trunk/i_data.inc +++ b/programs/system/taskbar/trunk/i_data.inc @@ -40,10 +40,10 @@ flagTextSm db 'EnFiDeRuFrEtUaItBe' flagTextBg db 'ENFIDERUFRETUAITBE' lsz m_text,\ - ru, "Œ¥­î",\ - en, "Menu",\ - et, "MENÜÜ",\ - sp, "Menu" + ru_RU, "Œ¥­î",\ + en_US, "Menu",\ + et_EE, "MENÜÜ",\ + es_ES, "Menu" bootparam_printscreen db 'DIRECT',0 type_lang db 0