[Kimchi-devel] [PATCH 2/5] storagepool: Add missing msg when no logical device is selected
Crístian Viana
vianac at linux.vnet.ibm.com
Mon Jan 20 22:09:35 UTC 2014
When creating a new logical storage pool, the user must select at least
one logical device. If they do not, the error message
"msg.validate.pool.edit.logical.device" is displayed. That ID has no
corresponding translation, though.
Add English and Brazilian Portuguese translations for the message ID
"msg.validate.pool.edit.logical.device". This fixes the message
"Undefined" mentioned in the issue #310.
Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
---
po/en_US.po | 5 ++++-
po/kimchi.pot | 5 ++++-
po/pt_BR.po | 7 +++++--
po/zh_CN.po | 5 ++++-
ui/pages/i18n.html.tmpl | 1 +
5 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/po/en_US.po b/po/en_US.po
index 2893946..77e0677 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: kimchi 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-17 12:24-0200\n"
+"POT-Creation-Date: 2014-01-20 18:46-0200\n"
"PO-Revision-Date: 2013-07-11 17:32-0400\n"
"Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
"Language-Team: English\n"
@@ -282,6 +282,9 @@ msgstr "This is not a real linux path."
msgid "Invalid nfs mount path."
msgstr "Invalid nfs mount path."
+msgid "No logical device selected."
+msgstr "No logical device selected."
+
msgid "This storage pool is empty."
msgstr "This storage pool is empty."
diff --git a/po/kimchi.pot b/po/kimchi.pot
index 738b070..836b013 100755
--- a/po/kimchi.pot
+++ b/po/kimchi.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-17 12:24-0200\n"
+"POT-Creation-Date: 2014-01-20 18:46-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -271,6 +271,9 @@ msgstr ""
msgid "Invalid nfs mount path."
msgstr ""
+msgid "No logical device selected."
+msgstr ""
+
msgid "This storage pool is empty."
msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index d12564f..724e339 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -20,9 +20,9 @@ msgid ""
msgstr ""
"Project-Id-Version: kimchi 1.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-17 12:24-0200\n"
+"POT-Creation-Date: 2014-01-20 18:46-0200\n"
"PO-Revision-Date: 2013-06-27 10:48+0000\n"
-"Last-Translator: Alexandre Hirata <hirata at linux.vnet.ibm.com>\n"
+"Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
"Language-Team: Aline Manera <alinefm at br.ibm.com>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
@@ -299,6 +299,9 @@ msgstr "Esse não é um caminho real no linux."
msgid "Invalid nfs mount path."
msgstr "Caminho de montagem NFS inválido."
+msgid "No logical device selected."
+msgstr "Nenhum dispositivo lógico selecionado."
+
msgid "This storage pool is empty."
msgstr "Esse storage pool está vazio."
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 758af1d..34f7aca 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: kimchi 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-17 12:24-0200\n"
+"POT-Creation-Date: 2014-01-20 18:46-0200\n"
"PO-Revision-Date: 2013-06-27 10:48+0000\n"
"Last-Translator: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
"Language-Team: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
@@ -287,6 +287,9 @@ msgstr "这不是一个符合要求的LINUX路径"
msgid "Invalid nfs mount path."
msgstr "无效的nfs挂载路径"
+msgid "No logical device selected."
+msgstr ""
+
msgid "This storage pool is empty."
msgstr "这个存储池为空"
diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl
index e684f2e..2217203 100644
--- a/ui/pages/i18n.html.tmpl
+++ b/ui/pages/i18n.html.tmpl
@@ -99,6 +99,7 @@ var i18n = {
'msg.validate.pool.edit.name':"$_("Invalid Storage Pool name. It may only contain letters, numbers, underscores, and hyphens.")",
'msg.validate.pool.edit.path':"$_("This is not a real linux path.")",
'msg.validate.pool.edit.nfspath':"$_("Invalid nfs mount path.")",
+ 'msg.validate.pool.edit.logical.device':"$_("No logical device selected.")",
'msg.kimchi.storage.pool.empty':"$_("This storage pool is empty.")",
'msg.kimchi.list.volume.fail':"$_("Failed to list the storage pool.")",
'msg.kimchi.storage.pool.not.active':"$_("The storage pool is not active now.")",
--
1.8.4.2
More information about the Kimchi-devel
mailing list