mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Whoops, fixed serious error in the code of script
This commit is contained in:
parent
9b1ef8d482
commit
4a02292bac
|
@ -4,7 +4,7 @@ for file in ${StringArray[@]}; do
|
|||
xgettext -L Python --package-name=RcGcDw -o "locale/templates/$file.pot" src/$file.py
|
||||
done
|
||||
# Get all translatable files for formatters
|
||||
find . -name '*.py' -print | xargs xgettext -L Python --package-name=RcGcDw -o "locale/templates/formatters.pot"
|
||||
find extensions/ -name '*.py' -print | xargs xgettext -L Python --package-name=RcGcDw -o "locale/templates/formatters.pot"
|
||||
for language in de fr lol pl pt-br ru uk zh-hans zh-hant hi
|
||||
do
|
||||
for file in ${StringArray[@]}; do
|
||||
|
@ -17,4 +17,4 @@ for language in de fr lol pl pt-br ru uk zh-hans zh-hant hi
|
|||
do
|
||||
msgmerge -U locale/$language/LC_MESSAGES/redaction.po locale/templates/redaction.pot
|
||||
msgmerge -U locale/$language/LC_MESSAGES/formatters.po locale/templates/formatters.pot
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue