mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
String fixes #436620
* qemud/qemud.c src/virsh.c: fixing some user facing strings problems pointed out by Francesco Tombolini should fix #436620 Daniel
This commit is contained in:
parent
384f26525f
commit
a7892ee000
@ -1,3 +1,8 @@
|
||||
Fri Mar 14 16:19:21 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* qemud/qemud.c src/virsh.c: fixing some user facing strings
|
||||
problems pointed out by Francesco Tombolini should fix #436620
|
||||
|
||||
Fri Mar 14 11:01:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* virsh.1 docs/apibuild.py docs/architecture.html docs/errors.html
|
||||
|
@ -699,7 +699,7 @@ static int qemudInitPaths(struct qemud_server *server,
|
||||
|
||||
snprintf_error:
|
||||
qemudLog(QEMUD_ERR,
|
||||
"%s", _("Resulting path to long for buffer in qemudInitPaths()"));
|
||||
"%s", _("Resulting path too long for buffer in qemudInitPaths()"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
10
src/virsh.c
10
src/virsh.c
@ -3204,7 +3204,7 @@ cmdPoolDelete(vshControl * ctl, vshCmd * cmd)
|
||||
return FALSE;
|
||||
|
||||
if (virStoragePoolDelete(pool, 0) == 0) {
|
||||
vshPrint(ctl, _("Pool %s deleteed\n"), name);
|
||||
vshPrint(ctl, _("Pool %s deleted\n"), name);
|
||||
} else {
|
||||
vshError(ctl, FALSE, _("Failed to delete pool %s"), name);
|
||||
ret = FALSE;
|
||||
@ -3590,15 +3590,15 @@ cmdPoolStart(vshControl * ctl, vshCmd * cmd)
|
||||
* "vol-create-as" command
|
||||
*/
|
||||
static vshCmdInfo info_vol_create_as[] = {
|
||||
{"syntax", "create-as <pool> <name> <capacity>"},
|
||||
{"help", gettext_noop("create a vol from a set of as")},
|
||||
{"syntax", "vol-create-as <pool> <name> <capacity>"},
|
||||
{"help", gettext_noop("create a volume from a set of args")},
|
||||
{"desc", gettext_noop("Create a vol.")},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
static 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 vol")},
|
||||
{"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_DATA, 0, gettext_noop("initial allocation size with optional k,M,G,T suffix")},
|
||||
{"format", VSH_OT_DATA, 0, gettext_noop("file format type raw,bochs,qcow,qcow2,vmdk")},
|
||||
@ -3878,7 +3878,7 @@ cmdVolDelete(vshControl * ctl, vshCmd * cmd)
|
||||
}
|
||||
|
||||
if (virStorageVolDelete(vol, 0) == 0) {
|
||||
vshPrint(ctl, _("Vol %s deleteed\n"), name);
|
||||
vshPrint(ctl, _("Vol %s deleted\n"), name);
|
||||
} else {
|
||||
vshError(ctl, FALSE, _("Failed to delete vol %s"), name);
|
||||
ret = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user