missing changes

This commit is contained in:
Bernhard Landauer 2017-03-06 02:09:14 +01:00
parent ff72854f67
commit dce5142585

View File

@ -20,6 +20,7 @@ H_INIT="" # Host init-sys
NW_CMD="" # command to launch the available network client NW_CMD="" # command to launch the available network client
# Locale and Language # Locale and Language
LANGSEL="/tmp/.language"
CURR_LOCALE="en_US.UTF-8" # Default Locale CURR_LOCALE="en_US.UTF-8" # Default Locale
FONT="" # Set new font if necessary FONT="" # Set new font if necessary
KEYMAP="us" # Virtual console keymap. Default is "us" KEYMAP="us" # Virtual console keymap. Default is "us"
@ -190,11 +191,11 @@ select_language() {
"7" $"Portuguese|(pt_PT)" \ "7" $"Portuguese|(pt_PT)" \
"8" $"Portuguese [Brasil]|(pt_BR)" \ "8" $"Portuguese [Brasil]|(pt_BR)" \
"9" $"Russian|(ru_RU)" \ "9" $"Russian|(ru_RU)" \
"10" $"Spanish|(es_ES)" 2>${ANSWER} "10" $"Spanish|(es_ES)" 2>${LANGSEL}
# "5" $"German|(de_DE)" \ # "5" $"German|(de_DE)" \
case $(cat ${ANSWER}) in case $(cat ${LANGSEL}) in
"1") source $DATADIR/translations/danish.trans "1") source $DATADIR/translations/danish.trans
CURR_LOCALE="da_DK.UTF-8" CURR_LOCALE="da_DK.UTF-8"
FONT="cp865-8x16.psfu" FONT="cp865-8x16.psfu"