Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
update i18n script (#55)
Browse files Browse the repository at this point in the history
let's shuffle the po a little bit
  • Loading branch information
nlehuby authored and Julien-laville committed Nov 5, 2018
1 parent e1f385f commit 4ae3ced
Show file tree
Hide file tree
Showing 4 changed files with 855 additions and 884 deletions.
3 changes: 2 additions & 1 deletion i18n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

set -ev
find config "views/" -name "*.ejs"| xargs xgettext --language=PHP --force-po -o tt.pot --from-code=UTF-8 -
find config bin "public/build/javascript/" -regex ".*\.\(yml\|js\)"| xargs xgettext --language=Python --force-po -o tt.pot --from-code=UTF-8 -j -
find config -name "*.yml"| xargs xgettext --language=Python --force-po -o tt.pot --from-code=UTF-8 -j -
find bin "public/build/javascript/" -name "*.js"| xargs xgettext --force-po -o tt.pot --from-code=UTF-8 -j -

for i in language/message/*.po; do msgmerge --no-fuzzy-matching --update $i tt.pot ;done

Expand Down
Loading

0 comments on commit 4ae3ced

Please sign in to comment.