From 58361b0a230cd090c35456c2637b82c6e62b199d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 30 Apr 2011 10:03:47 +0200 Subject: [PATCH] update the translation fixing script to take input --- check-translations.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/check-translations.sh b/check-translations.sh index 297e16ef0..2a44b6034 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -16,6 +16,10 @@ for VM in menu csprogs; do } | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2 for X in "$VM".dat.*.po; do [ -f "$X" ] || continue + for Y in "$X".*.new; do + msgcat -F --use-first "$Y" "$X" > "$X".new + mv "$X".new "$X" + done msgmerge -F -U "$X" "$VM".dat.pot >&2 msgattrib --untranslated "$X" | grep . > "$X".untranslated || rm -f "$X".untranslated msgattrib --fuzzy "$X" | grep . > "$X".fuzzy || rm -f "$X".fuzzy -- 2.39.2