* 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:
Daniel Veillard 2008-03-14 15:21:15 +00:00
parent 384f26525f
commit a7892ee000
3 changed files with 11 additions and 6 deletions

View File

@ -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> 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 * virsh.1 docs/apibuild.py docs/architecture.html docs/errors.html

View File

@ -699,7 +699,7 @@ static int qemudInitPaths(struct qemud_server *server,
snprintf_error: snprintf_error:
qemudLog(QEMUD_ERR, qemudLog(QEMUD_ERR,
"%s", _("Resulting path to long for buffer in qemudInitPaths()")); "%s", _("Resulting path too long for buffer in qemudInitPaths()"));
return -1; return -1;
} }

View File

@ -3204,7 +3204,7 @@ cmdPoolDelete(vshControl * ctl, vshCmd * cmd)
return FALSE; return FALSE;
if (virStoragePoolDelete(pool, 0) == 0) { if (virStoragePoolDelete(pool, 0) == 0) {
vshPrint(ctl, _("Pool %s deleteed\n"), name); vshPrint(ctl, _("Pool %s deleted\n"), name);
} else { } else {
vshError(ctl, FALSE, _("Failed to delete pool %s"), name); vshError(ctl, FALSE, _("Failed to delete pool %s"), name);
ret = FALSE; ret = FALSE;
@ -3590,15 +3590,15 @@ cmdPoolStart(vshControl * ctl, vshCmd * cmd)
* "vol-create-as" command * "vol-create-as" command
*/ */
static vshCmdInfo info_vol_create_as[] = { static vshCmdInfo info_vol_create_as[] = {
{"syntax", "create-as <pool> <name> <capacity>"}, {"syntax", "vol-create-as <pool> <name> <capacity>"},
{"help", gettext_noop("create a vol from a set of as")}, {"help", gettext_noop("create a volume from a set of args")},
{"desc", gettext_noop("Create a vol.")}, {"desc", gettext_noop("Create a vol.")},
{NULL, NULL} {NULL, NULL}
}; };
static vshCmdOptDef opts_vol_create_as[] = { static vshCmdOptDef opts_vol_create_as[] = {
{"pool", VSH_OT_DATA, VSH_OFLAG_REQ, gettext_noop("pool name")}, {"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")}, {"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")}, {"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")}, {"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) { if (virStorageVolDelete(vol, 0) == 0) {
vshPrint(ctl, _("Vol %s deleteed\n"), name); vshPrint(ctl, _("Vol %s deleted\n"), name);
} else { } else {
vshError(ctl, FALSE, _("Failed to delete vol %s"), name); vshError(ctl, FALSE, _("Failed to delete vol %s"), name);
ret = FALSE; ret = FALSE;