diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 4ea7d1e..56561e8 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -162,8 +162,7 @@ argpart=$(echo $particionraiz | cut -c1-3) arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $argpart $partefi" } clear -mostrardialog "$(T "Hello")" "Hola" -mostrardialog "Script de instalación simple de Arch (BETA)" "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \n Ha sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso. \n Aviso: No debes interrumpir la instalacion por ningun motivo, a no ser que quieras que quede incompleta" +mostrardialog "$(T "Arch install script (BETA)")" "$(T "Intro arch install script")" mostrardialog "JKArch" "El script esta en estado beta y se esta actualizando casi constantemente. Puede haber fallos importantes. En caso de fallo, vuelva a probar en unas horas" echo "Desmontando posibles particiones" umount /mnt/* diff --git a/archinstall/selectlang.sh b/archinstall/selectlang.sh index 0df0fe1..8fca0ff 100755 --- a/archinstall/selectlang.sh +++ b/archinstall/selectlang.sh @@ -1,6 +1,6 @@ #!/bin/bash -idiom=`dialog --stdout --nocancel --backtitle "JKArch Instalation" --title "Language selection" --menu "Select your language / Selecciona tu idioma" 0 70 5 1 "Spanish (es)" 2 "English (en)"` +idiom=`dialog --stdout --nocancel --backtitle "JKArch Instalation" --title "Language selection" --menu "Select your language / Selecciona tu idioma" 0 70 5 1 "Spanish (es)" 2 "English (en) (In progress)"` if [[ $idiom -eq 1 ]];then sclang="es" diff --git a/archinstall/translations.sh b/archinstall/translations.sh index 1f2c684..903f812 100755 --- a/archinstall/translations.sh +++ b/archinstall/translations.sh @@ -2,16 +2,30 @@ function translate_es { case $1 in - "Hello") - echo "Hola";; + "Arch install script (BETA)") + echo "Script de instalación de Arch(BETA)";; + "Intro arch install script") + echo "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \n Ha sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso. \n Aviso: No debes interrumpir la instalacion por ningun motivo, a no ser que quieras que quede incompleta" + esac } +function translate_en { +case $1 in + "Arch install script (BETA)") + echo $1;; + "Intro arch install script") + echo "Through simple questions, we will install arch in your computer. Its designed to be simple and guied by options, but you need to be careful during the process. Warning: You musnt stop the install never, or anything can happen";; + +} + + function T { - case $sclang in "es") translate_es $1;; + "en") + translate_en $1;; esac }