Added new error exception messages for host's repositories support.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
src/kimchi/i18n.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/kimchi/i18n.py b/src/kimchi/i18n.py
index fd61d4e..ba6993f 100644
--- a/src/kimchi/i18n.py
+++ b/src/kimchi/i18n.py
@@ -202,4 +202,23 @@ messages = {
"KCHCDROM0009E": _("Error while updating storage device:
%(error)s"),
"KCHCDROM0010E": _("Error while removing storage device:
%(error)s"),
"KCHCDROM0011E": _("Do not support guest CDROM hot plug
attachment"),
+
+ "KCHREPOS0001E": _("Repository ID must be one word only
string."),
+ "KCHREPOS0002E": _("Repository URL must be an http://, ftp:// or
file:// URL."),
+ "KCHREPOS0003E": _("Repository URL arguments must be string."),
+ "KCHREPOS0004E": _("GPG key must be a URL pointing to the
ASCII-armored file."),
+ "KCHREPOS0005E": _("Repository name must be string."),
+ "KCHREPOS0006E": _("Repository %(repo_id)s already exists."),
+ "KCHREPOS0007E": _("Could not enable repository %(repo_id)s."),
+ "KCHREPOS0008E": _("Could not disable repository %(repo_id)s."),
+ "KCHREPOS0009E": _("Could not update repository %(repo_id)s."),
+ "KCHREPOS0010E": _("Repository %(repo_id)s does not exists."),
+ "KCHREPOS0011E": _("There is no disabled repository called
%(repo_id)s."),
+ "KCHREPOS0012E": _("There is no enabled repository called
%(repo_id)s."),
+ "KCHREPOS0013E": _("There are no parameters to update
repository."),
+ "KCHREPOS0014E": _("OS distro not supported."),
+ "KCHREPOS0015E": _("There is no YUM configuration directory."),
+ "KCHREPOS0016E": _("There are no parameters to create a new repo
file."),
+ "KCHREPOS0017E": _("Could not write repo file %(repo_file)s"),
+ "KCHREPOS0018E": _("Could not remove repository %(repo_id)s."),
}
--
1.8.3.1