1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 17:51:33 +01:00

Probando idiomas

This commit is contained in:
JoseluCross
2016-06-03 23:21:51 +02:00
parent 0da28b9bf9
commit 4004a776db

View File

@@ -2,19 +2,19 @@
echo "Bienvenido a JKArch"
idiom=`dialog --stdout --nocancel --backtitle "JKArch Instalation" --title "Language selection" --menu "Select your language" 0 70 5 1 "Spanish (es)" 2 "English (en)"`
if [[ $idiom = 1 ]];then
if [[ $idiom -eq 1 ]];then
loadkeys es
LANG="es_ES.UTF-8" ; export LANG
elif [[ $idiom = 2 ]];then
elif [[ $idiom -eq 2 ]];then
loadkeys en
LANG="en_GB.UTF-8" ; export LANG
fi
opt=`dialog --stdout --nocancel --backtitle "Instalacion de JKArch" --title "Bienvenido a JKArch" --menu "Para poder comenzar la instalacion, se necesita una conexion a internet. ¿Como te conectas?" 0 70 5 1 "Estoy por cable (Ethernet)" 2 "Wi-Fi/Inalambrico" 3 "Configuracion compleja (Ir a la terminal)"`
if [[ $opt = 2 ]];then
if [[ $opt -eq 2 ]];then
wifi-menu
elif [[ $opt = 3 ]];then
elif [[ $opt -eq 3 ]];then
clear
echo "Te sacamos a la terminal, configure internet, asegurese de que funcione y después escriba exit para continuar"
bash