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"`