Most of language code fixes

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

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 '<27><EFBFBD><E0A8AC> <20><><EFBFBD><EFBFBD>',0
button_no db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 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 '<27><><EFBFBD><EFBFBD>',0
sz_Load db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',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")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm hello.asm hello
@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 hello.asm hello
@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({"ipc.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ipc")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm ipc.asm ipc
@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 ipc.asm ipc
@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({"ir.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "ir")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm ir.asm ir
@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 ir.asm ir
@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({"rtdata.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "rtdata")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm rtdata.asm rtdata
@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 rtdata.asm rtdata
@erase lang.inc
@pause
@pause

View File

@@ -202,7 +202,7 @@ ret
; DATA AREA
if lang eq ru
if lang eq ru_RU
text mstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.",\
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>",\
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IRQ4 <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>."

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({"template.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "template")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm template.asm template
@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 template.asm template
@erase lang.inc
@pause
@pause

View File

@@ -76,9 +76,9 @@ CODE
; <--- initialised data --->
DATA
if lang eq ru
if lang eq ru_RU
title db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>',0
else if lang eq fr
else if lang eq fr_FR
title db 'La programme poncive',0
else
title db 'Template program',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({"thread.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "thread")

View File

@@ -1,4 +1,4 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm thread.asm thread
@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 thread.asm thread
@pause
@pause

View File

@@ -127,7 +127,7 @@ draw_window:
; DATA AREA
if lang eq ru
if lang eq ru_RU
text:
db '<27><><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC><><E1AEA7><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> '
db '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ࠧ. <20><><EFBFBD> <20><EFBFBD> '

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({"fasm.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "fasm")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm -m 16384 fasm.asm fasm
@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 -m 16384 fasm.asm fasm
@erase lang.inc
@pause
@pause

View File

@@ -1,7 +1,7 @@
include 'lang.inc'
if lang eq ru
if lang eq ru_RU
text db ' <20><EFBFBD><E594A0>:','<27><><EFBFBD><E594A0>:',' <20><><EFBFBD><EFBFBD>:'
.line_size = ($-text)/3

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm fasm.asm fasm
@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 fasm.asm fasm
@erase lang.inc
@kpack fasm
@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({"fasm.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "fasm")

View File

@@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm -m 16384 fasm.asm fasm
@erase lang.inc
@kpack fasm
@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 -m 16384 fasm.asm fasm
@erase lang.inc
@kpack fasm
@pause
@pause

View File

@@ -463,7 +463,7 @@ _sx = 6
;---------------------------------------------------------------------
; DATA
;---------------------------------------------------------------------
if lang eq ru
if lang eq ru_RU
text:
db ' <20><EFBFBD><E594A0>:'
.line_size = $-text

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({"h2d2b.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "h2d2b")

View File

@@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm h2d2b.asm h2d2b
@kpack h2d2b
@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 h2d2b.asm h2d2b
@kpack h2d2b
@erase lang.inc
@pause
@pause

View File

@@ -272,7 +272,7 @@ string1_end:
sdecstr db 'signed dec:',0
shl_sal_sar_shr_button_caption db 'shl sal sar shr',0
if lang eq ru
if lang eq ru_RU
numstr db '<27><>᫮:',0
Okstr db '<27><><EFBFBD><EFBFBD>',0
else

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({"heed.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "heed")

View File

@@ -2,8 +2,8 @@
# This script does for linux the same as build.bat for DOS,
# it compiles the KoOS kernel, hopefully ;-)
echo "lang fix en"
echo "lang fix en" > lang.inc
echo "lang fix en_US"
echo "lang fix en_US" > lang.inc
mkdir bin
fasm -m 16384 heed.asm ./bin/heed
kpack ./bin/heed

View File

@@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm heed.asm heed
@kpack heed
@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 heed.asm heed
@kpack heed
@erase lang.inc
@pause
@pause

View File

@@ -2963,7 +2963,7 @@ menu_data_1:
.mouse_pos dd 0 ;+24
.mouse_keys dd 0 ;+28
.x1:
if lang eq ru
if lang eq ru_RU
.size_x1 dw 4*2+9*6 ;+32
else
.size_x1 dw 40 ;+32
@@ -2994,7 +2994,7 @@ end if
.get_mouse_flag dd 0 ;+116
menu_text_area:
if lang eq ru
if lang eq ru_RU
db '<27><><EFBFBD><EFBFBD>',0
.1:
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
@@ -3053,7 +3053,7 @@ menu_data_2:
.get_mouse_flag dd 0 ;+116
menu_text_area_2:
if lang eq ru
if lang eq ru_RU
db '<27><><EFBFBD>',0
.1:
else
@@ -3072,7 +3072,7 @@ align 4
menu_data_3:
.type: dd 0 ;+0
.x:
if lang eq ru
if lang eq ru_RU
.size_x dw 4*2+7*6 ;+32
else
.size_x dw 40 ;+4
@@ -3087,7 +3087,7 @@ end if
.mouse_pos dd 0 ;+24
.mouse_keys dd 0 ;+28
.x1:
if lang eq ru
if lang eq ru_RU
.size_x1 dw 4*2+7*6 ;+32
else
.size_x1 dw 40 ;+32
@@ -3118,7 +3118,7 @@ end if
.get_mouse_flag dd 0 ;+116
menu_text_area_3:
if lang eq ru
if lang eq ru_RU
db '<27><><EFBFBD><E0A0A2>',0
.1:
db '<27><><EFBFBD><E0A0A2>',0
@@ -3148,7 +3148,7 @@ Option_boxs dd op1,op2,op3,0
Option_boxs2 dd op11,op12,0
op_text: ; <20><><EFBFBD><EFBFBD><E0AEA2><EFBFBD><EFBFBD><EFBFBD>騩 ⥪<><E2A5AA> <20><><EFBFBD><20><><EFBFBD>
if lang eq ru
if lang eq ru_RU
.1 db '<27><><EFBFBD><EFBFBD>'
.e1:
.2 db '<27><><EFBFBD>।'
@@ -3178,7 +3178,7 @@ sel_text db "From to",0
help_but_text = menu_text_area_3 ;db 'Help',0
head_f_i:
if lang eq ru
if lang eq ru_RU
error_open_file_string db "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!",0
error_save_file_string db "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><E0A0AD>!",0
else
@@ -3218,7 +3218,7 @@ flags dw 001000010b
;10: <09> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><><EFBFBD><EFBFBD><EFBFBD>" ᪮<><E1AAAE><EFBFBD><E0AEA2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
;--------------------------------------------------------------------
help_text:
if lang eq ru
if lang eq ru_RU
db 'Ctrl+O - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><> '
db 'Ctrl+S - <20><><EFBFBD><EFBFBD><E0A0AD><EFBFBD> '
db 'PageUp, PageDown - <20><><EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD> '

View File

@@ -3,6 +3,6 @@ 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({"info3ds.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "info3ds")
tup.rule({"info3ds_u.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "info3ds_u")

View File

@@ -1,6 +1,6 @@
if not exist bin mkdir bin
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@copy objects.png bin\objects.png
if not exist bin\info3ds.ini @copy info3ds.ini bin\info3ds.ini
if not exist bin\toolbar.png @copy toolbar.png bin\toolbar.png
@@ -9,4 +9,4 @@ if not exist bin\font8x9.bmp @copy ..\..\fs\kfar\trunk\font8x9.bmp bin\font8x9.b
@kpack bin\info3ds.kex
@fasm.exe -m 16384 info3ds_u.asm bin\info3ds_u.kex
@kpack bin\info3ds_u.kex
pause
pause

View File

@@ -1,6 +1,6 @@
if not exist bin mkdir bin
@erase lang.inc
@echo lang fix ru >lang.inc
@echo lang fix ru_RU >lang.inc
@copy objects.png bin\objects.png
if not exist bin\info3ds.ini @copy info3ds.ini bin\info3ds.ini
if not exist bin\toolbar.png @copy toolbar.png bin\toolbar.png
@@ -9,4 +9,4 @@ if not exist bin\font8x9.bmp @copy ..\..\fs\kfar\trunk\font8x9.bmp bin\font8x9.b
@kpack bin\info3ds.kex
@fasm.exe -m 16384 info3ds_u.asm bin\info3ds_u.kex
@kpack bin\info3ds_u.kex
pause
pause

View File

@@ -23,7 +23,7 @@
; uint16 - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if lang eq ru
if lang eq ru_RU
txt_err_stl_open:
db '"STL',13,10
db '<27><><EFBFBD><EFBFBD> *.stl <20><EFBFBD> <20><><EFBFBD><EFBFBD>让." -tW',0
@@ -456,4 +456,4 @@ proc txt_next_line uses eax ecx edi, mlen:dword
@@:
mov esi,edi
ret
endp
endp

View File

@@ -124,7 +124,7 @@ block_3ds 0xa08c, 3,1,txt_a08c
block_3ds 0xa08e, 3,1,txt_a08e
.end:
if lang eq ru
if lang eq ru_RU
txt_0002 db '3ds <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
txt_0011 db '<27><><EFBFBD><EFBFBD> rgb (<28><><EFBFBD><EFBFBD><E2AEA2> <20><><EFBFBD>)',0
;txt_0012 db 'LIN_COLOR_24',0
@@ -289,7 +289,7 @@ txt_a08e db 'Wire in units',0
txt_not_delete db 'I can not delete the selected chunk. It is protected.',0
end if
if lang eq ru
if lang eq ru_RU
txt_open_3ds db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><>:',0
txt_no_3ds: db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><> <20><> <20> <20><><EFBFBD><E0ACA0> *.3ds ',39
.zag: rb 8
@@ -317,4 +317,4 @@ txt_3ds_offs:
.siz: rb 8
db 0
txt_mat_null db 'No materials found',0
end if
end if

View File

@@ -1361,7 +1361,7 @@ mat_shininess dd 3.0 ;
white_light dd 0.8, 0.8, 0.8, 1.0 ; <20><><EFBFBD><EFBFBD> <20> <20><>⥭ᨢ<E2A5AD><E1A8A2><EFBFBD><EFBFBD><EFBFBD> <20>ᢥ饭<E1A2A5><E9A5AD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E3A5AC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E7ADA8><EFBFBD>
lmodel_ambient dd 0.3, 0.3, 0.3, 1.0 ; <20><><EFBFBD><E0A0AC><EFBFBD><EFBFBD><><E4AEAD><EFBFBD><EFBFBD><EFBFBD> <20>ᢥ饭<E1A2A5><E9A5AD>
if lang eq ru
if lang eq ru_RU
capt db 'info 3ds <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 29.09.20',0 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
else
capt db 'info 3ds version 29.09.20',0 ;window caption

View File

@@ -1426,7 +1426,7 @@ mat_shininess dd 3.0 ;
white_light dd 0.8, 0.8, 0.8, 1.0 ; <20><><EFBFBD><EFBFBD> <20> <20><>⥭ᨢ<E2A5AD><E1A8A2><EFBFBD><EFBFBD><EFBFBD> <20>ᢥ饭<E1A2A5><E9A5AD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E3A5AC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E7ADA8><EFBFBD>
lmodel_ambient dd 0.3, 0.3, 0.3, 1.0 ; <20><><EFBFBD><E0A0AC><EFBFBD><EFBFBD><><E4AEAD><EFBFBD><EFBFBD><EFBFBD> <20>ᢥ饭<E1A2A5><E9A5AD>
if lang eq ru
if lang eq ru_RU
capt db 'info 3ds [user] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 29.09.20',0 ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
else
capt db 'info 3ds [user] version 29.09.20',0 ;window caption

View File

@@ -1 +1 @@

View File

@@ -59,7 +59,7 @@ key_face db 'col_faces',0
key_select db 'col_select',0
txt_err_save_img_file:
if lang eq ru
if lang eq ru_RU
db '"<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E0A0AD><EFBFBD><>." -W',0
else
db '"Can',39,'t save file." -W',0

View File

@@ -25,7 +25,7 @@ obj_point: ;
.text:
rb MAX_OBJECT_SIZE
if lang eq ru
if lang eq ru_RU
txt_select_vert: db '<27><><EFBFBD><EFBFBD>: '
else
txt_select_vert: db 'Select: '

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({"keyascii.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "keyascii")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm keyascii.asm keyascii
@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 keyascii.asm keyascii
@erase lang.inc
@pause
@pause

View File

@@ -3,6 +3,6 @@ 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({"kol_f_edit.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "bin/kol_f_edit")
tup.rule({"ob_o.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o", "bin/ob_o.opt")

View File

@@ -1,4 +1,4 @@
;lang equ ru
;lang equ ru_RU
include 'obj_codes.inc'

View File

@@ -2,8 +2,8 @@
# This script does for Linux the same as build.bat for DOS,
# it compiles the current KolibriOS applications
echo "lang fix en"
echo "lang fix en" > lang.inc
echo "lang fix en_US"
echo "lang fix en_US" > lang.inc
mkdir bin
fasm -m 16384 ctrldemo.asm ./bin/ctrldemo.kex
fasm -m 16384 editbox_ex.asm ./bin/editbox_ex.kex

View File

@@ -52,7 +52,7 @@ ends
ted_symbol_space db 32 ;ascii <20><><EFBFBD> <20><EFBFBD><E0AEA1><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><EBA2A0> <20><EFBFBD> <20> <20><><EFBFBD><EFBFBD>
ted_symbol_tab db 26 ;ascii <20><><EFBFBD> <20><><EFBFBD><E0A5AB> <20><><EFBFBD>, <20><EFBFBD><E1AFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><E1AEA2><EFBFBD><EFBFBD><><E2A0A1><EFBFBD><20> <><E0A5A6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E1A8AC><EFBFBD><EFBFBD><EFBFBD>
if lang eq ru
if lang eq ru_RU
txtRow db '<27><><EFBFBD>',0
txtCol db '<27><><EFBFBD><EFBFBD>',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({"mini.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "mini")

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({"scancode.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "scancode")

View File

@@ -1,6 +1,6 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm -m 16384 scancode.asm scancode
@kpack scancode
@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 -m 16384 scancode.asm scancode
@kpack scancode
@erase lang.inc
@pause
@pause

View File

@@ -285,7 +285,7 @@ ext0:
ext0end:
if lang eq ru
if lang eq ru_RU
text:
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
.len = $ - text

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({"str_double.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "str_double")

View File

@@ -1,5 +1,5 @@
@erase lang.inc
@echo lang fix en >lang.inc
@echo lang fix en_US >lang.inc
@fasm str_double.asm str_double
@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 str_double.asm str_double
@erase lang.inc
@pause
@pause

View File

@@ -256,7 +256,7 @@ hexstr db 'hex:',0
decstr db 'dec:',0
binstr db 'bin:',0
if lang eq ru
if lang eq ru_RU
numstr db '<27><>᫮:',0
Okstr db '<27><><EFBFBD><EFBFBD>',0
else

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({"tinypad.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "tinypad")

View File

@@ -2,8 +2,8 @@
# This script does for linux the same as build.bat for DOS,
# it compiles the program, hopefully ;-)
echo "lang fix en"
echo "lang fix en" > lang.inc
echo "lang fix en_US"
echo "lang fix en_US" > lang.inc
fasm -m 16384 tinypad.asm tinypad
kpack tinypad
rm -f lang.inc

View File

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

View File

@@ -1,5 +1,5 @@
@echo lang fix it >lang.inc
@echo lang fix it_IT >lang.inc
@fasm tinypad.asm tinypad
@kpack tinypad
@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 tinypad.asm tinypad
@kpack tinypad
@erase lang.inc
@pause
@pause