Most of language code fixes

This commit is contained in:
Ivan Baravy 2024-06-03 00:34:02 +01:00
parent 66816d7a7e
commit 412e42a342
574 changed files with 1116 additions and 1118 deletions

View File

@ -1 +1 @@
lang fix ca
lang fix ca_ES

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language ca
language ca_ES
;just comment
; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix en
lang fix en_US

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language EN
language en_US
;just comment
; Hi, curious person! :-)
; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix sp
lang fix es_ES

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language SP
language es_ES
;just comment
; Hi, curious person! :-)
; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix et
lang fix et_EE

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language ET
language et_EE
;just comment
; Hi, curious person! :-)
; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix it
lang fix it_IT

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language IT
language it_IT
;just comment
; Hi, curious person! :-)
; Hi, curious person! :-)

View File

@ -1 +1 @@
lang fix ru
lang fix ru_RU

View File

@ -1,7 +1,7 @@
KolibriOS
version 0770
svnr 4483
language RU
language ru_RU
;just comment
; Hi, curious person! :-)
; Hi, curious person! :-)

View File

@ -37,7 +37,7 @@ goto :eof
:MAIN
set languages=en ru ge et
set languages=en_US ru_RU de_DE et_EE
set __CPU_type=p5 p6 k6
set BIN=bin

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DCUBE2.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DCUBE2")

View File

@ -1,4 +1,4 @@
lang equ ru
lang equ ru_RU
;
; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru ; ru en fr ge fi
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI
;
; Assembler

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm 3dcube2.asm 3dcube2
@erase lang.inc
@kpack 3dcube2
@pause
@pause

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm 3dcube2.asm 3dcube2
@erase lang.inc
@kpack 3dcube2
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DETX60B.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DETX60B")

View File

@ -1,4 +1,4 @@
lang equ ru
lang equ ru_RU
;
; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru ; ru en fr ge fi
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI
;
; Assembler

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm 3detx60b.asm 3detx60b
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm 3detx60b.asm 3detx60b
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"3DTCUB10.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "3DTCUB10")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm 3dtcub10.asm 3dtcub10
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm 3dtcub10.asm 3dtcub10
@erase lang.inc
@pause
@pause

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm ScreenRuler.asm ScreenRuler
@kpack ScreenRuler
@erase lang.inc
@pause
@pause

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm ScreenRuler.asm ScreenRuler
@kpack ScreenRuler
@erase lang.inc
@pause
@pause

View File

@ -240,7 +240,7 @@ draw_magnify:
ret
;------------------------- Data area
if lang eq ru
if lang eq ru_RU
labelt:
db 3, 'Измеритель', 0
start_pix:
@ -291,4 +291,4 @@ I_END:
;---------------------------------------------------------------------
procinfo:
rb 1024
;---------------------------------------------------------------------
;---------------------------------------------------------------------

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"ScreenRuler.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ScreenRuler")

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"bcdclk.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "bcdclk")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm bcdclk.asm bcdclk
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm bcdclk.asm bcdclk
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"colorref.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "colorref")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm colorref.asm colorref
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm colorref.asm colorref
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"crownscr.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "crownscr")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm crownscr.asm crownscr
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm crownscr.asm crownscr
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"cslide.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cslide")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm cslide.asm cslide
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm cslide.asm cslide
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"eyes.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "eyes")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm eyes.asm eyes
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm eyes.asm eyes
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"free3d04.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "free3d04")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm free3d04.asm free3d04
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm free3d04.asm free3d04
@erase lang.inc
@pause
@pause

View File

@ -1,4 +1,4 @@
lang equ ru ; ru en fr ge fi
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI
;
; Assembler

View File

@ -1,4 +1,4 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm life.asm life
@pause
@pause

View File

@ -1,4 +1,4 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm life.asm life
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"magnify.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "magnify")

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm magnify.asm magnify
@kpack magnify
@erase lang.inc
@pause
@pause

View File

@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm magnify.asm magnify
@kpack magnify
@erase lang.inc
@pause
@pause

View File

@ -134,7 +134,7 @@ draw_magnify:
;---------------------------------------------------------------------
; DATA AREA
;---------------------------------------------------------------------
if lang eq ru
if lang eq ru_RU
labelt:
db 'Magnifier - ťŞŕ ­­ ď «ăŻ ', 0
else
@ -153,4 +153,4 @@ size_y dd ?
;---------------------------------------------------------------------
procinfo:
rb 1024
;---------------------------------------------------------------------
;---------------------------------------------------------------------

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"movback.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "movback")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm movback.asm movback
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm movback.asm movback
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"plasma.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "plasma")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm plasma.asm plasma
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm plasma.asm plasma
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"ray.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ray")

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"timer.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "timer")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm timer.asm timer
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm timer.asm timer
@erase lang.inc
@pause
@pause

View File

@ -137,7 +137,7 @@ draw_window:
; DATA AREA
if lang eq ru
if lang eq ru_RU
title db '€‰Ś…<C59A>',0
else
title db 'TIMER',0

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"tinyfrac.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "tinyfrac")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm tinyfrac.asm tinyfrac
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm tinyfrac.asm tinyfrac
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"transp.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "transp")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm transp.asm transp
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm transp.asm transp
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"trantest.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "trantest")

