kernel: set syslang variable according to lang.inc.

git-svn-id: svn://kolibrios.org@7601 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2019-03-12 00:35:03 +00:00
parent 3dc60ce167
commit 823ab628d0

View File

@ -217,7 +217,27 @@ dll_cur_addr dd MIN_DEFAULT_DLL_ADDR
align 4 align 4
keyboard dd 1 keyboard dd 1
syslang dd 1
if lang eq en
SYSLANG = 1
else if lang eq fi
SYSLANG = 2
else if lang eq de
SYSLANG = 3
else if lang eq ru
SYSLANG = 4
else if lang eq fr
SYSLANG = 5
else if lang eq et
SYSLANG = 6
else if lang eq sp
SYSLANG = 7
else if lang eq it
SYSLANG = 8
else
display 'unsupported language specified',13,10
end if
syslang dd SYSLANG
boot_y dd 10 boot_y dd 10