facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
@c This file is part of the GNU gettext manual.
|
|
@c Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
|
@c See the file gettext.texi for copying conditions.
|
|
|
|
@node Smalltalk
|
|
@subsection GNU Smalltalk
|
|
@cindex Smalltalk
|
|
|
|
@table @asis
|
|
@item RPMs
|
|
smalltalk
|
|
|
|
@item Ubuntu packages
|
|
gnu-smalltalk
|
|
|
|
@item File extension
|
|
@code{st}
|
|
|
|
@item String syntax
|
|
@code{'abc'}
|
|
|
|
@item gettext shorthand
|
|
@code{NLS ? 'abc'}
|
|
|
|
@item gettext/ngettext functions
|
|
@code{LcMessagesDomain>>#at:}, @code{LcMessagesDomain>>#at:plural:with:}
|
|
|
|
@item textdomain
|
|
@code{LcMessages>>#domain:localeDirectory:} (returns a @code{LcMessagesDomain}
|
|
object).@*
|
|
Example: @code{I18N Locale default messages domain: 'gettext' localeDirectory: /usr/local/share/locale'}
|
|
|
|
@item bindtextdomain
|
|
@code{LcMessages>>#domain:localeDirectory:}, see above.
|
|
|
|
@item setlocale
|
|
Automatic if you use @code{I18N Locale default}.
|
|
|
|
@item Prerequisite
|
|
@code{PackageLoader fileInPackage: 'I18N'!}
|
|
|
|
@item Use or emulate GNU gettext
|
|
emulate
|
|
|
|
@item Extractor
|
|
@code{xgettext}
|
|
|
|
@item Formatting with positions
|
|
@code{'%1 %2' bindWith: 'Hello' with: 'world'}
|
|
|
|
@item Portability
|
|
fully portable
|
|
|
|
@item po-mode marking
|
|
---
|
|
@end table
|
|
|
|
An example is available in the @file{examples} directory:
|
|
@code{hello-smalltalk}.
|