Update locale code
- Fixes for new locale codes. - Correct en_US translations. - Some whitespace clean-up.
This commit is contained in:
parent
b6a0bf7729
commit
d1ecd626b0
@ -15,7 +15,7 @@
|
|||||||
dd 0x1000 ; esp
|
dd 0x1000 ; esp
|
||||||
dd 0, 0 ; no parameters, no path
|
dd 0, 0 ; no parameters, no path
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (UTF-8), en_US.
|
||||||
include '..\..\macros.inc'
|
include '..\..\macros.inc'
|
||||||
|
|
||||||
delay = 20
|
delay = 20
|
||||||
@ -256,7 +256,7 @@ measure_d:
|
|||||||
inf:
|
inf:
|
||||||
db 'Нажмите пробел', 0
|
db 'Нажмите пробел', 0
|
||||||
|
|
||||||
else
|
else ; Default to en_US
|
||||||
labelt:
|
labelt:
|
||||||
db 3, 'Ruler', 0
|
db 3, 'Ruler', 0
|
||||||
start_pix:
|
start_pix:
|
||||||
@ -273,6 +273,7 @@ inf:
|
|||||||
db 'Press Space', 0
|
db 'Press Space', 0
|
||||||
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
I_END:
|
I_END:
|
||||||
align 4
|
align 4
|
||||||
magnify_area_start_x dd ?
|
magnify_area_start_x dd ?
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
dd 0x1000 ; esp
|
dd 0x1000 ; esp
|
||||||
dd 0, 0 ; no parameters, no path
|
dd 0, 0 ; no parameters, no path
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
include '..\..\..\macros.inc'
|
include '..\..\..\macros.inc'
|
||||||
delay equ 20
|
delay equ 20
|
||||||
|
|
||||||
@ -137,7 +137,7 @@ draw_magnify:
|
|||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
labelt:
|
labelt:
|
||||||
db 'Magnifier - <20>ªà ï «ã¯ ', 0
|
db 'Magnifier - <20>ªà ï «ã¯ ', 0
|
||||||
else
|
else ; Default to en_US
|
||||||
labelt:
|
labelt:
|
||||||
db 'Magnifier', 0
|
db 'Magnifier', 0
|
||||||
end if
|
end if
|
||||||
|
@ -16,7 +16,7 @@ use32
|
|||||||
dd 0x1000 ; esp
|
dd 0x1000 ; esp
|
||||||
dd 0x0 , 0x0 ; I_Param , I_Icon
|
dd 0x0 , 0x0 ; I_Param , I_Icon
|
||||||
|
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
include '..\..\..\macros.inc'
|
include '..\..\..\macros.inc'
|
||||||
|
|
||||||
START: ; start of execution
|
START: ; start of execution
|
||||||
@ -139,7 +139,7 @@ draw_window:
|
|||||||
|
|
||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
title db '’€‰Œ…<C592>',0
|
title db '’€‰Œ…<C592>',0
|
||||||
else
|
else ; Default to en_US
|
||||||
title db 'TIMER',0
|
title db 'TIMER',0
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
; modified by: Heavyiron, maxcodehack
|
; modified by: Heavyiron, maxcodehack
|
||||||
|
|
||||||
; <--- include all KolibriOS stuff --->
|
; <--- include all KolibriOS stuff --->
|
||||||
include "lang.inc"
|
include "lang.inc" ; Language support for locales: ru_RU (CP866), fr_FR, en_US.
|
||||||
include "..\..\..\..\macros.inc"
|
include "..\..\..\..\macros.inc"
|
||||||
|
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ if lang eq ru_RU
|
|||||||
title db '˜ ¡«® ¯à®£à ¬¬ë',0
|
title db '˜ ¡«® ¯à®£à ¬¬ë',0
|
||||||
else if lang eq fr_FR
|
else if lang eq fr_FR
|
||||||
title db 'La programme poncive',0
|
title db 'La programme poncive',0
|
||||||
else
|
else ; Default to en_US
|
||||||
title db 'Template program',0
|
title db 'Template program',0
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
dd 0x2000 ; esp
|
dd 0x2000 ; esp
|
||||||
dd 0x0 , 0x0 ; I_Param , I_Icon
|
dd 0x0 , 0x0 ; I_Param , I_Icon
|
||||||
|
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
include '..\..\..\..\macros.inc'
|
include '..\..\..\..\macros.inc'
|
||||||
|
|
||||||
|
|
||||||
@ -136,11 +136,11 @@ if lang eq ru_RU
|
|||||||
db '<27> ¬ïâì ¤«ï ¢á¥å ¯®â®ª®¢ ®¡é ï. '
|
db '<27> ¬ïâì ¤«ï ¢á¥å ¯®â®ª®¢ ®¡é ï. '
|
||||||
db ' '
|
db ' '
|
||||||
db ' ‘Ž‡„€’œ <20>Ž‚›‰ <20>Ž’ŽŠ '
|
db ' ‘Ž‡„€’œ <20>Ž‚›‰ <20>Ž’ŽŠ '
|
||||||
db 'x' ; <- END MARKER, DONT DELETE
|
db 'x' ; <- END MARKER, DO NOT DELETE
|
||||||
|
|
||||||
title db '<27>ਬ¥à ¨á¯®«ì§®¢ ¨ï ¯®â®ª®¢',0
|
title db '<27>ਬ¥à ¨á¯®«ì§®¢ ¨ï ¯®â®ª®¢',0
|
||||||
|
|
||||||
else
|
else ; Default to en_US
|
||||||
text:
|
text:
|
||||||
db 'THIS EXAMPLE CREATES THREADS BY RUNNING '
|
db 'THIS EXAMPLE CREATES THREADS BY RUNNING '
|
||||||
db 'THE SAME CODE MULTIPLE TIMES. ALL WE '
|
db 'THE SAME CODE MULTIPLE TIMES. ALL WE '
|
||||||
@ -149,7 +149,7 @@ else
|
|||||||
db ' '
|
db ' '
|
||||||
db ' '
|
db ' '
|
||||||
db ' CREATE NEW THREAD '
|
db ' CREATE NEW THREAD '
|
||||||
db 'x' ; <- END MARKER, DONT DELETE
|
db 'x' ; <- END MARKER, DO NOT DELETE
|
||||||
|
|
||||||
title db 'THREAD EXAMPLE',0
|
title db 'THREAD EXAMPLE',0
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
|
|
||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ sizeof.sz_cantLL = $-sz_cantLL
|
|||||||
sz_system_error db 'System error: ',0
|
sz_system_error db 'System error: ',0
|
||||||
sizeof.sz_system_error = $-sz_system_error
|
sizeof.sz_system_error = $-sz_system_error
|
||||||
|
|
||||||
else
|
else ; Default to en_US
|
||||||
|
|
||||||
text db ' InFile:','OutFile:',' Path:'
|
text db ' InFile:','OutFile:',' Path:'
|
||||||
.line_size = ($-text)/3
|
.line_size = ($-text)/3
|
||||||
@ -40,4 +40,3 @@ sz_system_error db 'System error: ',0
|
|||||||
sizeof.sz_system_error = $-sz_system_error
|
sizeof.sz_system_error = $-sz_system_error
|
||||||
|
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ include '../../../macros.inc' ;
|
|||||||
include '../../../KOSfuncs.inc'
|
include '../../../KOSfuncs.inc'
|
||||||
include '../../../load_lib.mac'
|
include '../../../load_lib.mac'
|
||||||
include '../../../develop/libraries/box_lib/trunk/box_lib.mac'
|
include '../../../develop/libraries/box_lib/trunk/box_lib.mac'
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
|
|
||||||
@use_library
|
@use_library
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ string1_end:
|
|||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
numstr db '葎皚ョ:',0
|
numstr db '葎皚ョ:',0
|
||||||
Okstr db 'いョ、',0
|
Okstr db 'いョ、',0
|
||||||
else
|
else ; Default to en_US
|
||||||
numstr db 'Number:',0
|
numstr db 'Number:',0
|
||||||
Okstr db 'Enter',0
|
Okstr db 'Enter',0
|
||||||
end if
|
end if
|
||||||
|
@ -59,7 +59,7 @@ use32
|
|||||||
;--------------------------------------------------------------------
|
;--------------------------------------------------------------------
|
||||||
_title equ 'HeEd 0.16', 0
|
_title equ 'HeEd 0.16', 0
|
||||||
|
|
||||||
include 'lang.inc'
|
include 'lang.inc' ; Language support for locales: ru_RU (CP866), en_US.
|
||||||
include '../../../KOSfuncs.inc'
|
include '../../../KOSfuncs.inc'
|
||||||
include '../../../config.inc' ; for nightbuild
|
include '../../../config.inc' ; for nightbuild
|
||||||
include '../../../macros.inc'
|
include '../../../macros.inc'
|
||||||
@ -2965,7 +2965,7 @@ menu_data_1:
|
|||||||
.x1:
|
.x1:
|
||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
.size_x1 dw 4*2+9*6 ;+32
|
.size_x1 dw 4*2+9*6 ;+32
|
||||||
else
|
else ; Default to en_US
|
||||||
.size_x1 dw 40 ;+32
|
.size_x1 dw 40 ;+32
|
||||||
end if
|
end if
|
||||||
.start_x1 dw 2 ;+34
|
.start_x1 dw 2 ;+34
|
||||||
@ -3000,7 +3000,7 @@ if lang eq ru_RU
|
|||||||
db 'Žâªàëâì',0
|
db 'Žâªàëâì',0
|
||||||
db '‘®åà ¨âì',0
|
db '‘®åà ¨âì',0
|
||||||
db '‚ë室',0
|
db '‚ë室',0
|
||||||
else
|
else ; Default to en_US
|
||||||
db 'File',0
|
db 'File',0
|
||||||
.1:
|
.1:
|
||||||
db 'Open',0
|
db 'Open',0
|
||||||
@ -3056,7 +3056,7 @@ menu_text_area_2:
|
|||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
db '‚¨¤',0
|
db '‚¨¤',0
|
||||||
.1:
|
.1:
|
||||||
else
|
else ; Default to en_US
|
||||||
db 'View',0
|
db 'View',0
|
||||||
.1:
|
.1:
|
||||||
end if
|
end if
|
||||||
@ -3074,7 +3074,7 @@ menu_data_3:
|
|||||||
.x:
|
.x:
|
||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
.size_x dw 4*2+7*6 ;+32
|
.size_x dw 4*2+7*6 ;+32
|
||||||
else
|
else ; Default to en_US
|
||||||
.size_x dw 40 ;+4
|
.size_x dw 40 ;+4
|
||||||
end if
|
end if
|
||||||
.start_x dw 84 ;+6
|
.start_x dw 84 ;+6
|
||||||
@ -3089,7 +3089,7 @@ end if
|
|||||||
.x1:
|
.x1:
|
||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
.size_x1 dw 4*2+7*6 ;+32
|
.size_x1 dw 4*2+7*6 ;+32
|
||||||
else
|
else ; Default to en_US
|
||||||
.size_x1 dw 40 ;+32
|
.size_x1 dw 40 ;+32
|
||||||
end if
|
end if
|
||||||
.start_x1 dw 84 ;+34
|
.start_x1 dw 84 ;+34
|
||||||
@ -3122,7 +3122,7 @@ if lang eq ru_RU
|
|||||||
db '‘¯à ¢ª ',0
|
db '‘¯à ¢ª ',0
|
||||||
.1:
|
.1:
|
||||||
db '‘¯à ¢ª ',0
|
db '‘¯à ¢ª ',0
|
||||||
else
|
else ; Default to en_US
|
||||||
db 'Help',0
|
db 'Help',0
|
||||||
.1:
|
.1:
|
||||||
db 'Help',0
|
db 'Help',0
|
||||||
@ -3155,7 +3155,7 @@ if lang eq ru_RU
|
|||||||
.e2:
|
.e2:
|
||||||
.3 db '<27> § ¤'
|
.3 db '<27> § ¤'
|
||||||
.e3:
|
.e3:
|
||||||
else
|
else ; Default to en_US
|
||||||
.1 db 'Absolutely'
|
.1 db 'Absolutely'
|
||||||
.e1:
|
.e1:
|
||||||
.2 db 'Forward'
|
.2 db 'Forward'
|
||||||
@ -3181,7 +3181,7 @@ head_f_i:
|
|||||||
if lang eq ru_RU
|
if lang eq ru_RU
|
||||||
error_open_file_string db "” ©« ¥ ©¤¥!",0
|
error_open_file_string db "” ©« ¥ ©¤¥!",0
|
||||||
error_save_file_string db "” ©« ¥ á®åà ¥!",0
|
error_save_file_string db "” ©« ¥ á®åà ¥!",0
|
||||||
else
|
else ; Default to en_US
|
||||||
error_open_file_string db "Isn't found!",0
|
error_open_file_string db "Isn't found!",0
|
||||||
error_save_file_string db "Isn't saved!",0
|
error_save_file_string db "Isn't saved!",0
|
||||||
end if
|
end if
|
||||||
@ -3240,7 +3240,7 @@ if lang eq ru_RU
|
|||||||
db 'Ctrl+C - ª®¯¨à®¢ âì ¡«®ª '
|
db 'Ctrl+C - ª®¯¨à®¢ âì ¡«®ª '
|
||||||
db 'Ctrl+V - ¢áâ ¢¨âì ¢ ¢ë¤¥«¥ãî ®¡« áâì'
|
db 'Ctrl+V - ¢áâ ¢¨âì ¢ ¢ë¤¥«¥ãî ®¡« áâì'
|
||||||
db 'Ctrl+X - ¢ë१ âì ¢ ¡ãä¥à '
|
db 'Ctrl+X - ¢ë१ âì ¢ ¡ãä¥à '
|
||||||
else
|
else ; Default to en_US
|
||||||
db 'Ctrl+O - open file '
|
db 'Ctrl+O - open file '
|
||||||
db 'Ctrl+S - save file '
|
db 'Ctrl+S - save file '
|
||||||
db 'PageUp, PageDown - page up/down '
|
db 'PageUp, PageDown - page up/down '
|
||||||
|
Loading…
Reference in New Issue
Block a user