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
|
||||
loadstrings
|
||||
else
|
||||
case $sel in
|
||||
"Russian") eval $(setfont cyr-sun16);;
|
||||
esac
|
||||
eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d')
|
||||
fi
|
||||
eval $(setfont $font)
|
||||
font=
|
||||
sed -i "/$locale.UTF-8/s/^#//g" /etc/locale.gen
|
||||
locale-gen
|
||||
export LANG=$locale
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
# notes : misc text...
|
||||
|
||||
|
||||
locale=fr_FR.UTF-8
|
||||
#font=
|
||||
|
||||
|
||||
txtselectserver="Sélectionnez le serveur source :"
|
||||
|
||||
txtmainmenu="Menu Principal"
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
# notes : Version 0.1
|
||||
|
||||
|
||||
locale=de_DE.UTF-8
|
||||
#font=
|
||||
|
||||
|
||||
txtselectserver="Wählen Sie einen Spiegelserver:"
|
||||
|
||||
txtmainmenu="Hauptmenü"
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
# notes : Fejlesztés alatt!
|
||||
|
||||
|
||||
locale=hu_HU.UTF-8
|
||||
#font=
|
||||
|
||||
|
||||
txtselectserver="Forrás szerver kiválasztása :"
|
||||
|
||||
txtmainmenu="Főmenü"
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
# notes : v.1.1
|
||||
|
||||
|
||||
locale=ru_RU.UTF-8
|
||||
font=cyr-sun16
|
||||
|
||||
|
||||
txtselectserver="Выберите сервер исходников :"
|
||||
|
||||
txtmainmenu="Главное меню"
|
||||
|
|
Loading…
Reference in a new issue