From 46e816c3668f8ee5b3c95a61633fe67748bc1020 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Wed, 10 Jul 2024 17:42:26 +0100 Subject: [PATCH] Fix locale codes for kernel build scripts --- kernel/trunk/Makefile | 2 +- kernel/trunk/build.bat | 2 +- kernel/trunk/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/Makefile b/kernel/trunk/Makefile index 8f924bca1..d14e98644 100644 --- a/kernel/trunk/Makefile +++ b/kernel/trunk/Makefile @@ -1,6 +1,6 @@ FASM=fasm FLAGS=-m 65536 -languages=en|ru|ge|et|sp +languages=en_US|ru_RU|de_DE|et_EE|es_ES .PHONY: all kernel bootloader clean diff --git a/kernel/trunk/build.bat b/kernel/trunk/build.bat index c9adb2de5..4660b7fb0 100644 --- a/kernel/trunk/build.bat +++ b/kernel/trunk/build.bat @@ -11,7 +11,7 @@ pause goto :eof :Target_kernel - rem valid languages: en ru ge et sp + rem valid languages: en_US ru_RU de_DE et_EE es_ES set lang=en echo *** building kernel with language '%lang%' ... diff --git a/kernel/trunk/build.sh b/kernel/trunk/build.sh index bdd23245b..55ad4e6e8 100755 --- a/kernel/trunk/build.sh +++ b/kernel/trunk/build.sh @@ -6,7 +6,7 @@ KERPACK=$HOME/kolibrios/programs/other/kpack/kerpack_linux/kerpack KOLIBRI_IMG=$HOME/nightly/kolibri.img replace=0; # Replace kernel in the image file? -echo 'lang fix en' > lang.inc +echo 'lang fix en_US' > lang.inc fasm -m 65536 bootbios.asm bootbios.bin fasm -m 65536 kernel.asm kernel.mnt $KERPACK kernel.mnt kernel.mnt