diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 7b5b055..ceecfb8 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -28,7 +28,7 @@ clear mostrardialog "$(T "Questions about partitions")" "$(T "Text of questions about partitions dialog")" clear if [[ ! $(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') ]];then - mostrardialog "ERROR" "ERROR: No tienes discos duros, no se puede continuar. Por favor enchufe/inserte un disco duro y reinicie. \n Al pulsar aceptar se reiniciara el sistema" + mostrardialog "ERROR" "$(T "ERROR: You dont have HDD, insert one, poweroff") reboot fi optpa=`dialog --stdout --nocancel --menu "¿Quieres editar las particiones?¿De modo gráfico, o por la terminal?" 0 0 5 1 "Grafico con Gparted (Recomendado)" 2 "Terminal (Pequeño asistente o por tu cuenta)" 3 "Borrar un disco duro e instalar JKArch en el (usar con cuidado!)" 4 "No editar nada"` diff --git a/archinstall/translations.sh b/archinstall/translations.sh index eb413aa..9cb038d 100755 --- a/archinstall/translations.sh +++ b/archinstall/translations.sh @@ -18,8 +18,10 @@ case "$1" in echo "Preguntas acerca de las unidades donde instalar el sistema";; "Text of questions about partitions dialog") echo "Esta parte es la mas importante, antes de seguir se mostrarán los discos duros. Si esta vacío o es nuevo, recomendamos formatear en DOS/MBR. Si sabe lo que hace, o ya usaba GPT/UEFI, tendrá que seleccionar la partición EFI, recuerdelo \n (Si lo instala junto a windows 8.1/10 de 64 bits con UEFI activado, entonces usa EFI y tendrás que seleccionar la unidad EFI/ESP que utiliza luego) \n(UEFI NECESITA QUE EL ARRANQUE HAYA SIDO POR UEFI)";; + "ERROR: You dont have HDD, insert one, poweroff") + echo "ERROR: No tienes discos duros, no se puede continuar. Por favor enchufe/inserte un disco duro y reinicie. \n Al pulsar aceptar se reiniciara el sistema";; *) - translate_en "$1";; + echo "$1";; esac } @@ -41,8 +43,10 @@ case "$1" in echo "Questions about partitions where system will be installed";; "Text of questions about partitions dialog") echo "This is the most important part. We will show you your partition scheme. If it's empty, please format it in DOS/MBR type. If you know what are you doing, or if you have formatted in GPT/UEFI, you will have to select EFI/ESP partition later. \n(If you install it alongside with Windows 8.1/10 64 bits with UEFI, you will be to select EFI/ESP partition that windows makes) \n(UEFI NEEDS THAT COMPUTER BOOT HAS BEEN MADE IN UEFI MODE)";; + "ERROR: You dont have HDD, insert one, poweroff") + echo "ERROR: You dont have any HDD/SSD, setup can't continue. Plug-in some HDD/SSD and start again. When you press enter, computer will poweroff.";; *) - echo "$1";; + translate_es "$1";; esac }