Next: , Previous: wxWidgets, Up: List of Programming Languages   [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.