Fixed lang

git-svn-id: svn://kolibrios.org@7340 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pavelyakov 2018-09-10 14:10:48 +00:00
parent ed0688ba58
commit 71685aed9e
2 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,8 @@ if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR") HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_msvc.lua") tup.include(HELPERDIR .. "/use_msvc.lua")
if tup.getconfig("LANG") == "ru" if tup.getconfig("LANG") == "ru"
then CFLAGS = CFLAGS .. " /DLANG=RUS" then CFLAGS = CFLAGS .. "-DLANG_RUS"
else CFLAGS = CFLAGS .. " /DLANG=ENG" else CFLAGS = CFLAGS .. "-DLANG_ENG"
end end
compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"} compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"}
link_msvc("kosilka") link_msvc("kosilka")

View File

@ -28,9 +28,7 @@ int read_result=0;
bool skin_available=false; bool skin_available=false;
bool w_redraw=true; bool w_redraw=true;
#define LANG ENG #ifdef LANG_RUS
#if LANG == RUS
const char windowTitle[] = "Š®á¨«ª  ¤«ï Š®«¨¡à¨"; const char windowTitle[] = "Š®á¨«ª  ¤«ï Š®«¨¡à¨";
const char version[] = "‚¥àá¨ï 1.16"; const char version[] = "‚¥àá¨ï 1.16";
const char win[] = "‚ë ¢ë¨£à «¨!"; const char win[] = "‚ë ¢ë¨£à «¨!";