From dd5d8b135080fa8a5471ef0b44d119286c1ba70d Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sat, 4 Jun 2016 00:54:15 +0200 Subject: [PATCH] changes --- archinstall/translations.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 }