Files
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
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.
2026-05-14 10:55:53 +01:00

75 lines
1.4 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 Lua
@subsection Lua
@table @asis
@item RPMs
lua
@item Ubuntu packages
lua, lua-gettext
@*
You need to install the @code{lua-gettext} package from
@url{https://gitlab.com/sukhichev/lua-gettext/blob/master/README.us.md}.
Debian and Ubuntu packages of it are available. Download the
appropriate one, and install it through
@samp{sudo dpkg -i lua-gettext_0.0_amd64.deb}.
@item File extension
@code{lua}
@item String syntax
@itemize @bullet
@item @code{"abc"}
@item @code{'abc'}
@item @code{[[abc]]}
@item @code{[=[abc]=]}
@item @code{[==[abc]==]}
@item ...
@end itemize
@item gettext shorthand
@code{_("abc")}
@item gettext/ngettext functions
@code{gettext.gettext}, @code{gettext.dgettext}, @code{gettext.dcgettext},
@code{gettext.ngettext}, @code{gettext.dngettext}, @code{gettext.dcngettext}
@item textdomain
@code{textdomain} function
@item bindtextdomain
@code{bindtextdomain} function
@item setlocale
automatic
@item Prerequisite
@code{require 'gettext'} or running lua interpreter with @code{-l gettext} option
@item Use or emulate GNU gettext
use
@item Extractor
@code{xgettext}
@item Formatting with positions
---
@item Portability
On platforms without gettext, the functions are not available.
@item po-mode marking
---
@end table