forked from KolibriOS/kolibrios
More language code fixes
I commit in several commits to check autobuild
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
; Timer with three buttons ;
|
||||
; %define lang "ru"
|
||||
; %define lang "it"
|
||||
; %define lang "ru_RU"
|
||||
; %define lang "it_IT"
|
||||
ORG 0
|
||||
BITS 32
|
||||
; ---------------------------------------------------------------------------- ;
|
||||
@@ -88,7 +88,7 @@ ButtonEvents:
|
||||
.pause dd EmptyProc ; at start Pause must not work
|
||||
.reset dd On_ButtonReset
|
||||
; ---------------------------------------------------------------------------- ;
|
||||
%ifidn lang, "ru"
|
||||
%ifidn lang, "ru_RU"
|
||||
sz_timer db "Òàéìåð",0
|
||||
|
||||
sz_start: db "ñòàðò"
|
||||
@@ -97,7 +97,7 @@ ButtonEvents:
|
||||
.end: db 0
|
||||
sz_reset: db "ñáðîñ"
|
||||
.end: db 0
|
||||
%elifidn lang, "it"
|
||||
%elifidn lang, "it_IT"
|
||||
sz_timer db "Timer",0
|
||||
|
||||
sz_start: db "lancio"
|
||||
@@ -390,4 +390,4 @@ TimerStarted:
|
||||
EmptyProc:
|
||||
ret
|
||||
; ---------------------------------------------------------------------------- ;
|
||||
END:
|
||||
END:
|
||||
|
||||
@@ -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 "ru" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
|
||||
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "ru_RU" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
|
||||
tup.rule({"cnc_control.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "cnc_control")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@echo lang fix ru >lang.inc
|
||||
@echo lang fix ru_RU >lang.inc
|
||||
@fasm.exe -m 16384 cnc_control.asm cnc_control
|
||||
@erase lang.inc
|
||||
@kpack cnc_control
|
||||
@pause
|
||||
@pause
|
||||
|
||||
@@ -56,7 +56,7 @@ txt_err_no_1_point_sel db '
|
||||
txt_min_x db 'min x: ',0
|
||||
txt_min_y db 'min y: ',0
|
||||
|
||||
if lang eq ru
|
||||
if lang eq ru_RU
|
||||
;
|
||||
; rus
|
||||
;
|
||||
|
||||
@@ -2,8 +2,8 @@ if not exist bin mkdir bin
|
||||
@copy *.nc bin\*.nc
|
||||
|
||||
@erase lang.inc
|
||||
@echo lang fix ru >lang.inc
|
||||
@echo lang fix ru_RU >lang.inc
|
||||
|
||||
@fasm.exe -m 32768 cnc_editor.asm bin\cnc_editor.kex
|
||||
@kpack bin\cnc_editor.kex
|
||||
pause
|
||||
pause
|
||||
|
||||
@@ -56,7 +56,7 @@ txt_err_no_1_point_sel db '
|
||||
txt_min_x db 'min x: ',0
|
||||
txt_min_y db 'min y: ',0
|
||||
|
||||
if lang eq ru
|
||||
if lang eq ru_RU
|
||||
;
|
||||
; rus
|
||||
;
|
||||
|
||||
@@ -572,7 +572,7 @@ txt_05: db 'G0 Z'
|
||||
txt_06: db 'G0 M5 X0 Y0 Z'
|
||||
.z: rb 12
|
||||
|
||||
if lang eq ru
|
||||
if lang eq ru_RU
|
||||
capt_n_file db '‘®§¤ âì ®¢ë© ä ©«',0
|
||||
capt_sel_fig db '‚ë¡¥à¨â¥ 䨣ãàã:',0
|
||||
txt_circle: db 'Žªà㦮áâì'
|
||||
@@ -586,4 +586,4 @@ txt_circle: db 'Circle'
|
||||
.end: db 0
|
||||
txt_rect: db 'Rectangle'
|
||||
.end: db 0
|
||||
end if
|
||||
end if
|
||||
|
||||
@@ -268,7 +268,7 @@ endp
|
||||
|
||||
align 4
|
||||
capt_p rb 64
|
||||
if lang eq ru
|
||||
if lang eq ru_RU
|
||||
capt_fig: db 'Š®¬ ¤ : ',39
|
||||
.name: rb 55
|
||||
capt_poi: db '’®çª : '
|
||||
|
||||
@@ -167,7 +167,7 @@ proc timer_funct_scale
|
||||
endp
|
||||
|
||||
align 4
|
||||
if lang eq ru
|
||||
if lang eq ru_RU
|
||||
capt_opt db '<27> áâனª¨',0
|
||||
capt_sc db 'Œ áèâ ¡:',0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user