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:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-28 10:36:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-28 10:36:38 +0200
commitfaf925de1882be722d2994d697a802918282e509 (patch)
tree4856c76b10b36e94875ce3c9add961960bb23bf0 /archinstall/locales/locales_generator.sh
parent3801bee921d22e23435c781c469d9ec0adfa00bd (diff)
parent78449f75bc44f0e2b03cb9d909b9b78e4f7ca4c8 (diff)
Merge branch 'upstreamMaster'
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