From e23778f30647cbf07aee1d00f68813e593927c3a Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Sun, 2 Jun 2024 03:56:38 +0100 Subject: [PATCH] Fix language tags for cmm programs ru -> ru_RU --- programs/cmm/app_plus/Tupfile.lua | 2 +- programs/cmm/appearance/Tupfile.lua | 2 +- programs/cmm/barscfg/Tupfile.lua | 2 +- programs/cmm/browser/Tupfile.lua | 2 +- programs/cmm/clipview/Tupfile.lua | 2 +- programs/cmm/dicty/Tupfile.lua | 2 +- programs/cmm/diff/Tupfile.lua | 2 +- programs/cmm/downloader/Tupfile.lua | 2 +- programs/cmm/drvinst/Tupfile.lua | 2 +- programs/cmm/eolite/Tupfile.lua | 2 +- programs/cmm/examples/Tupfile.lua | 2 +- programs/cmm/iconedit/Tupfile.lua | 2 +- programs/cmm/imgedit/Tupfile.lua | 2 +- programs/cmm/kf_font_viewer/Tupfile.lua | 2 +- programs/cmm/menu/Tupfile.lua | 2 +- programs/cmm/misc/Tupfile.lua | 2 +- programs/cmm/mousecfg/Tupfile.lua | 2 +- programs/cmm/notes/Tupfile.lua | 2 +- programs/cmm/pixie2/Tupfile.lua | 2 +- programs/cmm/quark/Tupfile.lua | 2 +- programs/cmm/search/Tupfile.lua | 2 +- programs/cmm/sysmon/Tupfile.lua | 2 +- programs/cmm/taskbar2/Tupfile.lua | 2 +- programs/cmm/the_bus/Tupfile.lua | 2 +- programs/cmm/tmpdisk/Tupfile.lua | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/programs/cmm/app_plus/Tupfile.lua b/programs/cmm/app_plus/Tupfile.lua index 99d60344c..1598750e8 100644 --- a/programs/cmm/app_plus/Tupfile.lua +++ b/programs/cmm/app_plus/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/appearance/Tupfile.lua b/programs/cmm/appearance/Tupfile.lua index 4c03d23b0..a7aabf1d5 100644 --- a/programs/cmm/appearance/Tupfile.lua +++ b/programs/cmm/appearance/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/barscfg/Tupfile.lua b/programs/cmm/barscfg/Tupfile.lua index 6cb57b5eb..142b9c743 100644 --- a/programs/cmm/barscfg/Tupfile.lua +++ b/programs/cmm/barscfg/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/browser/Tupfile.lua b/programs/cmm/browser/Tupfile.lua index 8efaba722..c7499f9ee 100644 --- a/programs/cmm/browser/Tupfile.lua +++ b/programs/cmm/browser/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/clipview/Tupfile.lua b/programs/cmm/clipview/Tupfile.lua index e51f7875c..29b8d1817 100644 --- a/programs/cmm/clipview/Tupfile.lua +++ b/programs/cmm/clipview/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/dicty/Tupfile.lua b/programs/cmm/dicty/Tupfile.lua index 519f94c84..f1bb4f44e 100644 --- a/programs/cmm/dicty/Tupfile.lua +++ b/programs/cmm/dicty/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/diff/Tupfile.lua b/programs/cmm/diff/Tupfile.lua index 126690e34..ce22aefdc 100644 --- a/programs/cmm/diff/Tupfile.lua +++ b/programs/cmm/diff/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/downloader/Tupfile.lua b/programs/cmm/downloader/Tupfile.lua index 0dc9e053d..7cf6ca39b 100644 --- a/programs/cmm/downloader/Tupfile.lua +++ b/programs/cmm/downloader/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/drvinst/Tupfile.lua b/programs/cmm/drvinst/Tupfile.lua index 3dafa2402..2a91ccbce 100644 --- a/programs/cmm/drvinst/Tupfile.lua +++ b/programs/cmm/drvinst/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/eolite/Tupfile.lua b/programs/cmm/eolite/Tupfile.lua index c186c6753..ddf70ee34 100644 --- a/programs/cmm/eolite/Tupfile.lua +++ b/programs/cmm/eolite/Tupfile.lua @@ -3,7 +3,7 @@ if tup.getconfig("NO_TCC") ~= "" then return end HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") tup.include(HELPERDIR .. "/use_tcc.lua") -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/examples/Tupfile.lua b/programs/cmm/examples/Tupfile.lua index 64e298382..9b192a91f 100644 --- a/programs/cmm/examples/Tupfile.lua +++ b/programs/cmm/examples/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/iconedit/Tupfile.lua b/programs/cmm/iconedit/Tupfile.lua index f9c8d8d00..04adfc637 100644 --- a/programs/cmm/iconedit/Tupfile.lua +++ b/programs/cmm/iconedit/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/imgedit/Tupfile.lua b/programs/cmm/imgedit/Tupfile.lua index cdb4e4d3d..4f1cb07f5 100644 --- a/programs/cmm/imgedit/Tupfile.lua +++ b/programs/cmm/imgedit/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/kf_font_viewer/Tupfile.lua b/programs/cmm/kf_font_viewer/Tupfile.lua index 3ef278074..c502e2ec9 100644 --- a/programs/cmm/kf_font_viewer/Tupfile.lua +++ b/programs/cmm/kf_font_viewer/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/menu/Tupfile.lua b/programs/cmm/menu/Tupfile.lua index 3a7ef8586..78ca3bbc9 100644 --- a/programs/cmm/menu/Tupfile.lua +++ b/programs/cmm/menu/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/misc/Tupfile.lua b/programs/cmm/misc/Tupfile.lua index 665bc17f9..55d780c46 100644 --- a/programs/cmm/misc/Tupfile.lua +++ b/programs/cmm/misc/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/mousecfg/Tupfile.lua b/programs/cmm/mousecfg/Tupfile.lua index 1cc8cadbf..dfcfd2db1 100644 --- a/programs/cmm/mousecfg/Tupfile.lua +++ b/programs/cmm/mousecfg/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/notes/Tupfile.lua b/programs/cmm/notes/Tupfile.lua index 7f3f60fd4..a9d1423e5 100644 --- a/programs/cmm/notes/Tupfile.lua +++ b/programs/cmm/notes/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/pixie2/Tupfile.lua b/programs/cmm/pixie2/Tupfile.lua index 86fdc7bb3..8cc37bf30 100644 --- a/programs/cmm/pixie2/Tupfile.lua +++ b/programs/cmm/pixie2/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/quark/Tupfile.lua b/programs/cmm/quark/Tupfile.lua index 3e420412f..318fb57f0 100644 --- a/programs/cmm/quark/Tupfile.lua +++ b/programs/cmm/quark/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/search/Tupfile.lua b/programs/cmm/search/Tupfile.lua index 0fd292c31..74f56c426 100644 --- a/programs/cmm/search/Tupfile.lua +++ b/programs/cmm/search/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/sysmon/Tupfile.lua b/programs/cmm/sysmon/Tupfile.lua index 1f90427c9..baa9796c1 100644 --- a/programs/cmm/sysmon/Tupfile.lua +++ b/programs/cmm/sysmon/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/taskbar2/Tupfile.lua b/programs/cmm/taskbar2/Tupfile.lua index 5a8fc51ca..8827ddec1 100644 --- a/programs/cmm/taskbar2/Tupfile.lua +++ b/programs/cmm/taskbar2/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/the_bus/Tupfile.lua b/programs/cmm/the_bus/Tupfile.lua index 484503c8e..9e79c9ee0 100644 --- a/programs/cmm/the_bus/Tupfile.lua +++ b/programs/cmm/the_bus/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end diff --git a/programs/cmm/tmpdisk/Tupfile.lua b/programs/cmm/tmpdisk/Tupfile.lua index 0662698e6..e8f7abd5e 100644 --- a/programs/cmm/tmpdisk/Tupfile.lua +++ b/programs/cmm/tmpdisk/Tupfile.lua @@ -1,5 +1,5 @@ if tup.getconfig("NO_CMM") ~= "" then return end -if tup.getconfig("LANG") == "ru" +if tup.getconfig("LANG") == "ru_RU" then C_LANG = "LANG_RUS" else C_LANG = "LANG_ENG" -- this includes default case without config end