diff --git a/archinstall/translations.sh b/archinstall/translations.sh index 9d3b87a..22dfb57 100755 --- a/archinstall/translations.sh +++ b/archinstall/translations.sh @@ -1,20 +1,24 @@ #!/bin/bash function translate_es { -case $1 in +case "$1" in "Arch install script (BETA)") echo "Script de instalacion de Arch(BETA)";; "Intro arch install script") 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" + *) + translate_en "$1";; esac } function translate_en { -case $1 in +case "$1" in "Arch install script (BETA)") echo "Arch install script (BETA)";; "Intro arch install script") 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";; + *) + echo "$1";; esac }