• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@c This file is part of the GNU gettext manual.
2@c Copyright (C) 1995-2020 Free Software Foundation, Inc.
3@c See the file gettext.texi for copying conditions.
4
5@node YCP
6@subsection YCP - YaST2 scripting language
7@cindex YCP
8@cindex YaST2 scripting language
9
10@table @asis
11@item RPMs
12libycp, libycp-devel, yast2-core, yast2-core-devel
13
14@item Ubuntu packages
15---
16
17@item File extension
18@code{ycp}
19
20@item String syntax
21@code{"abc"}
22
23@item gettext shorthand
24@code{_("abc")}
25
26@item gettext/ngettext functions
27@code{_()} with 1 or 3 arguments
28
29@item textdomain
30@code{textdomain} statement
31
32@item bindtextdomain
33---
34
35@item setlocale
36---
37
38@item Prerequisite
39---
40
41@item Use or emulate GNU gettext
42use
43
44@item Extractor
45@code{xgettext}
46
47@item Formatting with positions
48@code{sformat "%2 %1"}
49
50@item Portability
51fully portable
52
53@item po-mode marking
54---
55@end table
56
57An example is available in the @file{examples} directory: @code{hello-ycp}.
58