* "help" command
*/
static const vshCmdInfo info_help[] = {
- {"help", gettext_noop("print help")},
- {"desc", gettext_noop("Prints global help or command specific help.")},
+ {"help", N_("print help")},
+ {"desc", N_("Prints global help or command specific help.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_help[] = {
- {"command", VSH_OT_DATA, 0, gettext_noop("name of command")},
+ {"command", VSH_OT_DATA, 0, N_("name of command")},
{NULL, 0, 0, NULL}
};
* "autostart" command
*/
static const vshCmdInfo info_autostart[] = {
- {"help", gettext_noop("autostart a domain")},
+ {"help", N_("autostart a domain")},
{"desc",
- gettext_noop("Configure a domain to be automatically started at boot.")},
+ N_("Configure a domain to be automatically started at boot.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_autostart[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"disable", VSH_OT_BOOL, 0, gettext_noop("disable autostarting")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"disable", VSH_OT_BOOL, 0, N_("disable autostarting")},
{NULL, 0, 0, NULL}
};
* "connect" command
*/
static const vshCmdInfo info_connect[] = {
- {"help", gettext_noop("(re)connect to hypervisor")},
+ {"help", N_("(re)connect to hypervisor")},
{"desc",
- gettext_noop("Connect to local hypervisor. This is built-in command after shell start up.")},
+ N_("Connect to local hypervisor. This is built-in command after shell start up.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_connect[] = {
- {"name", VSH_OT_DATA, 0, gettext_noop("hypervisor connection URI")},
- {"readonly", VSH_OT_BOOL, 0, gettext_noop("read-only connection")},
+ {"name", VSH_OT_DATA, 0, N_("hypervisor connection URI")},
+ {"readonly", VSH_OT_BOOL, 0, N_("read-only connection")},
{NULL, 0, 0, NULL}
};
* "console" command
*/
static const vshCmdInfo info_console[] = {
- {"help", gettext_noop("connect to the guest console")},
+ {"help", N_("connect to the guest console")},
{"desc",
- gettext_noop("Connect the virtual serial console for the guest")},
+ N_("Connect the virtual serial console for the guest")},
{NULL, NULL}
};
static const vshCmdOptDef opts_console[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "list" command
*/
static const vshCmdInfo info_list[] = {
- {"help", gettext_noop("list domains")},
- {"desc", gettext_noop("Returns list of domains.")},
+ {"help", N_("list domains")},
+ {"desc", N_("Returns list of domains.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_list[] = {
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("list inactive domains")},
- {"all", VSH_OT_BOOL, 0, gettext_noop("list inactive & active domains")},
+ {"inactive", VSH_OT_BOOL, 0, N_("list inactive domains")},
+ {"all", VSH_OT_BOOL, 0, N_("list inactive & active domains")},
{NULL, 0, 0, NULL}
};
* "domstate" command
*/
static const vshCmdInfo info_domstate[] = {
- {"help", gettext_noop("domain state")},
- {"desc", gettext_noop("Returns state about a domain.")},
+ {"help", N_("domain state")},
+ {"desc", N_("Returns state about a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_domstate[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
/* "domblkstat" command
*/
static const vshCmdInfo info_domblkstat[] = {
- {"help", gettext_noop("get device block stats for a domain")},
- {"desc", gettext_noop("Get device block stats for a running domain.")},
+ {"help", N_("get device block stats for a domain")},
+ {"desc", N_("Get device block stats for a running domain.")},
{NULL,NULL}
};
static const vshCmdOptDef opts_domblkstat[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"device", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("block device")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"device", VSH_OT_DATA, VSH_OFLAG_REQ, N_("block device")},
{NULL, 0, 0, NULL}
};
/* "domifstat" command
*/
static const vshCmdInfo info_domifstat[] = {
- {"help", gettext_noop("get network interface stats for a domain")},
- {"desc", gettext_noop("Get network interface stats for a running domain.")},
+ {"help", N_("get network interface stats for a domain")},
+ {"desc", N_("Get network interface stats for a running domain.")},
{NULL,NULL}
};
static const vshCmdOptDef opts_domifstat[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface device")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface device")},
{NULL, 0, 0, NULL}
};
* "dommemstats" command
*/
static const vshCmdInfo info_dommemstat[] = {
- {"help", gettext_noop("get memory statistics for a domain")},
- {"desc", gettext_noop("Get memory statistics for a runnng domain.")},
+ {"help", N_("get memory statistics for a domain")},
+ {"desc", N_("Get memory statistics for a runnng domain.")},
{NULL,NULL}
};
static const vshCmdOptDef opts_dommemstat[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "suspend" command
*/
static const vshCmdInfo info_suspend[] = {
- {"help", gettext_noop("suspend a domain")},
- {"desc", gettext_noop("Suspend a running domain.")},
+ {"help", N_("suspend a domain")},
+ {"desc", N_("Suspend a running domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_suspend[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "create" command
*/
static const vshCmdInfo info_create[] = {
- {"help", gettext_noop("create a domain from an XML file")},
- {"desc", gettext_noop("Create a domain.")},
+ {"help", N_("create a domain from an XML file")},
+ {"desc", N_("Create a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_create[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML domain description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML domain description")},
#ifndef WIN32
- {"console", VSH_OT_BOOL, 0, gettext_noop("attach to console after creation")},
+ {"console", VSH_OT_BOOL, 0, N_("attach to console after creation")},
#endif
{NULL, 0, 0, NULL}
};
* "define" command
*/
static const vshCmdInfo info_define[] = {
- {"help", gettext_noop("define (but don't start) a domain from an XML file")},
- {"desc", gettext_noop("Define a domain.")},
+ {"help", N_("define (but don't start) a domain from an XML file")},
+ {"desc", N_("Define a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_define[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML domain description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML domain description")},
{NULL, 0, 0, NULL}
};
* "undefine" command
*/
static const vshCmdInfo info_undefine[] = {
- {"help", gettext_noop("undefine an inactive domain")},
- {"desc", gettext_noop("Undefine the configuration for an inactive domain.")},
+ {"help", N_("undefine an inactive domain")},
+ {"desc", N_("Undefine the configuration for an inactive domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_undefine[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name or uuid")},
{NULL, 0, 0, NULL}
};
* "start" command
*/
static const vshCmdInfo info_start[] = {
- {"help", gettext_noop("start a (previously defined) inactive domain")},
- {"desc", gettext_noop("Start a domain.")},
+ {"help", N_("start a (previously defined) inactive domain")},
+ {"desc", N_("Start a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_start[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("name of the inactive domain")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("name of the inactive domain")},
#ifndef WIN32
- {"console", VSH_OT_BOOL, 0, gettext_noop("attach to console after creation")},
+ {"console", VSH_OT_BOOL, 0, N_("attach to console after creation")},
#endif
{NULL, 0, 0, NULL}
};
* "save" command
*/
static const vshCmdInfo info_save[] = {
- {"help", gettext_noop("save a domain state to a file")},
- {"desc", gettext_noop("Save a running domain.")},
+ {"help", N_("save a domain state to a file")},
+ {"desc", N_("Save a running domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_save[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("where to save the data")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("where to save the data")},
{NULL, 0, 0, NULL}
};
* "schedinfo" command
*/
static const vshCmdInfo info_schedinfo[] = {
- {"help", gettext_noop("show/set scheduler parameters")},
- {"desc", gettext_noop("Show/Set scheduler parameters.")},
+ {"help", N_("show/set scheduler parameters")},
+ {"desc", N_("Show/Set scheduler parameters.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_schedinfo[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"set", VSH_OT_STRING, VSH_OFLAG_NONE, gettext_noop("parameter=value")},
- {"weight", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("weight for XEN_CREDIT")},
- {"cap", VSH_OT_INT, VSH_OFLAG_NONE, gettext_noop("cap for XEN_CREDIT")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"set", VSH_OT_STRING, VSH_OFLAG_NONE, N_("parameter=value")},
+ {"weight", VSH_OT_INT, VSH_OFLAG_NONE, N_("weight for XEN_CREDIT")},
+ {"cap", VSH_OT_INT, VSH_OFLAG_NONE, N_("cap for XEN_CREDIT")},
{NULL, 0, 0, NULL}
};
* "restore" command
*/
static const vshCmdInfo info_restore[] = {
- {"help", gettext_noop("restore a domain from a saved state in a file")},
- {"desc", gettext_noop("Restore a domain.")},
+ {"help", N_("restore a domain from a saved state in a file")},
+ {"desc", N_("Restore a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_restore[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("the state to restore")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("the state to restore")},
{NULL, 0, 0, NULL}
};
* "dump" command
*/
static const vshCmdInfo info_dump[] = {
- {"help", gettext_noop("dump the core of a domain to a file for analysis")},
- {"desc", gettext_noop("Core dump a domain.")},
+ {"help", N_("dump the core of a domain to a file for analysis")},
+ {"desc", N_("Core dump a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_dump[] = {
- {"live", VSH_OT_BOOL, 0, gettext_noop("perform a live core dump if supported")},
- {"crash", VSH_OT_BOOL, 0, gettext_noop("crash the domain after core dump")},
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("where to dump the core")},
+ {"live", VSH_OT_BOOL, 0, N_("perform a live core dump if supported")},
+ {"crash", VSH_OT_BOOL, 0, N_("crash the domain after core dump")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("where to dump the core")},
{NULL, 0, 0, NULL}
};
* "resume" command
*/
static const vshCmdInfo info_resume[] = {
- {"help", gettext_noop("resume a domain")},
- {"desc", gettext_noop("Resume a previously suspended domain.")},
+ {"help", N_("resume a domain")},
+ {"desc", N_("Resume a previously suspended domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_resume[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "shutdown" command
*/
static const vshCmdInfo info_shutdown[] = {
- {"help", gettext_noop("gracefully shutdown a domain")},
- {"desc", gettext_noop("Run shutdown in the target domain.")},
+ {"help", N_("gracefully shutdown a domain")},
+ {"desc", N_("Run shutdown in the target domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_shutdown[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "reboot" command
*/
static const vshCmdInfo info_reboot[] = {
- {"help", gettext_noop("reboot a domain")},
- {"desc", gettext_noop("Run a reboot command in the target domain.")},
+ {"help", N_("reboot a domain")},
+ {"desc", N_("Run a reboot command in the target domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_reboot[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "destroy" command
*/
static const vshCmdInfo info_destroy[] = {
- {"help", gettext_noop("destroy a domain")},
- {"desc", gettext_noop("Destroy a given domain.")},
+ {"help", N_("destroy a domain")},
+ {"desc", N_("Destroy a given domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_destroy[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "dominfo" command
*/
static const vshCmdInfo info_dominfo[] = {
- {"help", gettext_noop("domain information")},
- {"desc", gettext_noop("Returns basic information about the domain.")},
+ {"help", N_("domain information")},
+ {"desc", N_("Returns basic information about the domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_dominfo[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "domjobinfo" command
*/
static const vshCmdInfo info_domjobinfo[] = {
- {"help", gettext_noop("domain job information")},
- {"desc", gettext_noop("Returns information about jobs running on a domain.")},
+ {"help", N_("domain job information")},
+ {"desc", N_("Returns information about jobs running on a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_domjobinfo[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "domjobabort" command
*/
static const vshCmdInfo info_domjobabort[] = {
- {"help", gettext_noop("abort active domain job")},
- {"desc", gettext_noop("Aborts the currently running domain job")},
+ {"help", N_("abort active domain job")},
+ {"desc", N_("Aborts the currently running domain job")},
{NULL, NULL}
};
static const vshCmdOptDef opts_domjobabort[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "freecell" command
*/
static const vshCmdInfo info_freecell[] = {
- {"help", gettext_noop("NUMA free memory")},
- {"desc", gettext_noop("display available free memory for the NUMA cell.")},
+ {"help", N_("NUMA free memory")},
+ {"desc", N_("display available free memory for the NUMA cell.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_freecell[] = {
- {"cellno", VSH_OT_DATA, 0, gettext_noop("NUMA cell number")},
+ {"cellno", VSH_OT_DATA, 0, N_("NUMA cell number")},
{NULL, 0, 0, NULL}
};
* "vcpuinfo" command
*/
static const vshCmdInfo info_vcpuinfo[] = {
- {"help", gettext_noop("domain vcpu information")},
- {"desc", gettext_noop("Returns basic information about the domain virtual CPUs.")},
+ {"help", N_("domain vcpu information")},
+ {"desc", N_("Returns basic information about the domain virtual CPUs.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vcpuinfo[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "vcpupin" command
*/
static const vshCmdInfo info_vcpupin[] = {
- {"help", gettext_noop("control domain vcpu affinity")},
- {"desc", gettext_noop("Pin domain VCPUs to host physical CPUs.")},
+ {"help", N_("control domain vcpu affinity")},
+ {"desc", N_("Pin domain VCPUs to host physical CPUs.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vcpupin[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"vcpu", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vcpu number")},
- {"cpulist", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("host cpu number(s) (comma separated)")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"vcpu", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vcpu number")},
+ {"cpulist", VSH_OT_DATA, VSH_OFLAG_REQ, N_("host cpu number(s) (comma separated)")},
{NULL, 0, 0, NULL}
};
* "setvcpus" command
*/
static const vshCmdInfo info_setvcpus[] = {
- {"help", gettext_noop("change number of virtual CPUs")},
- {"desc", gettext_noop("Change the number of virtual CPUs in the guest domain.")},
+ {"help", N_("change number of virtual CPUs")},
+ {"desc", N_("Change the number of virtual CPUs in the guest domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_setvcpus[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"count", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("number of virtual CPUs")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"count", VSH_OT_DATA, VSH_OFLAG_REQ, N_("number of virtual CPUs")},
{NULL, 0, 0, NULL}
};
* "setmemory" command
*/
static const vshCmdInfo info_setmem[] = {
- {"help", gettext_noop("change memory allocation")},
- {"desc", gettext_noop("Change the current memory allocation in the guest domain.")},
+ {"help", N_("change memory allocation")},
+ {"desc", N_("Change the current memory allocation in the guest domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_setmem[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"kilobytes", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("number of kilobytes of memory")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"kilobytes", VSH_OT_DATA, VSH_OFLAG_REQ, N_("number of kilobytes of memory")},
{NULL, 0, 0, NULL}
};
* "setmaxmem" command
*/
static const vshCmdInfo info_setmaxmem[] = {
- {"help", gettext_noop("change maximum memory limit")},
- {"desc", gettext_noop("Change the maximum memory allocation limit in the guest domain.")},
+ {"help", N_("change maximum memory limit")},
+ {"desc", N_("Change the maximum memory allocation limit in the guest domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_setmaxmem[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"kilobytes", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("maximum memory limit in kilobytes")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"kilobytes", VSH_OT_DATA, VSH_OFLAG_REQ, N_("maximum memory limit in kilobytes")},
{NULL, 0, 0, NULL}
};
* "nodeinfo" command
*/
static const vshCmdInfo info_nodeinfo[] = {
- {"help", gettext_noop("node information")},
- {"desc", gettext_noop("Returns basic information about the node.")},
+ {"help", N_("node information")},
+ {"desc", N_("Returns basic information about the node.")},
{NULL, NULL}
};
* "capabilities" command
*/
static const vshCmdInfo info_capabilities[] = {
- {"help", gettext_noop("capabilities")},
- {"desc", gettext_noop("Returns capabilities of hypervisor/driver.")},
+ {"help", N_("capabilities")},
+ {"desc", N_("Returns capabilities of hypervisor/driver.")},
{NULL, NULL}
};
* "dumpxml" command
*/
static const vshCmdInfo info_dumpxml[] = {
- {"help", gettext_noop("domain information in XML")},
- {"desc", gettext_noop("Output the domain information as an XML dump to stdout.")},
+ {"help", N_("domain information in XML")},
+ {"desc", N_("Output the domain information as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_dumpxml[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("show inactive defined XML")},
- {"security-info", VSH_OT_BOOL, 0, gettext_noop("include security sensitive information in XML dump")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"inactive", VSH_OT_BOOL, 0, N_("show inactive defined XML")},
+ {"security-info", VSH_OT_BOOL, 0, N_("include security sensitive information in XML dump")},
{NULL, 0, 0, NULL}
};
* "domxml-from-native" command
*/
static const vshCmdInfo info_domxmlfromnative[] = {
- {"help", gettext_noop("Convert native config to domain XML")},
- {"desc", gettext_noop("Convert native guest configuration format to domain XML format.")},
+ {"help", N_("Convert native config to domain XML")},
+ {"desc", N_("Convert native guest configuration format to domain XML format.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_domxmlfromnative[] = {
- {"format", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("source config data format")},
- {"config", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("config data file to import from")},
+ {"format", VSH_OT_DATA, VSH_OFLAG_REQ, N_("source config data format")},
+ {"config", VSH_OT_DATA, VSH_OFLAG_REQ, N_("config data file to import from")},
{NULL, 0, 0, NULL}
};
* "domxml-to-native" command
*/
static const vshCmdInfo info_domxmltonative[] = {
- {"help", gettext_noop("Convert domain XML to native config")},
- {"desc", gettext_noop("Convert domain XML config to a native guest configuration format.")},
+ {"help", N_("Convert domain XML to native config")},
+ {"desc", N_("Convert domain XML config to a native guest configuration format.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_domxmltonative[] = {
- {"format", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("target config data type format")},
- {"xml", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("xml data file to export from")},
+ {"format", VSH_OT_DATA, VSH_OFLAG_REQ, N_("target config data type format")},
+ {"xml", VSH_OT_DATA, VSH_OFLAG_REQ, N_("xml data file to export from")},
{NULL, 0, 0, NULL}
};
* "domname" command
*/
static const vshCmdInfo info_domname[] = {
- {"help", gettext_noop("convert a domain id or UUID to domain name")},
+ {"help", N_("convert a domain id or UUID to domain name")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_domname[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain id or uuid")},
{NULL, 0, 0, NULL}
};
* "domid" command
*/
static const vshCmdInfo info_domid[] = {
- {"help", gettext_noop("convert a domain name or UUID to domain id")},
+ {"help", N_("convert a domain name or UUID to domain id")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_domid[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name or uuid")},
{NULL, 0, 0, NULL}
};
* "domuuid" command
*/
static const vshCmdInfo info_domuuid[] = {
- {"help", gettext_noop("convert a domain name or id to domain UUID")},
+ {"help", N_("convert a domain name or id to domain UUID")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_domuuid[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain id or name")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain id or name")},
{NULL, 0, 0, NULL}
};
* "migrate" command
*/
static const vshCmdInfo info_migrate[] = {
- {"help", gettext_noop("migrate domain to another host")},
- {"desc", gettext_noop("Migrate domain to another host. Add --live for live migration.")},
+ {"help", N_("migrate domain to another host")},
+ {"desc", N_("Migrate domain to another host. Add --live for live migration.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_migrate[] = {
- {"live", VSH_OT_BOOL, 0, gettext_noop("live migration")},
- {"p2p", VSH_OT_BOOL, 0, gettext_noop("peer-2-peer migration")},
- {"direct", VSH_OT_BOOL, 0, gettext_noop("direct migration")},
- {"tunnelled", VSH_OT_BOOL, 0, gettext_noop("tunnelled migration")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist VM on destination")},
- {"undefinesource", VSH_OT_BOOL, 0, gettext_noop("undefine VM on source")},
- {"suspend", VSH_OT_BOOL, 0, gettext_noop("do not restart the domain on the destination host")},
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"desturi", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("connection URI of the destination host")},
- {"migrateuri", VSH_OT_DATA, 0, gettext_noop("migration URI, usually can be omitted")},
- {"dname", VSH_OT_DATA, 0, gettext_noop("rename to new name during migration (if supported)")},
+ {"live", VSH_OT_BOOL, 0, N_("live migration")},
+ {"p2p", VSH_OT_BOOL, 0, N_("peer-2-peer migration")},
+ {"direct", VSH_OT_BOOL, 0, N_("direct migration")},
+ {"tunnelled", VSH_OT_BOOL, 0, N_("tunnelled migration")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist VM on destination")},
+ {"undefinesource", VSH_OT_BOOL, 0, N_("undefine VM on source")},
+ {"suspend", VSH_OT_BOOL, 0, N_("do not restart the domain on the destination host")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"desturi", VSH_OT_DATA, VSH_OFLAG_REQ, N_("connection URI of the destination host")},
+ {"migrateuri", VSH_OT_DATA, 0, N_("migration URI, usually can be omitted")},
+ {"dname", VSH_OT_DATA, 0, N_("rename to new name during migration (if supported)")},
{NULL, 0, 0, NULL}
};
* "net-autostart" command
*/
static const vshCmdInfo info_network_autostart[] = {
- {"help", gettext_noop("autostart a network")},
+ {"help", N_("autostart a network")},
{"desc",
- gettext_noop("Configure a network to be automatically started at boot.")},
+ N_("Configure a network to be automatically started at boot.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_autostart[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name or uuid")},
- {"disable", VSH_OT_BOOL, 0, gettext_noop("disable autostarting")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name or uuid")},
+ {"disable", VSH_OT_BOOL, 0, N_("disable autostarting")},
{NULL, 0, 0, NULL}
};
* "net-create" command
*/
static const vshCmdInfo info_network_create[] = {
- {"help", gettext_noop("create a network from an XML file")},
- {"desc", gettext_noop("Create a network.")},
+ {"help", N_("create a network from an XML file")},
+ {"desc", N_("Create a network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_create[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML network description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML network description")},
{NULL, 0, 0, NULL}
};
* "net-define" command
*/
static const vshCmdInfo info_network_define[] = {
- {"help", gettext_noop("define (but don't start) a network from an XML file")},
- {"desc", gettext_noop("Define a network.")},
+ {"help", N_("define (but don't start) a network from an XML file")},
+ {"desc", N_("Define a network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_define[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML network description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML network description")},
{NULL, 0, 0, NULL}
};
* "net-destroy" command
*/
static const vshCmdInfo info_network_destroy[] = {
- {"help", gettext_noop("destroy a network")},
- {"desc", gettext_noop("Destroy a given network.")},
+ {"help", N_("destroy a network")},
+ {"desc", N_("Destroy a given network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_destroy[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name, id or uuid")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "net-dumpxml" command
*/
static const vshCmdInfo info_network_dumpxml[] = {
- {"help", gettext_noop("network information in XML")},
- {"desc", gettext_noop("Output the network information as an XML dump to stdout.")},
+ {"help", N_("network information in XML")},
+ {"desc", N_("Output the network information as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_dumpxml[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name, id or uuid")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "iface-edit" command
*/
static const vshCmdInfo info_interface_edit[] = {
- {"help", gettext_noop("edit XML configuration for a physical host interface")},
- {"desc", gettext_noop("Edit the XML configuration for a physical host interface.")},
+ {"help", N_("edit XML configuration for a physical host interface")},
+ {"desc", N_("Edit the XML configuration for a physical host interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_edit[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name or MAC address")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name or MAC address")},
{NULL, 0, 0, NULL}
};
* "net-list" command
*/
static const vshCmdInfo info_network_list[] = {
- {"help", gettext_noop("list networks")},
- {"desc", gettext_noop("Returns list of networks.")},
+ {"help", N_("list networks")},
+ {"desc", N_("Returns list of networks.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_list[] = {
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("list inactive networks")},
- {"all", VSH_OT_BOOL, 0, gettext_noop("list inactive & active networks")},
+ {"inactive", VSH_OT_BOOL, 0, N_("list inactive networks")},
+ {"all", VSH_OT_BOOL, 0, N_("list inactive & active networks")},
{NULL, 0, 0, NULL}
};
* "net-name" command
*/
static const vshCmdInfo info_network_name[] = {
- {"help", gettext_noop("convert a network UUID to network name")},
+ {"help", N_("convert a network UUID to network name")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_name[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network uuid")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network uuid")},
{NULL, 0, 0, NULL}
};
* "net-start" command
*/
static const vshCmdInfo info_network_start[] = {
- {"help", gettext_noop("start a (previously defined) inactive network")},
- {"desc", gettext_noop("Start a network.")},
+ {"help", N_("start a (previously defined) inactive network")},
+ {"desc", N_("Start a network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_start[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("name of the inactive network")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("name of the inactive network")},
{NULL, 0, 0, NULL}
};
* "net-undefine" command
*/
static const vshCmdInfo info_network_undefine[] = {
- {"help", gettext_noop("undefine an inactive network")},
- {"desc", gettext_noop("Undefine the configuration for an inactive network.")},
+ {"help", N_("undefine an inactive network")},
+ {"desc", N_("Undefine the configuration for an inactive network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_undefine[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name or uuid")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name or uuid")},
{NULL, 0, 0, NULL}
};
* "net-uuid" command
*/
static const vshCmdInfo info_network_uuid[] = {
- {"help", gettext_noop("convert a network name to network UUID")},
+ {"help", N_("convert a network name to network UUID")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_uuid[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name")},
{NULL, 0, 0, NULL}
};
* "iface-list" command
*/
static const vshCmdInfo info_interface_list[] = {
- {"help", gettext_noop("list physical host interfaces")},
- {"desc", gettext_noop("Returns list of physical host interfaces.")},
+ {"help", N_("list physical host interfaces")},
+ {"desc", N_("Returns list of physical host interfaces.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_list[] = {
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("list inactive interfaces")},
- {"all", VSH_OT_BOOL, 0, gettext_noop("list inactive & active interfaces")},
+ {"inactive", VSH_OT_BOOL, 0, N_("list inactive interfaces")},
+ {"all", VSH_OT_BOOL, 0, N_("list inactive & active interfaces")},
{NULL, 0, 0, NULL}
};
static int
* "iface-name" command
*/
static const vshCmdInfo info_interface_name[] = {
- {"help", gettext_noop("convert an interface MAC address to interface name")},
+ {"help", N_("convert an interface MAC address to interface name")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_name[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface mac")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface mac")},
{NULL, 0, 0, NULL}
};
* "iface-mac" command
*/
static const vshCmdInfo info_interface_mac[] = {
- {"help", gettext_noop("convert an interface name to interface MAC address")},
+ {"help", N_("convert an interface name to interface MAC address")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_mac[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name")},
{NULL, 0, 0, NULL}
};
* "iface-dumpxml" command
*/
static const vshCmdInfo info_interface_dumpxml[] = {
- {"help", gettext_noop("interface information in XML")},
- {"desc", gettext_noop("Output the physical host interface information as an XML dump to stdout.")},
+ {"help", N_("interface information in XML")},
+ {"desc", N_("Output the physical host interface information as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_dumpxml[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name or MAC address")},
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("show inactive defined XML")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name or MAC address")},
+ {"inactive", VSH_OT_BOOL, 0, N_("show inactive defined XML")},
{NULL, 0, 0, NULL}
};
* "iface-define" command
*/
static const vshCmdInfo info_interface_define[] = {
- {"help", gettext_noop("define (but don't start) a physical host interface from an XML file")},
- {"desc", gettext_noop("Define a physical host interface.")},
+ {"help", N_("define (but don't start) a physical host interface from an XML file")},
+ {"desc", N_("Define a physical host interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_define[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML interface description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML interface description")},
{NULL, 0, 0, NULL}
};
* "iface-undefine" command
*/
static const vshCmdInfo info_interface_undefine[] = {
- {"help", gettext_noop("undefine a physical host interface (remove it from configuration)")},
- {"desc", gettext_noop("undefine an interface.")},
+ {"help", N_("undefine a physical host interface (remove it from configuration)")},
+ {"desc", N_("undefine an interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_undefine[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name or MAC address")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name or MAC address")},
{NULL, 0, 0, NULL}
};
* "iface-start" command
*/
static const vshCmdInfo info_interface_start[] = {
- {"help", gettext_noop("start a physical host interface (enable it / \"if-up\")")},
- {"desc", gettext_noop("start a physical host interface.")},
+ {"help", N_("start a physical host interface (enable it / \"if-up\")")},
+ {"desc", N_("start a physical host interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_start[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name or MAC address")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name or MAC address")},
{NULL, 0, 0, NULL}
};
* "iface-destroy" command
*/
static const vshCmdInfo info_interface_destroy[] = {
- {"help", gettext_noop("destroy a physical host interface (disable it / \"if-down\")")},
- {"desc", gettext_noop("destroy a physical host interface.")},
+ {"help", N_("destroy a physical host interface (disable it / \"if-down\")")},
+ {"desc", N_("destroy a physical host interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_interface_destroy[] = {
- {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("interface name or MAC address")},
+ {"interface", VSH_OT_DATA, VSH_OFLAG_REQ, N_("interface name or MAC address")},
{NULL, 0, 0, NULL}
};
* "pool-autostart" command
*/
static const vshCmdInfo info_pool_autostart[] = {
- {"help", gettext_noop("autostart a pool")},
+ {"help", N_("autostart a pool")},
{"desc",
- gettext_noop("Configure a pool to be automatically started at boot.")},
+ N_("Configure a pool to be automatically started at boot.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_autostart[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
- {"disable", VSH_OT_BOOL, 0, gettext_noop("disable autostarting")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
+ {"disable", VSH_OT_BOOL, 0, N_("disable autostarting")},
{NULL, 0, 0, NULL}
};
* "pool-create" command
*/
static const vshCmdInfo info_pool_create[] = {
- {"help", gettext_noop("create a pool from an XML file")},
- {"desc", gettext_noop("Create a pool.")},
+ {"help", N_("create a pool from an XML file")},
+ {"desc", N_("Create a pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_create[] = {
{"file", VSH_OT_DATA, VSH_OFLAG_REQ,
- gettext_noop("file containing an XML pool description")},
+ N_("file containing an XML pool description")},
{NULL, 0, 0, NULL}
};
* "nodedev-create" command
*/
static const vshCmdInfo info_node_device_create[] = {
- {"help", gettext_noop("create a device defined "
+ {"help", N_("create a device defined "
"by an XML file on the node")},
- {"desc", gettext_noop("Create a device on the node. Note that this "
+ {"desc", N_("Create a device on the node. Note that this "
"command creates devices on the physical host "
"that can then be assigned to a virtual machine.")},
{NULL, NULL}
static const vshCmdOptDef opts_node_device_create[] = {
{"file", VSH_OT_DATA, VSH_OFLAG_REQ,
- gettext_noop("file containing an XML description of the device")},
+ N_("file containing an XML description of the device")},
{NULL, 0, 0, NULL}
};
* "nodedev-destroy" command
*/
static const vshCmdInfo info_node_device_destroy[] = {
- {"help", gettext_noop("destroy a device on the node")},
- {"desc", gettext_noop("Destroy a device on the node. Note that this "
+ {"help", N_("destroy a device on the node")},
+ {"desc", N_("Destroy a device on the node. Note that this "
"command destroys devices on the physical host ")},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_device_destroy[] = {
{"name", VSH_OT_DATA, VSH_OFLAG_REQ,
- gettext_noop("name of the device to be destroyed")},
+ N_("name of the device to be destroyed")},
{NULL, 0, 0, NULL}
};
* XML Building helper for pool-define-as and pool-create-as
*/
static const vshCmdOptDef opts_pool_X_as[] = {
- {"name", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("name of the pool")},
- {"print-xml", VSH_OT_BOOL, 0, gettext_noop("print XML document, but don't define/create")},
- {"type", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("type of the pool")},
- {"source-host", VSH_OT_DATA, 0, gettext_noop("source-host for underlying storage")},
- {"source-path", VSH_OT_DATA, 0, gettext_noop("source path for underlying storage")},
- {"source-dev", VSH_OT_DATA, 0, gettext_noop("source device for underlying storage")},
- {"source-name", VSH_OT_DATA, 0, gettext_noop("source name for underlying storage")},
- {"target", VSH_OT_DATA, 0, gettext_noop("target for underlying storage")},
+ {"name", VSH_OT_DATA, VSH_OFLAG_REQ, N_("name of the pool")},
+ {"print-xml", VSH_OT_BOOL, 0, N_("print XML document, but don't define/create")},
+ {"type", VSH_OT_DATA, VSH_OFLAG_REQ, N_("type of the pool")},
+ {"source-host", VSH_OT_DATA, 0, N_("source-host for underlying storage")},
+ {"source-path", VSH_OT_DATA, 0, N_("source path for underlying storage")},
+ {"source-dev", VSH_OT_DATA, 0, N_("source device for underlying storage")},
+ {"source-name", VSH_OT_DATA, 0, N_("source name for underlying storage")},
+ {"target", VSH_OT_DATA, 0, N_("target for underlying storage")},
{NULL, 0, 0, NULL}
};
* "pool-create-as" command
*/
static const vshCmdInfo info_pool_create_as[] = {
- {"help", gettext_noop("create a pool from a set of args")},
- {"desc", gettext_noop("Create a pool.")},
+ {"help", N_("create a pool from a set of args")},
+ {"desc", N_("Create a pool.")},
{NULL, NULL}
};
* "pool-define" command
*/
static const vshCmdInfo info_pool_define[] = {
- {"help", gettext_noop("define (but don't start) a pool from an XML file")},
- {"desc", gettext_noop("Define a pool.")},
+ {"help", N_("define (but don't start) a pool from an XML file")},
+ {"desc", N_("Define a pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_define[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML pool description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML pool description")},
{NULL, 0, 0, NULL}
};
* "pool-define-as" command
*/
static const vshCmdInfo info_pool_define_as[] = {
- {"help", gettext_noop("define a pool from a set of args")},
- {"desc", gettext_noop("Define a pool.")},
+ {"help", N_("define a pool from a set of args")},
+ {"desc", N_("Define a pool.")},
{NULL, NULL}
};
* "pool-build" command
*/
static const vshCmdInfo info_pool_build[] = {
- {"help", gettext_noop("build a pool")},
- {"desc", gettext_noop("Build a given pool.")},
+ {"help", N_("build a pool")},
+ {"desc", N_("Build a given pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_build[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-destroy" command
*/
static const vshCmdInfo info_pool_destroy[] = {
- {"help", gettext_noop("destroy a pool")},
- {"desc", gettext_noop("Destroy a given pool.")},
+ {"help", N_("destroy a pool")},
+ {"desc", N_("Destroy a given pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_destroy[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-delete" command
*/
static const vshCmdInfo info_pool_delete[] = {
- {"help", gettext_noop("delete a pool")},
- {"desc", gettext_noop("Delete a given pool.")},
+ {"help", N_("delete a pool")},
+ {"desc", N_("Delete a given pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_delete[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-refresh" command
*/
static const vshCmdInfo info_pool_refresh[] = {
- {"help", gettext_noop("refresh a pool")},
- {"desc", gettext_noop("Refresh a given pool.")},
+ {"help", N_("refresh a pool")},
+ {"desc", N_("Refresh a given pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_refresh[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-dumpxml" command
*/
static const vshCmdInfo info_pool_dumpxml[] = {
- {"help", gettext_noop("pool information in XML")},
- {"desc", gettext_noop("Output the pool information as an XML dump to stdout.")},
+ {"help", N_("pool information in XML")},
+ {"desc", N_("Output the pool information as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_dumpxml[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-list" command
*/
static const vshCmdInfo info_pool_list[] = {
- {"help", gettext_noop("list pools")},
- {"desc", gettext_noop("Returns list of pools.")},
+ {"help", N_("list pools")},
+ {"desc", N_("Returns list of pools.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_list[] = {
- {"inactive", VSH_OT_BOOL, 0, gettext_noop("list inactive pools")},
- {"all", VSH_OT_BOOL, 0, gettext_noop("list inactive & active pools")},
+ {"inactive", VSH_OT_BOOL, 0, N_("list inactive pools")},
+ {"all", VSH_OT_BOOL, 0, N_("list inactive & active pools")},
{NULL, 0, 0, NULL}
};
* "find-storage-pool-sources-as" command
*/
static const vshCmdInfo info_find_storage_pool_sources_as[] = {
- {"help", gettext_noop("find potential storage pool sources")},
- {"desc", gettext_noop("Returns XML <sources> document.")},
+ {"help", N_("find potential storage pool sources")},
+ {"desc", N_("Returns XML <sources> document.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_find_storage_pool_sources_as[] = {
{"type", VSH_OT_DATA, VSH_OFLAG_REQ,
- gettext_noop("type of storage pool sources to find")},
- {"host", VSH_OT_DATA, VSH_OFLAG_NONE, gettext_noop("optional host to query")},
- {"port", VSH_OT_DATA, VSH_OFLAG_NONE, gettext_noop("optional port to query")},
+ N_("type of storage pool sources to find")},
+ {"host", VSH_OT_DATA, VSH_OFLAG_NONE, N_("optional host to query")},
+ {"port", VSH_OT_DATA, VSH_OFLAG_NONE, N_("optional port to query")},
{NULL, 0, 0, NULL}
};
* "find-storage-pool-sources" command
*/
static const vshCmdInfo info_find_storage_pool_sources[] = {
- {"help", gettext_noop("discover potential storage pool sources")},
- {"desc", gettext_noop("Returns XML <sources> document.")},
+ {"help", N_("discover potential storage pool sources")},
+ {"desc", N_("Returns XML <sources> document.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_find_storage_pool_sources[] = {
{"type", VSH_OT_DATA, VSH_OFLAG_REQ,
- gettext_noop("type of storage pool sources to discover")},
+ N_("type of storage pool sources to discover")},
{"srcSpec", VSH_OT_DATA, VSH_OFLAG_NONE,
- gettext_noop("optional file of source xml to query for pools")},
+ N_("optional file of source xml to query for pools")},
{NULL, 0, 0, NULL}
};
* "pool-info" command
*/
static const vshCmdInfo info_pool_info[] = {
- {"help", gettext_noop("storage pool information")},
- {"desc", gettext_noop("Returns basic information about the storage pool.")},
+ {"help", N_("storage pool information")},
+ {"desc", N_("Returns basic information about the storage pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_info[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-name" command
*/
static const vshCmdInfo info_pool_name[] = {
- {"help", gettext_noop("convert a pool UUID to pool name")},
+ {"help", N_("convert a pool UUID to pool name")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_name[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool uuid")},
{NULL, 0, 0, NULL}
};
* "pool-start" command
*/
static const vshCmdInfo info_pool_start[] = {
- {"help", gettext_noop("start a (previously defined) inactive pool")},
- {"desc", gettext_noop("Start a pool.")},
+ {"help", N_("start a (previously defined) inactive pool")},
+ {"desc", N_("Start a pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_start[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("name of the inactive pool")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("name of the inactive pool")},
{NULL, 0, 0, NULL}
};
* "vol-create-as" command
*/
static const vshCmdInfo info_vol_create_as[] = {
- {"help", gettext_noop("create a volume from a set of args")},
- {"desc", gettext_noop("Create a vol.")},
+ {"help", N_("create a volume from a set of args")},
+ {"desc", N_("Create a vol.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_create_as[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name")},
- {"name", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("name of the volume")},
- {"capacity", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("size of the vol with optional k,M,G,T suffix")},
- {"allocation", VSH_OT_STRING, 0, gettext_noop("initial allocation size with optional k,M,G,T suffix")},
- {"format", VSH_OT_STRING, 0, gettext_noop("file format type raw,bochs,qcow,qcow2,vmdk")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name")},
+ {"name", VSH_OT_DATA, VSH_OFLAG_REQ, N_("name of the volume")},
+ {"capacity", VSH_OT_DATA, VSH_OFLAG_REQ, N_("size of the vol with optional k,M,G,T suffix")},
+ {"allocation", VSH_OT_STRING, 0, N_("initial allocation size with optional k,M,G,T suffix")},
+ {"format", VSH_OT_STRING, 0, N_("file format type raw,bochs,qcow,qcow2,vmdk")},
{NULL, 0, 0, NULL}
};
* "pool-undefine" command
*/
static const vshCmdInfo info_pool_undefine[] = {
- {"help", gettext_noop("undefine an inactive pool")},
- {"desc", gettext_noop("Undefine the configuration for an inactive pool.")},
+ {"help", N_("undefine an inactive pool")},
+ {"desc", N_("Undefine the configuration for an inactive pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_undefine[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-uuid" command
*/
static const vshCmdInfo info_pool_uuid[] = {
- {"help", gettext_noop("convert a pool name to pool UUID")},
+ {"help", N_("convert a pool name to pool UUID")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_uuid[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name")},
{NULL, 0, 0, NULL}
};
* "vol-create" command
*/
static const vshCmdInfo info_vol_create[] = {
- {"help", gettext_noop("create a vol from an XML file")},
- {"desc", gettext_noop("Create a vol.")},
+ {"help", N_("create a vol from an XML file")},
+ {"desc", N_("Create a vol.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_create[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML vol description")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML vol description")},
{NULL, 0, 0, NULL}
};
* "vol-create-from" command
*/
static const vshCmdInfo info_vol_create_from[] = {
- {"help", gettext_noop("create a vol, using another volume as input")},
- {"desc", gettext_noop("Create a vol from an existing volume.")},
+ {"help", N_("create a vol, using another volume as input")},
+ {"desc", N_("Create a vol from an existing volume.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_create_from[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML vol description")},
- {"inputpool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid of the input volume's pool")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("input vol name or key")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML vol description")},
+ {"inputpool", VSH_OT_STRING, 0, N_("pool name or uuid of the input volume's pool")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("input vol name or key")},
{NULL, 0, 0, NULL}
};
* "vol-clone" command
*/
static const vshCmdInfo info_vol_clone[] = {
- {"help", gettext_noop("clone a volume.")},
- {"desc", gettext_noop("Clone an existing volume.")},
+ {"help", N_("clone a volume.")},
+ {"desc", N_("Clone an existing volume.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_clone[] = {
- {"pool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("orig vol name or key")},
- {"newname", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("clone name")},
+ {"pool", VSH_OT_STRING, 0, N_("pool name or uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("orig vol name or key")},
+ {"newname", VSH_OT_DATA, VSH_OFLAG_REQ, N_("clone name")},
{NULL, 0, 0, NULL}
};
* "vol-delete" command
*/
static const vshCmdInfo info_vol_delete[] = {
- {"help", gettext_noop("delete a vol")},
- {"desc", gettext_noop("Delete a given vol.")},
+ {"help", N_("delete a vol")},
+ {"desc", N_("Delete a given vol.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_delete[] = {
- {"pool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol name, key or path")},
+ {"pool", VSH_OT_STRING, 0, N_("pool name or uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol name, key or path")},
{NULL, 0, 0, NULL}
};
* "vol-info" command
*/
static const vshCmdInfo info_vol_info[] = {
- {"help", gettext_noop("storage vol information")},
- {"desc", gettext_noop("Returns basic information about the storage vol.")},
+ {"help", N_("storage vol information")},
+ {"desc", N_("Returns basic information about the storage vol.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_info[] = {
- {"pool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol name, key or path")},
+ {"pool", VSH_OT_STRING, 0, N_("pool name or uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol name, key or path")},
{NULL, 0, 0, NULL}
};
* "vol-dumpxml" command
*/
static const vshCmdInfo info_vol_dumpxml[] = {
- {"help", gettext_noop("vol information in XML")},
- {"desc", gettext_noop("Output the vol information as an XML dump to stdout.")},
+ {"help", N_("vol information in XML")},
+ {"desc", N_("Output the vol information as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_dumpxml[] = {
- {"pool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol name, key or path")},
+ {"pool", VSH_OT_STRING, 0, N_("pool name or uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol name, key or path")},
{NULL, 0, 0, NULL}
};
* "vol-list" command
*/
static const vshCmdInfo info_vol_list[] = {
- {"help", gettext_noop("list vols")},
- {"desc", gettext_noop("Returns list of vols by pool.")},
+ {"help", N_("list vols")},
+ {"desc", N_("Returns list of vols by pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_list[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "vol-name" command
*/
static const vshCmdInfo info_vol_name[] = {
- {"help", gettext_noop("convert a vol UUID to vol name")},
+ {"help", N_("convert a vol UUID to vol name")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_name[] = {
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol key or path")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol key or path")},
{NULL, 0, 0, NULL}
};
* "vol-key" command
*/
static const vshCmdInfo info_vol_key[] = {
- {"help", gettext_noop("convert a vol UUID to vol key")},
+ {"help", N_("convert a vol UUID to vol key")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_key[] = {
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol uuid")},
{NULL, 0, 0, NULL}
};
* "vol-path" command
*/
static const vshCmdInfo info_vol_path[] = {
- {"help", gettext_noop("convert a vol UUID to vol path")},
+ {"help", N_("convert a vol UUID to vol path")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_vol_path[] = {
- {"pool", VSH_OT_STRING, 0, gettext_noop("pool name or uuid")},
- {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("vol name or key")},
+ {"pool", VSH_OT_STRING, 0, N_("pool name or uuid")},
+ {"vol", VSH_OT_DATA, VSH_OFLAG_REQ, N_("vol name or key")},
{NULL, 0, 0, NULL}
};
* "secret-define" command
*/
static const vshCmdInfo info_secret_define[] = {
- {"help", gettext_noop("define or modify a secret from an XML file")},
- {"desc", gettext_noop("Define or modify a secret.")},
+ {"help", N_("define or modify a secret from an XML file")},
+ {"desc", N_("Define or modify a secret.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_secret_define[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing secret attributes in XML")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing secret attributes in XML")},
{NULL, 0, 0, NULL}
};
* "secret-dumpxml" command
*/
static const vshCmdInfo info_secret_dumpxml[] = {
- {"help", gettext_noop("secret attributes in XML")},
- {"desc", gettext_noop("Output attributes of a secret as an XML dump to stdout.")},
+ {"help", N_("secret attributes in XML")},
+ {"desc", N_("Output attributes of a secret as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_secret_dumpxml[] = {
- {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("secret UUID")},
+ {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, N_("secret UUID")},
{NULL, 0, 0, NULL}
};
* "secret-set-value" command
*/
static const vshCmdInfo info_secret_set_value[] = {
- {"help", gettext_noop("set a secret value")},
- {"desc", gettext_noop("Set a secret value.")},
+ {"help", N_("set a secret value")},
+ {"desc", N_("Set a secret value.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_secret_set_value[] = {
- {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("secret UUID")},
- {"base64", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("base64-encoded secret value")},
+ {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, N_("secret UUID")},
+ {"base64", VSH_OT_DATA, VSH_OFLAG_REQ, N_("base64-encoded secret value")},
{NULL, 0, 0, NULL}
};
* "secret-get-value" command
*/
static const vshCmdInfo info_secret_get_value[] = {
- {"help", gettext_noop("Output a secret value")},
- {"desc", gettext_noop("Output a secret value to stdout.")},
+ {"help", N_("Output a secret value")},
+ {"desc", N_("Output a secret value to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_secret_get_value[] = {
- {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("secret UUID")},
+ {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, N_("secret UUID")},
{NULL, 0, 0, NULL}
};
* "secret-undefine" command
*/
static const vshCmdInfo info_secret_undefine[] = {
- {"help", gettext_noop("undefine a secret")},
- {"desc", gettext_noop("Undefine a secret.")},
+ {"help", N_("undefine a secret")},
+ {"desc", N_("Undefine a secret.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_secret_undefine[] = {
- {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("secret UUID")},
+ {"secret", VSH_OT_DATA, VSH_OFLAG_REQ, N_("secret UUID")},
{NULL, 0, 0, NULL}
};
* "secret-list" command
*/
static const vshCmdInfo info_secret_list[] = {
- {"help", gettext_noop("list secrets")},
- {"desc", gettext_noop("Returns a list of secrets")},
+ {"help", N_("list secrets")},
+ {"desc", N_("Returns a list of secrets")},
{NULL, NULL}
};
* "version" command
*/
static const vshCmdInfo info_version[] = {
- {"help", gettext_noop("show version")},
- {"desc", gettext_noop("Display the system version information.")},
+ {"help", N_("show version")},
+ {"desc", N_("Display the system version information.")},
{NULL, NULL}
};
* "nodedev-list" command
*/
static const vshCmdInfo info_node_list_devices[] = {
- {"help", gettext_noop("enumerate devices on this host")},
+ {"help", N_("enumerate devices on this host")},
{"desc", ""},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_list_devices[] = {
- {"tree", VSH_OT_BOOL, 0, gettext_noop("list devices in a tree")},
- {"cap", VSH_OT_STRING, VSH_OFLAG_NONE, gettext_noop("capability name")},
+ {"tree", VSH_OT_BOOL, 0, N_("list devices in a tree")},
+ {"cap", VSH_OT_STRING, VSH_OFLAG_NONE, N_("capability name")},
{NULL, 0, 0, NULL}
};
* "nodedev-dumpxml" command
*/
static const vshCmdInfo info_node_device_dumpxml[] = {
- {"help", gettext_noop("node device details in XML")},
- {"desc", gettext_noop("Output the node device details as an XML dump to stdout.")},
+ {"help", N_("node device details in XML")},
+ {"desc", N_("Output the node device details as an XML dump to stdout.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_device_dumpxml[] = {
- {"device", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("device key")},
+ {"device", VSH_OT_DATA, VSH_OFLAG_REQ, N_("device key")},
{NULL, 0, 0, NULL}
};
* "nodedev-dettach" command
*/
static const vshCmdInfo info_node_device_dettach[] = {
- {"help", gettext_noop("dettach node device from its device driver")},
- {"desc", gettext_noop("Dettach node device from its device driver before assigning to a domain.")},
+ {"help", N_("dettach node device from its device driver")},
+ {"desc", N_("Dettach node device from its device driver before assigning to a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_device_dettach[] = {
- {"device", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("device key")},
+ {"device", VSH_OT_DATA, VSH_OFLAG_REQ, N_("device key")},
{NULL, 0, 0, NULL}
};
* "nodedev-reattach" command
*/
static const vshCmdInfo info_node_device_reattach[] = {
- {"help", gettext_noop("reattach node device to its device driver")},
- {"desc", gettext_noop("Reattach node device to its device driver once released by the domain.")},
+ {"help", N_("reattach node device to its device driver")},
+ {"desc", N_("Reattach node device to its device driver once released by the domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_device_reattach[] = {
- {"device", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("device key")},
+ {"device", VSH_OT_DATA, VSH_OFLAG_REQ, N_("device key")},
{NULL, 0, 0, NULL}
};
* "nodedev-reset" command
*/
static const vshCmdInfo info_node_device_reset[] = {
- {"help", gettext_noop("reset node device")},
- {"desc", gettext_noop("Reset node device before or after assigning to a domain.")},
+ {"help", N_("reset node device")},
+ {"desc", N_("Reset node device before or after assigning to a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_node_device_reset[] = {
- {"device", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("device key")},
+ {"device", VSH_OT_DATA, VSH_OFLAG_REQ, N_("device key")},
{NULL, 0, 0, NULL}
};
* "hostkey" command
*/
static const vshCmdInfo info_hostname[] = {
- {"help", gettext_noop("print the hypervisor hostname")},
+ {"help", N_("print the hypervisor hostname")},
{"desc", ""},
{NULL, NULL}
};
* "uri" command
*/
static const vshCmdInfo info_uri[] = {
- {"help", gettext_noop("print the hypervisor canonical URI")},
+ {"help", N_("print the hypervisor canonical URI")},
{"desc", ""},
{NULL, NULL}
};
* "vncdisplay" command
*/
static const vshCmdInfo info_vncdisplay[] = {
- {"help", gettext_noop("vnc display")},
- {"desc", gettext_noop("Output the IP address and port number for the VNC display.")},
+ {"help", N_("vnc display")},
+ {"desc", N_("Output the IP address and port number for the VNC display.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_vncdisplay[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "ttyconsole" command
*/
static const vshCmdInfo info_ttyconsole[] = {
- {"help", gettext_noop("tty console")},
- {"desc", gettext_noop("Output the device for the TTY console.")},
+ {"help", N_("tty console")},
+ {"desc", N_("Output the device for the TTY console.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_ttyconsole[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "attach-device" command
*/
static const vshCmdInfo info_attach_device[] = {
- {"help", gettext_noop("attach device from an XML file")},
- {"desc", gettext_noop("Attach device from an XML <file>.")},
+ {"help", N_("attach device from an XML file")},
+ {"desc", N_("Attach device from an XML <file>.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_attach_device[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("XML file")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist device attachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("XML file")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist device attachment")},
{NULL, 0, 0, NULL}
};
* "detach-device" command
*/
static const vshCmdInfo info_detach_device[] = {
- {"help", gettext_noop("detach device from an XML file")},
- {"desc", gettext_noop("Detach device from an XML <file>")},
+ {"help", N_("detach device from an XML file")},
+ {"desc", N_("Detach device from an XML <file>")},
{NULL, NULL}
};
static const vshCmdOptDef opts_detach_device[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("XML file")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist device detachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("XML file")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist device detachment")},
{NULL, 0, 0, NULL}
};
* "attach-interface" command
*/
static const vshCmdInfo info_attach_interface[] = {
- {"help", gettext_noop("attach network interface")},
- {"desc", gettext_noop("Attach new network interface.")},
+ {"help", N_("attach network interface")},
+ {"desc", N_("Attach new network interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_attach_interface[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"type", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network interface type")},
- {"source", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("source of network interface")},
- {"target", VSH_OT_DATA, 0, gettext_noop("target network name")},
- {"mac", VSH_OT_DATA, 0, gettext_noop("MAC address")},
- {"script", VSH_OT_DATA, 0, gettext_noop("script used to bridge network interface")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist interface attachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"type", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network interface type")},
+ {"source", VSH_OT_DATA, VSH_OFLAG_REQ, N_("source of network interface")},
+ {"target", VSH_OT_DATA, 0, N_("target network name")},
+ {"mac", VSH_OT_DATA, 0, N_("MAC address")},
+ {"script", VSH_OT_DATA, 0, N_("script used to bridge network interface")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist interface attachment")},
{NULL, 0, 0, NULL}
};
* "detach-interface" command
*/
static const vshCmdInfo info_detach_interface[] = {
- {"help", gettext_noop("detach network interface")},
- {"desc", gettext_noop("Detach network interface.")},
+ {"help", N_("detach network interface")},
+ {"desc", N_("Detach network interface.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_detach_interface[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"type", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network interface type")},
- {"mac", VSH_OT_STRING, 0, gettext_noop("MAC address")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist interface detachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"type", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network interface type")},
+ {"mac", VSH_OT_STRING, 0, N_("MAC address")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist interface detachment")},
{NULL, 0, 0, NULL}
};
* "attach-disk" command
*/
static const vshCmdInfo info_attach_disk[] = {
- {"help", gettext_noop("attach disk device")},
- {"desc", gettext_noop("Attach new disk device.")},
+ {"help", N_("attach disk device")},
+ {"desc", N_("Attach new disk device.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_attach_disk[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"source", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("source of disk device")},
- {"target", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("target of disk device")},
- {"driver", VSH_OT_STRING, 0, gettext_noop("driver of disk device")},
- {"subdriver", VSH_OT_STRING, 0, gettext_noop("subdriver of disk device")},
- {"type", VSH_OT_STRING, 0, gettext_noop("target device type")},
- {"mode", VSH_OT_STRING, 0, gettext_noop("mode of device reading and writing")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist disk attachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"source", VSH_OT_DATA, VSH_OFLAG_REQ, N_("source of disk device")},
+ {"target", VSH_OT_DATA, VSH_OFLAG_REQ, N_("target of disk device")},
+ {"driver", VSH_OT_STRING, 0, N_("driver of disk device")},
+ {"subdriver", VSH_OT_STRING, 0, N_("subdriver of disk device")},
+ {"type", VSH_OT_STRING, 0, N_("target device type")},
+ {"mode", VSH_OT_STRING, 0, N_("mode of device reading and writing")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist disk attachment")},
{NULL, 0, 0, NULL}
};
* "detach-disk" command
*/
static const vshCmdInfo info_detach_disk[] = {
- {"help", gettext_noop("detach disk device")},
- {"desc", gettext_noop("Detach disk device.")},
+ {"help", N_("detach disk device")},
+ {"desc", N_("Detach disk device.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_detach_disk[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
- {"target", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("target of disk device")},
- {"persistent", VSH_OT_BOOL, 0, gettext_noop("persist disk detachment")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
+ {"target", VSH_OT_DATA, VSH_OFLAG_REQ, N_("target of disk device")},
+ {"persistent", VSH_OT_BOOL, 0, N_("persist disk detachment")},
{NULL, 0, 0, NULL}
};
* "cpu-compare" command
*/
static const vshCmdInfo info_cpu_compare[] = {
- {"help", gettext_noop("compare host CPU with a CPU described by an XML file")},
- {"desc", gettext_noop("compare CPU with host CPU")},
+ {"help", N_("compare host CPU with a CPU described by an XML file")},
+ {"desc", N_("compare CPU with host CPU")},
{NULL, NULL}
};
static const vshCmdOptDef opts_cpu_compare[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing an XML CPU description")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing an XML CPU description")},
{NULL, 0, 0, NULL}
};
* "cpu-baseline" command
*/
static const vshCmdInfo info_cpu_baseline[] = {
- {"help", gettext_noop("compute baseline CPU")},
- {"desc", gettext_noop("Compute baseline CPU for a set of given CPUs.")},
+ {"help", N_("compute baseline CPU")},
+ {"desc", N_("Compute baseline CPU for a set of given CPUs.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_cpu_baseline[] = {
- {"file", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("file containing XML CPU descriptions")},
+ {"file", VSH_OT_DATA, VSH_OFLAG_REQ, N_("file containing XML CPU descriptions")},
{NULL, 0, 0, NULL}
};
* "cd" command
*/
static const vshCmdInfo info_cd[] = {
- {"help", gettext_noop("change the current directory")},
- {"desc", gettext_noop("Change the current directory.")},
+ {"help", N_("change the current directory")},
+ {"desc", N_("Change the current directory.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_cd[] = {
- {"dir", VSH_OT_DATA, 0, gettext_noop("directory to switch to (default: home or else root)")},
+ {"dir", VSH_OT_DATA, 0, N_("directory to switch to (default: home or else root)")},
{NULL, 0, 0, NULL}
};
* "pwd" command
*/
static const vshCmdInfo info_pwd[] = {
- {"help", gettext_noop("print the current directory")},
- {"desc", gettext_noop("Print the current directory.")},
+ {"help", N_("print the current directory")},
+ {"desc", N_("Print the current directory.")},
{NULL, NULL}
};
* "edit" command
*/
static const vshCmdInfo info_edit[] = {
- {"help", gettext_noop("edit XML configuration for a domain")},
- {"desc", gettext_noop("Edit the XML configuration for a domain.")},
+ {"help", N_("edit XML configuration for a domain")},
+ {"desc", N_("Edit the XML configuration for a domain.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_edit[] = {
- {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("domain name, id or uuid")},
+ {"domain", VSH_OT_DATA, VSH_OFLAG_REQ, N_("domain name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "net-edit" command
*/
static const vshCmdInfo info_network_edit[] = {
- {"help", gettext_noop("edit XML configuration for a network")},
- {"desc", gettext_noop("Edit the XML configuration for a network.")},
+ {"help", N_("edit XML configuration for a network")},
+ {"desc", N_("Edit the XML configuration for a network.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_network_edit[] = {
- {"network", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("network name, id or uuid")},
+ {"network", VSH_OT_DATA, VSH_OFLAG_REQ, N_("network name, id or uuid")},
{NULL, 0, 0, NULL}
};
* "pool-edit" command
*/
static const vshCmdInfo info_pool_edit[] = {
- {"help", gettext_noop("edit XML configuration for a storage pool")},
- {"desc", gettext_noop("Edit the XML configuration for a storage pool.")},
+ {"help", N_("edit XML configuration for a storage pool")},
+ {"desc", N_("Edit the XML configuration for a storage pool.")},
{NULL, NULL}
};
static const vshCmdOptDef opts_pool_edit[] = {
- {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name or uuid")},
+ {"pool", VSH_OT_DATA, VSH_OFLAG_REQ, N_("pool name or uuid")},
{NULL, 0, 0, NULL}
};
* "quit" command
*/
static const vshCmdInfo info_quit[] = {
- {"help", gettext_noop("quit this interactive terminal")},
+ {"help", N_("quit this interactive terminal")},
{"desc", ""},
{NULL, NULL}
};
{
switch (state) {
case VIR_DOMAIN_RUNNING:
- return gettext_noop("running");
+ return N_("running");
case VIR_DOMAIN_BLOCKED:
- return gettext_noop("idle");
+ return N_("idle");
case VIR_DOMAIN_PAUSED:
- return gettext_noop("paused");
+ return N_("paused");
case VIR_DOMAIN_SHUTDOWN:
- return gettext_noop("in shutdown");
+ return N_("in shutdown");
case VIR_DOMAIN_SHUTOFF:
- return gettext_noop("shut off");
+ return N_("shut off");
case VIR_DOMAIN_CRASHED:
- return gettext_noop("crashed");
+ return N_("crashed");
default:
;/*FALLTHROUGH*/
}
- return gettext_noop("no state"); /* = dom0 state */
+ return N_("no state"); /* = dom0 state */
}
static const char *
{
switch (state) {
case VIR_VCPU_OFFLINE:
- return gettext_noop("offline");
+ return N_("offline");
case VIR_VCPU_BLOCKED:
- return gettext_noop("idle");
+ return N_("idle");
case VIR_VCPU_RUNNING:
- return gettext_noop("running");
+ return N_("running");
default:
;/*FALLTHROUGH*/
}
- return gettext_noop("no state");
+ return N_("no state");
}
static int