From: Bruno Haible Date: Sun, 28 Sep 2008 09:51:34 +0000 (+0000) Subject: Put the language with suffix into the "Language" field. X-Git-Tag: v0.18~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea405532efcf7f1c3b3528df49dc0d424a4bc3bd;p=thirdparty%2Fgettext.git Put the language with suffix into the "Language" field. --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index a82d6a5c6..63eb7aa7e 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,9 @@ +2008-09-28 Bruno Haible + + * Rules-quot (.insert-header.po-update-en): Pass the locale name with + suffix to msginit. Needed for the "Language:" field in the header + entry. + 2008-05-19 Bruno Haible * Makevars (XGETTEXT_OPTIONS): Remove the options for proper_name and diff --git a/gettext-runtime/po/Rules-quot b/gettext-runtime/po/Rules-quot index 9c2a995e3..af5248792 100644 --- a/gettext-runtime/po/Rules-quot +++ b/gettext-runtime/po/Rules-quot @@ -20,7 +20,7 @@ en@boldquot.po-update: en@boldquot.po-update-en ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ - if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ + if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog index 761b4e243..f1e3aaa04 100644 --- a/gettext-tools/po/ChangeLog +++ b/gettext-tools/po/ChangeLog @@ -1,3 +1,9 @@ +2008-09-28 Bruno Haible + + * Rules-quot (.insert-header.po-update-en): Pass the locale name with + suffix to msginit. Needed for the "Language:" field in the header + entry. + 2008-05-19 Bruno Haible * Makevars (XGETTEXT_OPTIONS): Remove the options for proper_name and diff --git a/gettext-tools/po/Rules-quot b/gettext-tools/po/Rules-quot index 9c2a995e3..af5248792 100644 --- a/gettext-tools/po/Rules-quot +++ b/gettext-tools/po/Rules-quot @@ -20,7 +20,7 @@ en@boldquot.po-update: en@boldquot.po-update-en ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ - if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ + if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \