From 6b82ba8d45a95fe9c2e80d29a3db85e28b1d2988 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sat, 4 Jun 2016 01:00:36 +0200 Subject: [PATCH] changes --- archinstall/archinstall.sh | 4 ++-- archinstall/translations.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index ec4b378..9278d7c 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -5,7 +5,7 @@ source translations.sh trap '' INT function pause { -echo "Pulse enter para continuar..." +echo "$(T "Pause funtion")" read } @@ -58,7 +58,7 @@ case $optpa in mostrardialog "Espera majo" "Esta opcion aun esta en construccion";; esac clear -tput setaf 6 ; echo "Este es tu esquema de particiones actual: " ; tput setaf 9 +tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9 lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL tput setaf 6 ; echo "Elige la particion a usar como sistema raĆ­z ('/')" ; tput setaf 9 options=($(lsblk --output KNAME | sed '1d' | grep 'sd\|hd' | grep '[1-9]$')) diff --git a/archinstall/translations.sh b/archinstall/translations.sh index 1bd7fdf..2e964ef 100755 --- a/archinstall/translations.sh +++ b/archinstall/translations.sh @@ -8,8 +8,12 @@ case "$1" in echo "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \nHa sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso. \nAviso: No debes interrumpir la instalacion por ningun motivo, a no ser que quieras que quede incompleta" "Part. scheme before your changes") echo "Esquema de particiones antes de los cambios";; + "Your partition scheme") + echo "Tu esquema de particiones:";; "Your changes") echo "Cambios que has realizado";; + "Pause function") + echo "Pulse enter para continuar...";; *) translate_en "$1";; esac @@ -23,8 +27,12 @@ case "$1" in echo "Through simple questions, we will install arch in your computer. \nIts designed to be simple and guied by options, but you need to be careful during the process. \nWarning: You musnt stop the install never, or anything can happen";; "Part. scheme before your changes") echo "Your partition scheme before your changes";; + "Your partition scheme") + echo "$1:";; "Your changes") echo "$1";; + "Pause function") + echo "Press enter to continue...";; *) echo "$1";; esac