diff --git a/po/ChangeLog b/po/ChangeLog index 5bbb3315c..225918204 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2005-11-13 David Martin + + * update.pl: Identify Q_() strings for translation. + * update.sh: Likewise. + 2005-10-06 Leonard den Ottolander * nl.po: Do not use prefix in Q_() strings. diff --git a/po/update.pl b/po/update.pl index a8220dfcd..234cd3093 100755 --- a/po/update.pl +++ b/po/update.pl @@ -49,7 +49,7 @@ if ($LANG=~/^-(.)*/){ $b="xgettext --default-domain\=$PACKAGE --directory\=\.\." ." --add-comments=TRANSLATORS: --keyword\=\_ --keyword\=N\_" - ." --files-from\=\.\/POTFILES\.in "; + ." --keyword\=Q\_ --files-from\=\.\/POTFILES\.in "; $b1="test \! -f $PACKAGE\.po \|\| \( rm -f \.\/$PACKAGE\.pot " ."&& mv $PACKAGE\.po \.\/$PACKAGE\.pot \)"; @@ -135,7 +135,7 @@ elsif(-s "$LANG.po"){ $c="xgettext --default-domain\=$PACKAGE --directory\=\.\." ." --add-comments=TRANSLATORS: --keyword\=\_ --keyword\=N\_" - ." --files-from\=\.\/POTFILES\.in "; + ." --keyword\=Q\_ --files-from\=\.\/POTFILES\.in "; $c1="test \! -f $PACKAGE\.po \|\| \( rm -f \.\/$PACKAGE\.pot " ."&& mv $PACKAGE\.po \.\/$PACKAGE\.pot \)"; diff --git a/po/update.sh b/po/update.sh index 6e3e1331c..75bdb49f4 100755 --- a/po/update.sh +++ b/po/update.sh @@ -41,7 +41,7 @@ echo "Building the $PACKAGE.pot ..." xgettext --default-domain=$PACKAGE --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ - --files-from=./POTFILES.in \ + --keyword=Q_ --files-from=./POTFILES.in \ && test ! -f $PACKAGE.po \ || ( rm -f ./$PACKAGE.pot \ && mv $PACKAGE.po ./$PACKAGE.pot ); @@ -52,7 +52,7 @@ if [ -s $1.po ]; then xgettext --default-domain=$PACKAGE --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ - --files-from=./POTFILES.in \ + --keyword=Q_ --files-from=./POTFILES.in \ && test ! -f $PACKAGE.po \ || ( rm -f ./PACKAGE.pot \ && mv $PACKAGE.po ./$PACKAGE.pot );