View File

@ -1,4 +1,4 @@
lang equ ru
lang equ ru_RU
;
; Assembler

View File

@ -1,4 +1,4 @@
lang equ ru ; ru en fr ge fi
lang equ ru_RU ; ru_RU en_US fr_FR de_DE fi_FI
;
; Assembler

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm trantest.asm trantest
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm trantest.asm trantest
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm tube.asm tube
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm tube.asm tube
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"use_mb.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "use_mb")

View File

@ -168,7 +168,7 @@ but_5:
stdcall [mb_reinit],msgbox_5_2
jmp still
if lang eq ru
if lang eq ru_RU
txt1 db '¯à®á⮥',0
txt2 db '3 ª­®¯ª¨',0
txt3 db '3 áâப¨',0
@ -190,7 +190,7 @@ end if
msgbox_1:
dw 0
db 'MBox',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
if lang eq ru_RU
db '<27>ਬ¥à',0
db '‚¨¦ã',0 ;button1
else
@ -201,7 +201,7 @@ end if
msgbox_2:
dw 0
db 'MBox 3 buttons',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
if lang eq ru_RU
db '<27>ਬ¥à á 3-¬ï ª­®¯ª ¬¨',0
db '„ ',0 ;button1
db 'Žâ¬¥­ ',0 ;button2
@ -219,7 +219,7 @@ msgbox_2_funct:
msgbox_3:
dw 0
db 'MBox 3 lines',0 ;+2 = +MB_TEXT_OFFSET
if lang eq ru
if lang eq ru_RU
db '‘âப  1',13,'‘âப  2',13,'‘âப  3',0
db '2020 £.',0 ;button1
else
@ -229,7 +229,7 @@ end if
db 0
msgbox_4:
dw 0
if lang eq ru
if lang eq ru_RU
db '‚¢¥¤¨â¥ ¤¥­ì',0 ;+2 = +MB_TEXT_OFFSET
else
db 'Select day',0 ;+2 = +MB_TEXT_OFFSET
@ -253,7 +253,7 @@ end if
db ' @......@....@..@....@.....@@..@',13
db ' @......@....@..@....@.........@',13
db ' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@',0
if lang eq ru
if lang eq ru_RU
db '<27>­',0,'‚â',0,'‘à',0,'—â',0,'<27>â',0,'‘¡',0,'‚®áªà¥á¥­¨¥',0
else
db 'Sun',0,'Mon',0,'Tue',0,'Wed',0,'Thu',0,'Fri',0,'Sat',0
@ -261,7 +261,7 @@ end if
db 0
msgbox_5:
dw 0
if lang eq ru
if lang eq ru_RU
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚믮«­ïî ¯à®æ¥áá ...',0
db 'Žáâ ­®¢¨âì',0
@ -275,7 +275,7 @@ end if
db 0
msgbox_5_2:
dw 0
if lang eq ru
if lang eq ru_RU
db '‘®®¡é¥­¨¥',0 ;+2 = +MB_TEXT_OFFSET
db '‚ᥠ§ ª®­ç¥­®',0
db '‡ ªàëâì ®ª­®',0
@ -326,7 +326,7 @@ fun_show_help:
call draw_square
ret
sh_help db 0
if lang eq ru
if lang eq ru_RU
txt_help db '<27>®¬®éì...'
else
txt_help db 'Help...'

View File

@ -100,7 +100,7 @@ MEMS: dd EM ; memory for app
dd params
dd cur_dir_path
lang fix ru
lang fix ru_RU
include 'macros.inc'
include 'proc32.inc'

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"cObj.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cObj")

View File

@ -1,5 +1,5 @@
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm cObj.asm cObj
@kpack cObj
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm cObj.asm cObj
@kpack cObj
@erase lang.inc
@pause
@pause

View File

@ -1,7 +1,7 @@
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm.exe -m 16384 clip_put.asm clip_put
@fasm.exe -m 16384 clip_get.asm clip_get
@erase lang.inc
@kpack clip_put
@kpack clip_get
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../.." or tup.getconfi
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"cpuspeed.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cpuspeed")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm cpuspeed.asm cpuspeed
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm cpuspeed.asm cpuspeed
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm example.asm example
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm example.asm example
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../.." or tup.getconfi
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"example2.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "example2")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm example2.asm example2
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm example2.asm example2
@erase lang.inc
@pause
@pause

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../.." or tup.getconfi
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"example3.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "example3")

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm example3.asm example3
@erase lang.inc
@pause
@pause

View File

@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@fasm example3.asm example3
@erase lang.inc
@pause
@pause

View File

@ -196,7 +196,7 @@ draw_data:
x_size: dd 381 ; window x size
y_size: dd 200 ; window y size
if lang eq ru
if lang eq ru_RU
window_text db 'Źŕ¨¬Ąŕ ¬Ą­î',0
button_no db 'Š­®ŻŞ  N:'
else
@ -210,7 +210,7 @@ main_menu_Edit dd 0
main_menu_Test dd 0
main_menu_Help dd 0
if lang eq ru
if lang eq ru_RU
sz_File db '” ©«',0
sz_Load db 'ŽâŞŕëâě',0

View File

@ -3,5 +3,5 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../.." or tup.getconfi
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"hello.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "hello")