forked from KolibriOS/kolibrios
trying to fix LANG 4
git-svn-id: svn://kolibrios.org@7341 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
71685aed9e
commit
1ccbb99db2
@ -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")
|
||||||
|
@ -28,7 +28,13 @@ int read_result=0;
|
|||||||
bool skin_available=false;
|
bool skin_available=false;
|
||||||
bool w_redraw=true;
|
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 windowTitle[] = "Š®á¨«ª ¤«ï Š®«¨¡à¨";
|
||||||
const char version[] = "‚¥àá¨ï 1.16";
|
const char version[] = "‚¥àá¨ï 1.16";
|
||||||
const char win[] = "‚ë ¢ë¨£à «¨!";
|
const char win[] = "‚ë ¢ë¨£à «¨!";
|
||||||
|
Loading…
Reference in New Issue
Block a user