1 // Example for use of GNU gettext.
2 // This file is in the public domain.
4 // Source code of the YCP program.
7 textdomain "hello-ycp";
9 map bash_out = SCR::Execute (.target.bash_output, "echo $PPID");
10 integer pid = tointeger (bash_out["stdout"]:"99999");
15 `Label (_("Hello, world!")),
19 `Label (sformat (_("This program is running as process number %1."), pid)),
24 `PushButton (`opt(`default), "&OK")