From b0aa54170cdfe41b53beea958f700eef143d786e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 03 2011 20:49:29 +0000 Subject: Update render_getIdentityDefs.sh. --- diff --git a/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh b/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh index 9cd04ff..38e5a14 100644 --- a/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh +++ b/Scripts/Bash/Functions/Render/render_getIdentityDefs.sh @@ -29,7 +29,7 @@ function render_getIdentityDefs { # Define the translation file absolute path. Only if we have a # .png.sh extension at file's end we can consider that file as a # translation file. Otherwise there is not translation file. - if [[ ${FILE} =~ "\.${EXTENSION}$" ]];then + if [[ $TRANSLATIONPATH != '' ]];then TRANSLATION=${FILE} else TRANSLATION=`gettext "None"`