[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
15.5.16 YCP - YaST2 scripting language
- RPMs
libycp, libycp-devel, yast2-core, yast2-core-devel
- File extension
ycp
- String syntax
"abc"
- gettext shorthand
_("abc")
- gettext/ngettext functions
_()
with 1 or 3 arguments- textdomain
textdomain
statement- bindtextdomain
—
- setlocale
—
- Prerequisite
—
- Use or emulate GNU gettext
use
- Extractor
xgettext
- Formatting with positions
sformat "%2 %1"
- Portability
fully portable
- po-mode marking
—
An example is available in the ‘examples’ directory: hello-ycp
.
This document was generated on June 7, 2014 using texi2html 5.0.