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

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
lang equ ru
lang equ ru_RU
;
; Assembler
@@ -117,4 +117,4 @@ end_draw_gui_proc:
end if
}
}

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 @@
lang equ ru
lang equ ru_RU
;
; Assembler
@@ -91,4 +91,4 @@ looend:
popad
clc
lend:
}
}

View File

@@ -1,4 +1,4 @@
lang equ ru
lang equ ru_RU
;
; Assembler
@@ -158,4 +158,4 @@ read_next:
; not finded
stc ; if not finded CF = 1
finded: ; if finded CF = 0
}
}

View File

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