From 823ab628d009c8e558879f25a4b89967a160bdec Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Tue, 12 Mar 2019 00:35:03 +0000 Subject: [PATCH] kernel: set syslang variable according to lang.inc. git-svn-id: svn://kolibrios.org@7601 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/data32.inc | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index 340b6b1577..4a2f5f5a83 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -217,7 +217,27 @@ dll_cur_addr dd MIN_DEFAULT_DLL_ADDR align 4 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