[taskbar] Fix language codes e.g. "et_EE"

git-svn-id: svn://kolibrios.org@10071 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2024-05-31 23:21:26 +00:00
parent f80a8960b0
commit c0607ba4f5
2 changed files with 5 additions and 5 deletions

View File

@ -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")

View File

@ -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