From f80144e7c709013184c7a5536ac2ae9487af690f Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Wed, 11 May 2022 00:20:53 +1000 Subject: Fixes #1048 and translation updates (#1156) * Remove comments from translation files * Add german translations Co-authored-by: Daniel Girtler --- archinstall/locales/locales_generator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/locales/locales_generator.sh') 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 -- cgit v1.2.3-70-g09d2