From eb03d393bb564905c6cebef5f4d52c2e2148d4e6 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 19 2012 17:18:53 +0000 Subject: Update `Functions/Render/render_doTranslation.sh' file. --- diff --git a/Scripts/Bash/Functions/Render/render_doTranslation.sh b/Scripts/Bash/Functions/Render/render_doTranslation.sh index 444581b..69c8d29 100755 --- a/Scripts/Bash/Functions/Render/render_doTranslation.sh +++ b/Scripts/Bash/Functions/Render/render_doTranslation.sh @@ -82,7 +82,7 @@ function render_doTranslation { fi # Create the translated instance of design model. - ${COMMAND} ${TEMPLATE} | xml2po -a -l $(${CLI_NAME} locale --get-current-locale) \ + ${COMMAND} ${TEMPLATE} | xml2po -a -l ${CLI_LANG_LL} \ -p ${TRANSLATION_INSTANCE} -o ${INSTANCE} - # Remove .xml2po.mo temporal file. @@ -107,6 +107,6 @@ function render_doTranslation { popd > /dev/null # Verify instance existence. - cli_checkFiles $INSTANCE + cli_checkFiles -e $INSTANCE }