[Kimchi-devel] [PATCH] [WOK] Move KCHUTILS0001E to Wok.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Mon Sep 21 16:25:45 UTC 2015


From: Paulo Vital <pvital at linux.vnet.ibm.com>

Move the KCHUTILS0001E  ("Invalid URI %(uri)s") message error from Kimchi to Wok
to be usable to any plugin.

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 plugins/kimchi/i18n.py | 1 -
 src/wok/i18n.py        | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/kimchi/i18n.py b/plugins/kimchi/i18n.py
index 220bd24..253f00d 100644
--- a/plugins/kimchi/i18n.py
+++ b/plugins/kimchi/i18n.py
@@ -269,7 +269,6 @@ messages = {
     "KCHPKGUPD0003E": _("Error while getting packages marked to be updated. Details: %(err)s"),
     "KCHPKGUPD0004E": _("There is no compatible package manager for this system."),

-    "KCHUTILS0001E": _("Invalid URI %(uri)s"),
     "KCHUTILS0003E": _("Unable to choose a virtual machine name"),

     "KCHVMSTOR0002E": _("Invalid storage type. Types supported: 'cdrom', 'disk'"),
diff --git a/src/wok/i18n.py b/src/wok/i18n.py
index 649283b..1556e37 100644
--- a/src/wok/i18n.py
+++ b/src/wok/i18n.py
@@ -41,6 +41,7 @@ messages = {

     "KCHOBJST0001E": _("Unable to find %(item)s in datastore"),

+    "KCHUTILS0001E": _("Invalid URI %(uri)s"),
     "KCHUTILS0002E": _("Timeout while running command '%(cmd)s' after %(seconds)s seconds"),
     "KCHUTILS0004E": _("Invalid data value '%(value)s'"),
     "KCHUTILS0005E": _("Invalid data unit '%(unit)s'"),
--
2.4.3




More information about the Kimchi-devel mailing list