From 56c4705b6f0e94c06613fb42834316558d3af3db Mon Sep 17 00:00:00 2001 From: kprkpr Date: Sun, 5 Jun 2016 19:56:42 +0200 Subject: [PATCH] changes --- archinstall/translations.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/archinstall/translations.sh b/archinstall/translations.sh index 2fad4ae..61373b9 100755 --- a/archinstall/translations.sh +++ b/archinstall/translations.sh @@ -1,8 +1,9 @@ #!/bin/bash -#Translation function for the script. Loaded by source translations.sh and used by $(T "Text") returing a 'echo "Translated text"' -#For adding a language you have to add "id") echo "Translated to id language" , putting in id your language (pr, en,it, es,...) -#The * represents "en" language, and is the standard output if it's not translated. ( "*)" == ' "en") ' ) English is the "universal" language. -#If translation of *) is echo "$1" it means trat is equal to the case (as case is writed in abreviated English, but sometimes is the same) +# Translation function for the script. Loaded by source translations.sh and used by $(T "Text") returing a 'echo "Translated text"' +# For adding a language you have to add "id") echo "Translated to id language" , putting in id your language (pr, en,it, es,...) +# Example: "es") echo "Traduccion de un texto";; +# The * represents "en" language, and is the standard output if it's not translated. ( "*)" == ' "en") ' ) English is the "universal" language. +# If translation of *) is echo "$1" it means trat is equal to the case (as case is writed in abreviated English, but sometimes is the same) function T { case "$1" in