diff options
author | Bruno Haible <bruno@clisp.org> | 2003-11-16 15:22:15 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:11:15 +0200 |
commit | 1fcc8f0fe589c15bc2c967c886e74407372633aa (patch) | |
tree | 74ff01cff34a7d89ca482271ab58a71226d412c8 /gettext-tools | |
parent | e76db3272835e866f90c036f6e0f642f71a5e1bf (diff) | |
download | external_gettext-1fcc8f0fe589c15bc2c967c886e74407372633aa.zip external_gettext-1fcc8f0fe589c15bc2c967c886e74407372633aa.tar.gz external_gettext-1fcc8f0fe589c15bc2c967c886e74407372633aa.tar.bz2 |
Document the new examples.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-tools/doc/gettext.texi | 36 |
2 files changed, 39 insertions, 2 deletions
diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index 282a1b6..e85aba5 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-15 Bruno Haible <bruno@clisp.org> + + * gettext.texi (C, sh, Python, Common Lisp, librep, Smalltalk, Java, + gawk, Pascal, YCP, Tcl, Perl, PHP): Mention the examples. + 2003-11-13 Bruno Haible <bruno@clisp.org> * Makefile.am (docdir): Use the value from the configure script. diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 56294c3..77c06c4 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -7629,6 +7629,11 @@ autoconf (gettext.m4) and #if ENABLE_NLS yes @end table +The following examples are available in the @file{examples} directory: +@code{hello-c}, @code{hello-c-gnome}, @code{hello-c++}, @code{hello-c++-qt}, +@code{hello-c++-kde}, @code{hello-c++-gnome}, @code{hello-objc}, +@code{hello-objc-gnustep}, @code{hello-objc-gnome}. + @node sh, bash, C, List of Programming Languages @subsection sh - Shell Script @cindex shell scripts @@ -7682,6 +7687,8 @@ fully portable --- @end table +An example is available in the @file{examples} directory: @code{hello-sh}. + @menu * Preparing Shell Scripts:: Preparing Shell Scripts for Internationalization * gettext.sh:: Contents of @code{gettext.sh} @@ -7926,6 +7933,8 @@ fully portable --- @end table +An example is available in the @file{examples} directory: @code{hello-python}. + @node Common Lisp, clisp C, Python, List of Programming Languages @subsection GNU clisp - Common Lisp @cindex Common Lisp @@ -7976,6 +7985,8 @@ On platforms without gettext, no translation. --- @end table +An example is available in the @file{examples} directory: @code{hello-clisp}. + @node clisp C, Emacs Lisp, Common Lisp, List of Programming Languages @subsection GNU clisp C sources @cindex clisp C sources @@ -8122,6 +8133,8 @@ On platforms without gettext, no translation. --- @end table +An example is available in the @file{examples} directory: @code{hello-librep}. + @node Smalltalk, Java, librep, List of Programming Languages @subsection GNU Smalltalk @cindex Smalltalk @@ -8172,6 +8185,9 @@ fully portable --- @end table +An example is available in the @file{examples} directory: +@code{hello-smalltalk}. + @node Java, gawk, Smalltalk, List of Programming Languages @subsection Java @cindex Java @@ -8284,6 +8300,9 @@ To use this API, one needs the @code{libintl.jar} file which is part of the GNU gettext package and distributed under the LGPL. @end enumerate +Three examples, using the second API, are available in the @file{examples} +directory: @code{hello-java}, @code{hello-java-awt}, @code{hello-java-swing}. + @node gawk, Pascal, Java, List of Programming Languages @subsection GNU awk @cindex awk @@ -8335,6 +8354,8 @@ yourself. --- @end table +An example is available in the @file{examples} directory: @code{hello-gawk}. + @node Pascal, wxWindows, gawk, List of Programming Languages @subsection Pascal - Free Pascal Compiler @cindex Pascal @@ -8392,6 +8413,8 @@ a @code{.mo} file corresponding to translations of this @code{.pot} file can be loaded using the @code{TranslateResourceStrings} function in the @code{gettext} unit. +An example is available in the @file{examples} directory: @code{hello-pascal}. + @node wxWindows, YCP, Pascal, List of Programming Languages @subsection wxWindows library @cindex @code{wxWindows} library @@ -8447,7 +8470,7 @@ yes @table @asis @item RPMs -libycp, libycp-devel, yast2-core-translator +libycp, libycp-devel, yast2-core, yast2-core-devel @item File extension @code{ycp} @@ -8474,7 +8497,7 @@ libycp, libycp-devel, yast2-core-translator --- @item Use or emulate GNU gettext -use maps instead +use @item Extractor @code{xgettext} @@ -8489,6 +8512,8 @@ fully portable --- @end table +An example is available in the @file{examples} directory: @code{hello-ycp}. + @node Tcl, Perl, YCP, List of Programming Languages @subsection Tcl - Tk's scripting language @cindex Tcl @@ -8539,6 +8564,9 @@ fully portable --- @end table +Two examples are available in the @file{examples} directory: +@code{hello-tcl}, @code{hello-tcl-tk}. + Before marking strings as internationalizable, substitutions of variables into the string need to be converted to @code{format} applications. For example, @code{"file $filename not found"} becomes @@ -8641,6 +8669,8 @@ Included in @code{libintl-perl}, available on CPAN @end table +An example is available in the @file{examples} directory: @code{hello-perl}. + @cindex marking Perl sources The @code{xgettext} parser backend for Perl differs significantly from @@ -9374,6 +9404,8 @@ On platforms without gettext, the functions are not available. --- @end table +An example is available in the @file{examples} directory: @code{hello-php}. + @node Pike, GCC-source, PHP, List of Programming Languages @subsection Pike @cindex Pike |