(gettext.info)YCP


Next: Tcl Prev: wxWidgets Up: List of Programming Languages
Enter node , (file) or (file)node

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’.


automatically generated by info2www version 1.2.2.9