From d1ab27daedd1e1b227b98b1919f3b294918b2867 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 16 2012 20:14:44 +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 898e37d..a54315f 100755 --- a/Scripts/Bash/Functions/Render/render_getDirOutput.sh +++ b/Scripts/Bash/Functions/Render/render_getDirOutput.sh @@ -71,7 +71,8 @@ function render_getDirOutput { # 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_isLocalized $TEMPLATE) == 'true' ]];then + ${CLI_NAME} locale --is-localizable ${TEMPLATE} + if [[ $? -eq 0 ]];then OUTPUT=${OUTPUT}/$(cli_getCurrentLocale) fi fi