From ef73f96bb0dea72c4f6cf71f6e78c665a9e439d8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 7 Mar 2002 13:26:36 +0000 Subject: [PATCH] Update for Tcl mode. --- doc/ChangeLog | 7 +++++++ doc/msgfmt.texi | 24 ++++++++++++++++++++++++ doc/msgunfmt.texi | 26 +++++++++++++++++++++++++- doc/xgettext.texi | 5 +++-- 4 files changed, 59 insertions(+), 3 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index f8fbb6c4c..d12c42e70 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +2002-03-07 Bruno Haible + + * xgettext.texi: Mention languages Python, Lisp, EmacsLisp, librep, + awk, Tcl, RST, Glade. + * msgfmt.texi: Mention Tcl mode. + * msgunfmt.texi: Likewise. + 2002-03-05 Bruno Haible * gettext.texi (Files You Must Create or Alter): Mention how things diff --git a/doc/msgfmt.texi b/doc/msgfmt.texi index 685f1d6a0..6de0b046b 100644 --- a/doc/msgfmt.texi +++ b/doc/msgfmt.texi @@ -39,6 +39,11 @@ Java mode: generate a Java @code{ResourceBundle} class. @opindex --java2@r{, @code{msgfmt} option} Like --java, and assume Java2 (JDK 1.2 or higher). +@item --tcl +@opindex --tcl@r{, @code{msgfmt} option} +@cindex Tcl mode, and @code{msgfmt} program +Tcl mode: generate a tcl/msgcat @file{.msg} file. + @end table @subsection Output file location @@ -92,6 +97,25 @@ The class name is determined by appending the locale name to the resource name, separated with an underscore. The @samp{-d} option is mandatory. The class is written under the specified directory. +@subsection Output file location in Tcl mode + +@table @samp +@item -l @var{locale} +@itemx --locale=@var{locale} +@opindex -l@r{, @code{msgfmt} option} +@opindex --locale@r{, @code{msgfmt} option} +Specify the locale name, either a language specification of the form @var{ll} +or a combined language and country specification of the form @var{ll_CC}. + +@item -d @var{directory} +@opindex -d@r{, @code{msgfmt} option} +Specify the base directory of @file{.msg} message catalogs. + +@end table + +The @samp{-l} and @samp{-d} options are mandatory. The @file{.msg} file is +written in the specified directory. + @subsection Input file interpretation @table @samp diff --git a/doc/msgunfmt.texi b/doc/msgunfmt.texi index c014cf835..353f839a5 100644 --- a/doc/msgunfmt.texi +++ b/doc/msgunfmt.texi @@ -16,7 +16,12 @@ Uniforum style .po file. @opindex -j@r{, @code{msgunfmt} option} @opindex --java@r{, @code{msgunfmt} option} @cindex Java mode, and @code{msgunfmt} program -Java mode: generate a Java @code{ResourceBundle} class. +Java mode: input is a Java @code{ResourceBundle} class. + +@item --tcl +@opindex --tcl@r{, @code{msgunfmt} option} +@cindex Tcl mode, and @code{msgunfmt} program +Tcl mode: input is a tcl/msgcat @file{.msg} file. @end table @@ -51,6 +56,25 @@ or a combined language and country specification of the form @var{ll_CC}. The class name is determined by appending the locale name to the resource name, separated with an underscore. The class is located using the @code{CLASSPATH}. +@subsection Input file location in Tcl mode + +@table @samp +@item -l @var{locale} +@itemx --locale=@var{locale} +@opindex -l@r{, @code{msgunfmt} option} +@opindex --locale@r{, @code{msgunfmt} option} +Specify the locale name, either a language specification of the form @var{ll} +or a combined language and country specification of the form @var{ll_CC}. + +@item -d @var{directory} +@opindex -d@r{, @code{msgunfmt} option} +Specify the base directory of @file{.msg} message catalogs. + +@end table + +The @samp{-l} and @samp{-d} options are mandatory. The @file{.msg} file is +located in the specified directory. + @subsection Output file location @table @samp diff --git a/doc/xgettext.texi b/doc/xgettext.texi index a3e7dee9e..2ec9280e5 100644 --- a/doc/xgettext.texi +++ b/doc/xgettext.texi @@ -69,8 +69,9 @@ is written to standard output. @opindex --language@r{, @code{xgettext} option} @cindex supported languages, @code{xgettext} Specifies the language of the input files. The supported languages -are @code{C}, @code{C++}, @code{ObjectiveC}, @code{PO}, @code{Java}, -@code{YCP}. +are @code{C}, @code{C++}, @code{ObjectiveC}, @code{PO}, @code{Python}, +@code{Lisp}, @code{EmacsLisp}, @code{librep}, @code{Java}, @code{awk}, +@code{YCP}, @code{Tcl}, @code{RST}, @code{Glade}. @item -C @itemx --c++ -- 2.47.2