Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/locales/locales_generator.sh
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/locales/locales_generator.sh')
-rwxr-xr-xarchinstall/locales/locales_generator.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/locales/locales_generator.sh b/archinstall/locales/locales_generator.sh
index 43e004d4..9432f83f 100755
--- a/archinstall/locales/locales_generator.sh
+++ b/archinstall/locales/locales_generator.sh
@@ -2,11 +2,11 @@
cd $(dirname "$0")/..
-find . -type f -iname "*.py" | xargs xgettext -j --omit-header -d base -o locales/base.pot
+find . -type f -iname "*.py" | xargs xgettext --join-existing --no-location --omit-header -d base -o locales/base.pot
for file in $(find locales/ -name "base.po"); do
echo "Updating: $file"
path=$(dirname $file)
- msgmerge --quiet --width 512 --update $file locales/base.pot
+ msgmerge --quiet --no-location --width 512 --update $file locales/base.pot
msgfmt -o $path/base.mo $file
done