[Kimchi-devel] [PATCH v4 6/6] CDROM Management: externalized error messages
Daniel Barboza
danielhb at linux.vnet.ibm.com
Thu Feb 13 18:47:48 UTC 2014
From: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
Externalized exception/error strings related to the CDROM
Management backend.
Signed-off-by: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
---
src/kimchi/i18n.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/kimchi/i18n.py b/src/kimchi/i18n.py
index 03d1052..6264e97 100644
--- a/src/kimchi/i18n.py
+++ b/src/kimchi/i18n.py
@@ -181,4 +181,15 @@ messages = {
"KCHUTILS0001E": _("Invalid URI %(uri)s"),
"KCHUTILS0002E": _("Timeout while running command '%(cmd)s' after %(seconds)s seconds"),
"KCHUTILS0003E": _("Unable to choose a virutal machine name"),
+ "KCHCDROM0001E": _("Invalid cd-rom device name"),
+ "KCHCDROM0002E": _("Invalid storage type. Types supported: 'cdrom'"),
+ "KCHCDROM0003E": _("CDROM path must be a valid filesystem, http or ftp path"),
+ "KCHCDROM0004E": _("Device name %(dev_name)s already exists in vm %(vm_name)s"),
+ "KCHCDROM0005E": _("Path specified for the device is not valid"),
+ "KCHCDROM0006E": _("Can't specify a directory for a cd-rom device path"),
+ "KCHCDROM0007E": _("The storage device %(dev_name)s does not exist in the guest %(vm_name)s"),
+ "KCHCDROM0008E": _("Must specify a device name"),
+ "KCHCDROM0009E": _("Error while updating storage device: %(error)s"),
+ "KCHCDROM0010E": _("Error while removing storage device: %(error)s"),
+ "KCHCDROM0011E": _("Error while creating new storage device: %(error)s"),
}
--
1.8.3.1
More information about the Kimchi-devel
mailing list