From: Bruno Haible Date: Mon, 1 Oct 2007 00:57:51 +0000 (+0000) Subject: Mention how to set the package name and version in a POT file. X-Git-Tag: v0.17~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f6b1e39c1885245d5d94013cdac51bd44122dd;p=thirdparty%2Fgettext.git Mention how to set the package name and version in a POT file. --- diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index e389838fd..328ebdc50 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-09-30 Bruno Haible + + * xgettext.texi: Document options --package-name, --package-version. + * gettext.texi (Header Entry): Mention that the Project-Id-Version may + already be filled in. + 2007-09-30 Bruno Haible * gettext.texi (PO Files): Mention kde-format. diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 4736739d9..a0df92093 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -2867,7 +2867,8 @@ entry. You should fill in the following fields. @table @asis @item Project-Id-Version -This is the name and version of the package. +This is the name and version of the package. Fill it in if it has not +already been filled in by @code{xgettext}. @item Report-Msgid-Bugs-To This has already been filled in by @code{xgettext}. It contains an email diff --git a/gettext-tools/doc/xgettext.texi b/gettext-tools/doc/xgettext.texi index b9e9cc1cc..c73ef3739 100644 --- a/gettext-tools/doc/xgettext.texi +++ b/gettext-tools/doc/xgettext.texi @@ -451,6 +451,15 @@ Omit FSF copyright in output. This option is equivalent to @samp{--copyright-holder=''}. It can be useful for packages outside the GNU project that want their translations to be in the public domain. +@item --package-name=@var{package} +@opindex --package-name@r{, @code{xgettext} option} +Set the package name in the header of the output. + +@item --package-version=@var{version} +@opindex --package-version@r{, @code{xgettext} option} +Set the package version in the header of the output. This option has an +effect only if the @samp{--package-name} option is also used. + @item --msgid-bugs-address=@var{email@@address} @opindex --msgid-bugs-address@r{, @code{xgettext} option} Set the reporting address for msgid bugs. This is the email address or URL