1 // Example for use of GNU gettext.
2 // Copyright (C) 2003 Free Software Foundation, Inc.
3 // This file is in the public domain.
5 // Source code of the YCP program.
8 textdomain "hello-ycp";
10 map bash_out = SCR::Execute (.target.bash_output, "echo $PPID");
11 integer pid = tointeger (bash_out["stdout"]:"99999");
16 `Label (_("Hello, world!")),
20 `Label (sformat (_("This program is running as process number %1."), pid)),
25 `PushButton (`opt(`default), "&OK")