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:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-05-11 00:20:53 +1000
committerGitHub <noreply@github.com>2022-05-10 16:20:53 +0200
commitf80144e7c709013184c7a5536ac2ae9487af690f (patch)
treedc5507ea1979983021851346efd6696f973ac782 /archinstall/locales/locales_generator.sh
parent1320057218ea575bca2854e2f349a684369fc7c9 (diff)
Fixes #1048 and translation updates (#1156)
* Remove comments from translation files * Add german translations Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
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