games/almaz: text translation, utf-8 for source code (fix #237) (#395)

- Proper translation to all system languages
- UTF-8 encoding for all source code files

---------

Co-authored-by: Burer <burer@kolibrios.org>
Co-authored-by: nitinsoni4115 <nitinsoni4115@gmail.com>
Reviewed-on: #395
Reviewed-by: Burer <burer@kolibrios.org>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: nitinsoni4115 <nitinsoni2704@gmail.com>
Co-committed-by: nitinsoni4115 <nitinsoni2704@gmail.com>
This commit was merged in pull request #395.
This commit is contained in:
2026-04-26 11:31:24 +00:00
committed by Burer
parent 86c685ed4b
commit 27c1f44930
5 changed files with 4413 additions and 4418 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2 -5
View File
@@ -1,7 +1,4 @@
if tup.getconfig("NO_FASM") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"ALMAZ.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "almaz")
lang = (tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")
tup.rule("ALMAZ.ASM", "fasm -dlang=" .. lang .. " %f %o " .. tup.getconfig("KPACK_CMD"), "almaz")
+3 -6
View File
@@ -1,6 +1,3 @@
@erase lang.inc
@echo lang fix ru_RU >lang.inc
@fasm ALMAZ.asm ALMAZ
@erase lang.inc
@kpack ALMAZ
@pause
@fasm -dlang=ru_RU ALMAZ.asm ALMAZ
@kpack ALMAZ
@pause