forked from KolibriOS/kolibrios
All: Update locale codes (Part 2) (#76)
- Update language codes and add comments. - Correct `en_US` translations. - Some whitespace clean-up (mainly EOL sanitation). Reviewed-on: KolibriOS/kolibrios#76 Co-authored-by: Andrew <dent.ace@gmail.com> Co-committed-by: Andrew <dent.ace@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@erase lang.inc
|
||||
@echo lang fix fr >lang.inc
|
||||
@echo lang fix fr_FR >lang.inc
|
||||
@fasm template.asm template
|
||||
@erase lang.inc
|
||||
@pause
|
||||
@pause
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
; last update: 1/03/2007
|
||||
; written by: Ivan Poddubny
|
||||
; e-mail: ivan-yar@bk.ru
|
||||
;modified by: Heavyiron, maxcodehack
|
||||
; 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"
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ CODE
|
||||
xor eax, eax ; create and draw the window
|
||||
mov ebx, 100*65536+200 ; (window_cx)*65536+(window_sx)
|
||||
mov ecx, 100*65536+100 ; (window_cy)*65536+(window_sy)
|
||||
mov edx, [sc.work] ; work area color
|
||||
mov edx, [sc.work] ; work area color
|
||||
or edx, 0x33000000 ; & window type 3
|
||||
mov edi, title ; window title
|
||||
int 0x40
|
||||
@@ -80,7 +80,7 @@ if lang eq ru_RU
|
||||
title db '˜ ¡«® ¯à®£à ¬¬ë',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'
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ draw_window:
|
||||
mov edi,title ; WINDOW LABEL
|
||||
mcall
|
||||
|
||||
|
||||
|
||||
mov eax,8 ; NEW THREAD BUTTON
|
||||
mov ebx,20*65536+128
|
||||
mov ecx,63*65536+20
|
||||
@@ -136,11 +136,11 @@ if lang eq ru_RU
|
||||
db '<27> ¬ïâì ¤«ï ¢á¥å ¯®â®ª®¢ ®¡é ï. '
|
||||
db ' '
|
||||
db ' ‘އ„€’œ <20>Ž‚›‰ <20>Ž’ŽŠ '
|
||||
db 'x' ; <- END MARKER, DONT DELETE
|
||||
db 'x' ; <- END MARKER, DO NOT DELETE
|
||||
|
||||
title db '<27>ਬ¥à ¨á¯®«ì§®¢ ¨ï ¯®â®ª®¢',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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user