Improve languages feature
This commit is contained in:
parent
a13edbfb06
commit
392dca0db7
5 changed files with 21 additions and 3 deletions
8
archfi
8
archfi
|
@ -90,11 +90,13 @@ chooselanguage(){
|
||||||
if [ "$sel" = "English" ]; then
|
if [ "$sel" = "English" ]; then
|
||||||
loadstrings
|
loadstrings
|
||||||
else
|
else
|
||||||
case $sel in
|
|
||||||
"Russian") eval $(setfont cyr-sun16);;
|
|
||||||
esac
|
|
||||||
eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d')
|
eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d')
|
||||||
fi
|
fi
|
||||||
|
eval $(setfont $font)
|
||||||
|
font=
|
||||||
|
sed -i "/$locale.UTF-8/s/^#//g" /etc/locale.gen
|
||||||
|
locale-gen
|
||||||
|
export LANG=$locale
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
# notes : misc text...
|
# notes : misc text...
|
||||||
|
|
||||||
|
|
||||||
|
locale=fr_FR.UTF-8
|
||||||
|
#font=
|
||||||
|
|
||||||
|
|
||||||
txtselectserver="Sélectionnez le serveur source :"
|
txtselectserver="Sélectionnez le serveur source :"
|
||||||
|
|
||||||
txtmainmenu="Menu Principal"
|
txtmainmenu="Menu Principal"
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
# notes : Version 0.1
|
# notes : Version 0.1
|
||||||
|
|
||||||
|
|
||||||
|
locale=de_DE.UTF-8
|
||||||
|
#font=
|
||||||
|
|
||||||
|
|
||||||
txtselectserver="Wählen Sie einen Spiegelserver:"
|
txtselectserver="Wählen Sie einen Spiegelserver:"
|
||||||
|
|
||||||
txtmainmenu="Hauptmenü"
|
txtmainmenu="Hauptmenü"
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
# notes : Fejlesztés alatt!
|
# notes : Fejlesztés alatt!
|
||||||
|
|
||||||
|
|
||||||
|
locale=hu_HU.UTF-8
|
||||||
|
#font=
|
||||||
|
|
||||||
|
|
||||||
txtselectserver="Forrás szerver kiválasztása :"
|
txtselectserver="Forrás szerver kiválasztása :"
|
||||||
|
|
||||||
txtmainmenu="Főmenü"
|
txtmainmenu="Főmenü"
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
# notes : v.1.1
|
# notes : v.1.1
|
||||||
|
|
||||||
|
|
||||||
|
locale=ru_RU.UTF-8
|
||||||
|
font=cyr-sun16
|
||||||
|
|
||||||
|
|
||||||
txtselectserver="Выберите сервер исходников :"
|
txtselectserver="Выберите сервер исходников :"
|
||||||
|
|
||||||
txtmainmenu="Главное меню"
|
txtmainmenu="Главное меню"
|
||||||
|
|
Loading…
Reference in a new issue