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")
tup.include(HELPERDIR .. "/use_msvc.lua")
if tup.getconfig("LANG") == "ru"
then CFLAGS = CFLAGS .. " /DLANG=RUS"
else CFLAGS = CFLAGS .. " /DLANG=ENG"
then CFLAGS = CFLAGS .. "-DLANG_RUS"
else CFLAGS = CFLAGS .. "-DLANG_ENG"
end
compile_msvc{"kosilka.cpp", "KosFile.cpp", "kosSyst.cpp", "mcsmemm.cpp"}
link_msvc("kosilka")

View File

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