Skip to content

Commit

Permalink
webui: add new file to the localization_update.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Mar 27, 2020
1 parent 0055280 commit d65aa5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/scripts/localization_update.sh
Expand Up @@ -9,7 +9,7 @@ LOCDIR='../module/Application/language/'
echo 'Message lookup ...'

find ../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --keyword=translate -L PHP --from-code=UTF-8 -o $POTFILE;
find ../ -regextype posix-egrep -regex '.*(functions.js)$$' | xargs xgettext --keyword=gettext --from-code=UTF-8 -j -o $POTFILE;
find ../ -regextype posix-egrep -regex '.*(formatter.js|functions.js)$$' | xargs xgettext --keyword=gettext --from-code=UTF-8 -j -o $POTFILE;

echo 'Message merge ...'
cd $LOCDIR
Expand Down

0 comments on commit d65aa5b

Please sign in to comment.