disptest: proper Russian and English translation

git-svn-id: svn://kolibrios.org@7534 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2018-11-06 18:27:54 +00:00
parent 3a3aa50771
commit a82334d437
2 changed files with 78 additions and 23 deletions

View File

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

View File

@ -202,7 +202,7 @@ exit_draw:
mov edx, [test_info + edx*4] mov edx, [test_info + edx*4]
mcall 4 mcall 4
add ebx, 8 add ebx, 12
mcall ,,,press_space mcall ,,,press_space
add ebx, 8 add ebx, 8
@ -218,7 +218,9 @@ no_info:
; <---- procedures for various tests of display -----> ; <---- procedures for various tests of display ----->
; in: ebx = screen_width, ecx = screen_height ; in: ebx = screen_width, ecx = screen_height
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_image_size, ru, "Image Size and Placement" lsz i_image_size,\
ru, "<22> §¬¥à ¨§®¡à ¦¥­¨ï ¨ à §¬¥é¥­¨¥",\
en, "Image Size and Placement"
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_image_size: t_image_size:
@ -258,7 +260,9 @@ t_image_size:
mcall mcall
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_grid, ru, "Grid" lsz i_grid,\
ru, "‘¥âª ",\
en, "Grid"
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_grid: t_grid:
@ -296,7 +300,9 @@ grid_next_x:
mcall mcall
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_horstr, ru, "Horizontal Straightness" lsz i_horstr,\
ru, "ƒ®à¨§®­â «ì­ë¥ ¯àï¬ë¥ «¨­¨¨",\
en, "Horizontal Straightness"
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_horstr: t_horstr:
@ -323,7 +329,9 @@ hor_next_y:
jnae hor_next_y jnae hor_next_y
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_vertstr, ru, "Vertical Straightness",0 lsz i_vertstr,\
ru, "‚¥à⨪ «ì­ë¥ ¯àï¬ë¥ «¨­¨¨",\
en, "Vertical Straightness"
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_vertstr: t_vertstr:
@ -348,7 +356,9 @@ vert_next_x:
jnae vert_next_x jnae vert_next_x
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_distort, ru, "Distortion",0 lsz i_distort,\
ru, "<22>஢¥àª  ­  ¨áª ¦¥­¨ï",\
en, "Distortion",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_distort: t_distort:
@ -395,7 +405,9 @@ dist_next:
jnz dist_next jnz dist_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_horres, ru, "Horizontal Resolution",0 lsz i_horres,\
ru, "<22> §à¥è¥­¨¥ ¯® £®à¨§®­â «¨",\
en, "Horizontal Resolution",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_horres: t_horres:
@ -428,7 +440,9 @@ horres_next:
jna horres_next jna horres_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_vertres, ru, "Vertical Resolution",0 lsz i_vertres,\
ru, "<22> §à¥è¥­¨¥ ¯® ¢¥à⨪ «¨",\
en, "Vertical Resolution",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_vertres: t_vertres:
@ -462,7 +476,9 @@ vertres_next:
jna vertres_next jna vertres_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_moire, ru, "Moire Patterns",0 lsz i_moire,\
ru, "˜ ¡«®­ë Œã à ",\
en, "Moire Patterns",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_moire: t_moire:
@ -481,7 +497,9 @@ moire_next:
jna moire_next jna moire_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_revsharp, ru, "Reverse Video Sharpness",0 lsz i_revsharp,\
ru, "<22>¥¢¥àᨢ­ ï १ª®áâì ¢¨¤¥®",\
en, "Reverse Video Sharpness",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_revsharp: t_revsharp:
@ -515,20 +533,26 @@ revsharp_next:
jna revsharp_next jna revsharp_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_flicker, ru, "Flicker Severity",0 lsz i_flicker,\
ru, "“஢¥­ì ¬¥àæ ­¨ï",\
en, "Flicker Severity",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_flicker: t_flicker:
mcall 13,,,0xffffff mcall 13,,,0xffffff
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_glare, ru, "Glare Severity",0 lsz i_glare,\
ru, "“஢¥­ì ¡«¨ª®¢ ¯®¤á¢¥âª¨",\
en, "Glare Severity",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_glare: ; ®¯â¨¬¨§¨à®¢ âì ­¥ç¥£® t_glare: ; ®¯â¨¬¨§¨à®¢ âì ­¥ç¥£®
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_interlace, ru, "Interlacing Detection",0 lsz i_interlace,\
ru, "Ž¡­ à㦥­¨¥ ¨­â¥à«¥©á¨­£ ",\
en, "Interlacing Detection",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_interlace: t_interlace:
@ -545,7 +569,9 @@ interlace_next:
jna interlace_next jna interlace_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_scrreg, ru, "Screen Regulation",0 lsz i_scrreg,\
ru, "<22>¥£ã«¨à®¢ª  íªà ­ ",\
en, "Screen Regulation",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_scrreg: t_scrreg:
@ -555,7 +581,9 @@ t_scrreg:
mcall 13,,,0xffffff mcall 13,,,0xffffff
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_pricol, ru, "Primary Color Purity" lsz i_pricol,\
ru, "—¨áâ®â  ®á­®¢­ëå 梥⮢",\
en, "Primary Color Purity",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_pricol: t_pricol:
@ -586,7 +614,9 @@ t_pricol:
mcall mcall
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_colint, ru, "Color Intensity Gradient" lsz i_colint,\
ru, "ƒà ¤¨¥­â ¨­â¥­á¨¢­®á⨠梥â ",\
en, "Color Intensity Gradient",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_colint: t_colint:
@ -676,7 +706,9 @@ colint_next_line:
jb colint_next jb colint_next
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_colalign, ru, "Color Alignment Grid" lsz i_colalign,\
ru, "–¢¥â®¢®¥ ¢ëà ¢­¨¢ ­¨¥",\
en, "Color Alignment Grid",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_colalign: t_colalign:
@ -809,7 +841,9 @@ ggrid_last_xy:
;jnae ggrid_last_xy ;jnae ggrid_last_xy
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
lsz i_colsyn, ru, "Color Synchronization" lsz i_colsyn,\
ru, "‘¨­åà®­¨§ æ¨ï 梥â ",\
en, "Color Synchronization",
db 0 db 0
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
t_colsyn: t_colsyn:
@ -858,14 +892,30 @@ DATA
i_flicker, i_glare, i_interlace, i_scrreg, i_pricol, \ i_flicker, i_glare, i_interlace, i_scrreg, i_pricol, \
i_colint, i_colalign, i_colsyn, 0 i_colint, i_colalign, i_colsyn, 0
lsz press_space, ru, "<22> ¦¬¨â¥ ¯à®¡¥« ¤«ï ¯à®¤®«¦¥­¨ï," lsz press_space,\
ru, "<22> ¦¬¨â¥ ¯à®¡¥« ¤«ï ¯à®¤®«¦¥­¨ï,",\
en, "Press 'Space' key to continue",
db 0 db 0
lsz press_i, ru, "I ¤«ï ¯¥à¥ª«î祭¨ï ᢥ¤¥­¨©,"
lsz press_i,\
ru, "I ¤«ï ¯¥à¥ª«î祭¨ï ᢥ¤¥­¨©,",\
en, "I to turn details on and off ",
db 0 db 0
lsz press_c, ru, "¨ C ¤«ï ¯¥à¥ª«î祭¨ï ªãàá®à "
lsz press_c,\
ru, "¨ C ¤«ï ¯¥à¥ª«î祭¨ï ªãàá®à ",\
en, "and C to show and hide cursor",
db 0
lsz header,\
ru, "’¥áâ ¬®­¨â®à ",\
en, "Display test",
db 0
lsz test_finish,\
ru, "Š®­¥æ â¥áâ . <20> ¦¬¨â¥ ESC.",\
en, "Test has been finished. Press ESC.",
db 0 db 0
lsz header, ru, "’¥áâ ¬®­¨â®à "
lsz test_finish, ru, "Š®­¥æ â¥áâ . <20> ¦¬¨â¥ ESC."
cursor dd 32*32 dup(0x00000000) ; ¢á¥ à ¢­® ᮦ¬¥âáï cursor dd 32*32 dup(0x00000000) ; ¢á¥ à ¢­® ᮦ¬¥âáï