Update locale code
- Fixes for new locale codes. - Correct en_US translations. - Some whitespace clean-up.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
dd 0x1000 ; esp
|
||||
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'
|
||||
|
||||
delay = 20
|
||||
@@ -256,7 +256,7 @@ measure_d:
|
||||
inf:
|
||||
db 'Нажмите пробел', 0
|
||||
|
||||
else
|
||||
else ; Default to en_US
|
||||
labelt:
|
||||
db 3, 'Ruler', 0
|
||||
start_pix:
|
||||
@@ -273,6 +273,7 @@ inf:
|
||||
db 'Press Space', 0
|
||||
|
||||
end if
|
||||
|
||||
I_END:
|
||||
align 4
|
||||
magnify_area_start_x dd ?
|
||||
|
@@ -19,7 +19,7 @@
|
||||
dd 0x1000 ; esp
|
||||
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'
|
||||
delay equ 20
|
||||
|
||||
@@ -137,7 +137,7 @@ draw_magnify:
|
||||
if lang eq ru_RU
|
||||
labelt:
|
||||
db 'Magnifier - <20><>࠭<EFBFBD><E0A0AD><EFBFBD> <20>㯠', 0
|
||||
else
|
||||
else ; Default to en_US
|
||||
labelt:
|
||||
db 'Magnifier', 0
|
||||
end if
|
||||
|
@@ -16,7 +16,7 @@ use32
|
||||
dd 0x1000 ; esp
|
||||
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'
|
||||
|
||||
START: ; start of execution
|
||||
@@ -139,7 +139,7 @@ draw_window:
|
||||
|
||||
if lang eq ru_RU
|
||||
title db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
||||
else
|
||||
else ; Default to en_US
|
||||
title db 'TIMER',0
|
||||
end if
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
; modified by: Heavyiron, maxcodehack
|
||||
|
||||
; <--- include all KolibriOS stuff --->
|
||||
include "lang.inc"
|
||||
include "lang.inc" ; Language support for locales: ru_RU (CP866), fr_FR, en_US.
|
||||
include "..\..\..\..\macros.inc"
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ if lang eq ru_RU
|
||||
title db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>',0
|
||||
else if lang eq fr_FR
|
||||
title db 'La programme poncive',0
|
||||
else
|
||||
else ; Default to en_US
|
||||
title db 'Template program',0
|
||||
end if
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
dd 0x2000 ; esp
|
||||
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'
|
||||
|
||||
|
||||
@@ -136,11 +136,11 @@ if lang eq ru_RU
|
||||
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>⮪<EFBFBD><E2AEAA> <20><><EFBFBD><EFBFBD><EFBFBD>. '
|
||||
db ' '
|
||||
db ' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> '
|
||||
db 'x' ; <- END MARKER, DONT DELETE
|
||||
db 'x' ; <- END MARKER, DO NOT DELETE
|
||||
|
||||
title db '<27>ਬ<EFBFBD><E0A8AC> <20>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD><EFBFBD> <20><>⮪<EFBFBD><E2AEAA>',0
|
||||
|
||||
else
|
||||
else ; Default to en_US
|
||||
text:
|
||||
db 'THIS EXAMPLE CREATES THREADS BY RUNNING '
|
||||
db 'THE SAME CODE MULTIPLE TIMES. ALL WE '
|
||||
@@ -149,7 +149,7 @@ else
|
||||
db ' '
|
||||
db ' '
|
||||
db ' CREATE NEW THREAD '
|
||||
db 'x' ; <- END MARKER, DONT DELETE
|
||||
db 'x' ; <- END MARKER, DO NOT DELETE
|
||||
|
||||
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
|
||||
|
||||
@@ -20,7 +20,7 @@ sizeof.sz_cantLL = $-sz_cantLL
|
||||
sz_system_error db 'System error: ',0
|
||||
sizeof.sz_system_error = $-sz_system_error
|
||||
|
||||
else
|
||||
else ; Default to en_US
|
||||
|
||||
text db ' InFile:','OutFile:',' Path:'
|
||||
.line_size = ($-text)/3
|
||||
@@ -40,4 +40,3 @@ sz_system_error db 'System error: ',0
|
||||
sizeof.sz_system_error = $-sz_system_error
|
||||
|
||||
end if
|
||||
|
||||
|
@@ -22,7 +22,7 @@ include '../../../macros.inc' ;
|
||||
include '../../../KOSfuncs.inc'
|
||||
include '../../../load_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
|
||||
|
||||
@@ -275,7 +275,7 @@ string1_end:
|
||||
if lang eq ru_RU
|
||||
numstr db '<27><>:',0
|
||||
Okstr db '<27><><EFBFBD><EFBFBD>',0
|
||||
else
|
||||
else ; Default to en_US
|
||||
numstr db 'Number:',0
|
||||
Okstr db 'Enter',0
|
||||
end if
|
||||
|
@@ -59,7 +59,7 @@ use32
|
||||
;--------------------------------------------------------------------
|
||||
_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 '../../../config.inc' ; for nightbuild
|
||||
include '../../../macros.inc'
|
||||
@@ -2965,7 +2965,7 @@ menu_data_1:
|
||||
.x1:
|
||||
if lang eq ru_RU
|
||||
.size_x1 dw 4*2+9*6 ;+32
|
||||
else
|
||||
else ; Default to en_US
|
||||
.size_x1 dw 40 ;+32
|
||||
end if
|
||||
.start_x1 dw 2 ;+34
|
||||
@@ -3000,7 +3000,7 @@ if lang eq ru_RU
|
||||
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
||||
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>',0
|
||||
db '<27><>室',0
|
||||
else
|
||||
else ; Default to en_US
|
||||
db 'File',0
|
||||
.1:
|
||||
db 'Open',0
|
||||
@@ -3056,7 +3056,7 @@ menu_text_area_2:
|
||||
if lang eq ru_RU
|
||||
db '<27><><EFBFBD>',0
|
||||
.1:
|
||||
else
|
||||
else ; Default to en_US
|
||||
db 'View',0
|
||||
.1:
|
||||
end if
|
||||
@@ -3074,7 +3074,7 @@ menu_data_3:
|
||||
.x:
|
||||
if lang eq ru_RU
|
||||
.size_x dw 4*2+7*6 ;+32
|
||||
else
|
||||
else ; Default to en_US
|
||||
.size_x dw 40 ;+4
|
||||
end if
|
||||
.start_x dw 84 ;+6
|
||||
@@ -3089,7 +3089,7 @@ end if
|
||||
.x1:
|
||||
if lang eq ru_RU
|
||||
.size_x1 dw 4*2+7*6 ;+32
|
||||
else
|
||||
else ; Default to en_US
|
||||
.size_x1 dw 40 ;+32
|
||||
end if
|
||||
.start_x1 dw 84 ;+34
|
||||
@@ -3122,7 +3122,7 @@ if lang eq ru_RU
|
||||
db '<27><>ࠢ<EFBFBD><E0A0A2>',0
|
||||
.1:
|
||||
db '<27><>ࠢ<EFBFBD><E0A0A2>',0
|
||||
else
|
||||
else ; Default to en_US
|
||||
db 'Help',0
|
||||
.1:
|
||||
db 'Help',0
|
||||
@@ -3155,7 +3155,7 @@ if lang eq ru_RU
|
||||
.e2:
|
||||
.3 db '<27><><EFBFBD><EFBFBD><EFBFBD>'
|
||||
.e3:
|
||||
else
|
||||
else ; Default to en_US
|
||||
.1 db 'Absolutely'
|
||||
.e1:
|
||||
.2 db 'Forward'
|
||||
@@ -3181,7 +3181,7 @@ head_f_i:
|
||||
if lang eq ru_RU
|
||||
error_open_file_string db "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!",0
|
||||
error_save_file_string db "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD>࠭<EFBFBD><E0A0AD>!",0
|
||||
else
|
||||
else ; Default to en_US
|
||||
error_open_file_string db "Isn't found!",0
|
||||
error_save_file_string db "Isn't saved!",0
|
||||
end if
|
||||
@@ -3240,7 +3240,7 @@ if lang eq ru_RU
|
||||
db 'Ctrl+C - <20><><EFBFBD><EFBFBD><EFBFBD><E0AEA2><EFBFBD> <20><><EFBFBD><EFBFBD> '
|
||||
db 'Ctrl+V - <20><>⠢<EFBFBD><E2A0A2><EFBFBD> <20> <20>뤥<EFBFBD><EBA4A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
|
||||
db 'Ctrl+X - <20><>१<EFBFBD><E0A5A7><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> '
|
||||
else
|
||||
else ; Default to en_US
|
||||
db 'Ctrl+O - open file '
|
||||
db 'Ctrl+S - save file '
|
||||
db 'PageUp, PageDown - page up/down '
|
||||
|
Reference in New Issue
Block a user