trying to fix LANG 4

git-svn-id: svn://kolibrios.org@7341 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2018-09-10 14:15:32 +00:00
parent 71685aed9e
commit 1ccbb99db2
2 changed files with 9 additions and 3 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,7 +28,13 @@ int read_result=0;
bool skin_available=false;
bool w_redraw=true;
#ifdef LANG_RUS
#define RUS 1
#define ENG 2
#ifndef LANG
#define LANG RUS
#endif
#if LANG == RUS
const char windowTitle[] = "Š®á¨«ª  ¤«ï Š®«¨¡à¨";
const char version[] = "‚¥àá¨ï 1.16";
const char win[] = "‚ë ¢ë¨£à «¨!";