From 06f6907fa0077b8cf8b06a6478c8ccf9003468e7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 17 2012 00:57:47 +0000 Subject: Update `Functions/Render/render_getDirOutput.sh' file. --- diff --git a/Scripts/Bash/Functions/Render/render_getDirOutput.sh b/Scripts/Bash/Functions/Render/render_getDirOutput.sh index a54315f..ed62375 100755 --- a/Scripts/Bash/Functions/Render/render_getDirOutput.sh +++ b/Scripts/Bash/Functions/Render/render_getDirOutput.sh @@ -70,10 +70,10 @@ function render_getDirOutput { # content in the correct location. Otherwise, we might end up # duplicating content (e.g., icons, brands, etc.) which doesn't # have any translation, nor any need to be translated. - if [[ ! $(cli_getCurrentLocale) =~ '^en' ]];then + if [[ ! $(${CLI_NAME} locale --get-current-locale) =~ '^en' ]];then ${CLI_NAME} locale --is-localizable ${TEMPLATE} if [[ $? -eq 0 ]];then - OUTPUT=${OUTPUT}/$(cli_getCurrentLocale) + OUTPUT=${OUTPUT}/$(${CLI_NAME} locale --get-current-locale) fi fi