diff --git a/Scripts/Functions/Locale/locale_updateMessages.sh b/Scripts/Functions/Locale/locale_updateMessages.sh index e286d3b..9e8c010 100755 --- a/Scripts/Functions/Locale/locale_updateMessages.sh +++ b/Scripts/Functions/Locale/locale_updateMessages.sh @@ -36,13 +36,13 @@ function locale_updateMessages { # extract translatable strings from XML-based files or to use # xgettext to extract translatable strings from shell script # files. - if [[ $WORKDIR =~ "^${BASEDIR}/(Identity|Manual)/$(cli_getCurrentLocale)" ]];then + if [[ $WORKDIR =~ "^${BASEDIR}/(Identity|Manual)" ]];then # Update translatable strings inside portable object templates # for XML-based files (e.g., scalable vector graphics). ACTIONNAM="${FUNCNAM}_updateMessageXml" - elif [[ $WORKDIR =~ "^${BASEDIR}/Scripts/$(cli_getCurrentLocale)" ]];then + elif [[ $WORKDIR =~ "^${BASEDIR}/Scripts" ]];then # Update translatable strings inside portable object templates # for shell scripts (e.g., centos-art.sh script).