From 0929efe357b2b27c1c8fdee16d4b349c58d3034f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 18 Jan 2011 21:37:26 +0100 Subject: [PATCH] more fancy stuff :P --- check-translations.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/check-translations.sh b/check-translations.sh index b37d9f49b..36d66bf27 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -1,7 +1,15 @@ #!/bin/sh -for VM in menu client; do - find qcsrc/"$VM" -type f -not -name \*.po -not -name \*.txt | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2 +for VM in menu csprogs; do + case "$VM" in + csprogs) + VMD=client + ;; + *) + VMD=$VM + ;; + esac + find qcsrc/"$VMD" -type f -not -name \*.po -not -name \*.txt | xgettext -LC -k_ -f- --from-code utf-8 -o "$VM".dat.pot >&2 for X in "$VM".dat.*.po; do [ -f "$X" ] || continue msgmerge -F -U "$X" "$VM".dat.pot >&2 -- 2.39.2