Don't generate any backup locales files (#1313)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
parent
766176cfe2
commit
644b80d0bd
|
|
@ -7,6 +7,6 @@ find . -type f -iname "*.py" | xargs xgettext --join-existing --no-location --om
|
||||||
for file in $(find locales/ -name "base.po"); do
|
for file in $(find locales/ -name "base.po"); do
|
||||||
echo "Updating: $file"
|
echo "Updating: $file"
|
||||||
path=$(dirname $file)
|
path=$(dirname $file)
|
||||||
msgmerge --quiet --no-location --width 512 --update $file locales/base.pot
|
msgmerge --quiet --no-location --width 512 --backup none --update $file locales/base.pot
|
||||||
msgfmt -o $path/base.mo $file
|
msgfmt -o $path/base.mo $file
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue