From: Bruno Haible Date: Wed, 7 Nov 2001 11:13:07 +0000 (+0000) Subject: Update doc about GNU smalltalk. X-Git-Tag: v0.11~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0f72e4363e405b64ad4565965b7cef8a0bd730;p=thirdparty%2Fgettext.git Update doc about GNU smalltalk. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 20ca49a60..be04a36ec 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-07 Bruno Haible + + * gettext.texi (Smalltalk): Update from + Paolo Bonzini . + 2001-11-05 Bruno Haible * gettext.texi (Aspects): Write "German" instead of "French", since diff --git a/doc/gettext.texi b/doc/gettext.texi index f268c559d..679658e0f 100644 --- a/doc/gettext.texi +++ b/doc/gettext.texi @@ -6029,19 +6029,24 @@ smalltalk @*@code{self? ''abc''} @item gettext/ngettext functions -? +@code{LcMessagesDomain>>#at:}, @code{LcMessagesDomain>>#at:plural:with:} @item textdomain -? +@code{LcMessages>>#?} (returns a @code{LcMessagesDomain} object).@* +Example: @code{Locale default messages ? 'gettext'} @item bindtextdomain -? +@code{LcMessages>>#domain:directory:} (returns a @code{LcMessagesDomain} +object) @item setlocale -? +You can obtain any @code{Locale} object from @code{Locale} class methods +such as @code{#fromString:} or @code{#default}.@* +Example: @code{Locale default messages} gives the @code{LcMessages} +object for the default locale. @item Prerequisite -? +The gettext code is contained in the @file{I18N} package. @item Use or emulate GNU gettext emulate @@ -6050,10 +6055,10 @@ emulate --- @item Formatting with positions -? +@code{'%1 %2' bindWith: 'Hello' with: 'world'} @item Portability -fully portable, but locale handling relies on glibc-2.1 locale format +fully portable @item po-mode marking ---