Improve languages feature

This commit is contained in:
MatMoul 2016-03-05 22:59:38 +01:00
parent a13edbfb06
commit 392dca0db7
5 changed files with 21 additions and 3 deletions

8
archfi
View file

@ -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
}

View file

@ -6,6 +6,10 @@
# notes : misc text...
locale=fr_FR.UTF-8
#font=
txtselectserver="Sélectionnez le serveur source :"
txtmainmenu="Menu Principal"

View file

@ -6,6 +6,10 @@
# notes : Version 0.1
locale=de_DE.UTF-8
#font=
txtselectserver="Wählen Sie einen Spiegelserver:"
txtmainmenu="Hauptmenü"

View file

@ -6,6 +6,10 @@
# notes : Fejlesztés alatt!
locale=hu_HU.UTF-8
#font=
txtselectserver="Forrás szerver kiválasztása :"
txtmainmenu="Főmenü"

View file

@ -6,6 +6,10 @@
# notes : v.1.1
locale=ru_RU.UTF-8
font=cyr-sun16
txtselectserver="Выберите сервер исходников :"
txtmainmenu="Главное меню"