[PATCH 0/2] bug fix: Enable NFS path field when a NFS server is provided

From: Aline Manera <alinefm@br.ibm.com> Aline Manera (2): bug fix: Enable NFS path field when a NFS server is provided Fix typo on KCHAPI6005E message po/en_US.po | 24 ++++++++++++++++++++++-- po/kimchi.pot | 24 ++++++++++++++++++++++-- po/pt_BR.po | 24 ++++++++++++++++++++++-- po/zh_CN.po | 24 ++++++++++++++++++++++-- ui/js/src/kimchi.storagepool_add_main.js | 2 +- ui/pages/i18n.html.tmpl | 2 +- 6 files changed, 90 insertions(+), 10 deletions(-) -- 1.7.10.4

From: Aline Manera <alinefm@br.ibm.com> While creating a NFS storage pool, the NFS path field was not editable after entering "NFS server IP" the NFS path, unless there was a mouse click on other part of the window or use "tab". It is because .change() has different behaviors according to element it is linked. The change event is sent to an element when its value changes. But for some element types the event is deferred until the element loses focus - what was happening with "NFS server IP" field. So use .keyup() to listen when user types in the field to fix this issue. The keyup event is sent to an element when the user releases a key on the keyboard. For reference: - http://api.jquery.com/change/ - http://api.jquery.com/keyup/ Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- ui/js/src/kimchi.storagepool_add_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js index 5960c8d..0cc5349 100644 --- a/ui/js/src/kimchi.storagepool_add_main.js +++ b/ui/js/src/kimchi.storagepool_add_main.js @@ -72,7 +72,7 @@ kimchi.initStorageAddPage = function() { $('#nfsServerChooseDiv').removeClass('tmpl-html'); } }); - $('#nfsserverId').on("change",function() { + $('#nfsserverId').on("change keyup",function() { if ($(this).val() !== '' && kimchi.isServer($(this).val())) { $('#nfspathId').prop('disabled',false); $(this).removeClass("invalid-field"); -- 1.7.10.4

-- Tested-by: Paulo Vital <pvital@linux.vnet.ibm.com> Reviewed-by: Paulo Vital <pvital@linux.vnet.ibm.com> On Fri, 2014-02-28 at 15:00 -0300, Aline Manera wrote:
From: Aline Manera <alinefm@br.ibm.com>
While creating a NFS storage pool, the NFS path field was not editable after entering "NFS server IP" the NFS path, unless there was a mouse click on other part of the window or use "tab".
It is because .change() has different behaviors according to element it is linked. The change event is sent to an element when its value changes. But for some element types the event is deferred until the element loses focus - what was happening with "NFS server IP" field.
So use .keyup() to listen when user types in the field to fix this issue. The keyup event is sent to an element when the user releases a key on the keyboard.
For reference: - http://api.jquery.com/change/ - http://api.jquery.com/keyup/
Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- ui/js/src/kimchi.storagepool_add_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js index 5960c8d..0cc5349 100644 --- a/ui/js/src/kimchi.storagepool_add_main.js +++ b/ui/js/src/kimchi.storagepool_add_main.js @@ -72,7 +72,7 @@ kimchi.initStorageAddPage = function() { $('#nfsServerChooseDiv').removeClass('tmpl-html'); } }); - $('#nfsserverId').on("change",function() { + $('#nfsserverId').on("change keyup",function() { if ($(this).val() !== '' && kimchi.isServer($(this).val())) { $('#nfspathId').prop('disabled',false); $(this).removeClass("invalid-field");

Reviewed-by: Daniel Barboza <danielhb@linux.vnet.ibm.com> On 02/28/2014 03:00 PM, Aline Manera wrote:
From: Aline Manera <alinefm@br.ibm.com>
While creating a NFS storage pool, the NFS path field was not editable after entering "NFS server IP" the NFS path, unless there was a mouse click on other part of the window or use "tab".
It is because .change() has different behaviors according to element it is linked. The change event is sent to an element when its value changes. But for some element types the event is deferred until the element loses focus - what was happening with "NFS server IP" field.
So use .keyup() to listen when user types in the field to fix this issue. The keyup event is sent to an element when the user releases a key on the keyboard.
For reference: - http://api.jquery.com/change/ - http://api.jquery.com/keyup/
Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- ui/js/src/kimchi.storagepool_add_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js index 5960c8d..0cc5349 100644 --- a/ui/js/src/kimchi.storagepool_add_main.js +++ b/ui/js/src/kimchi.storagepool_add_main.js @@ -72,7 +72,7 @@ kimchi.initStorageAddPage = function() { $('#nfsServerChooseDiv').removeClass('tmpl-html'); } }); - $('#nfsserverId').on("change",function() { + $('#nfsserverId').on("change keyup",function() { if ($(this).val() !== '' && kimchi.isServer($(this).val())) { $('#nfspathId').prop('disabled',false); $(this).removeClass("invalid-field");

From: Aline Manera <alinefm@br.ibm.com> Also update the .po files to reflect the changes Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- po/en_US.po | 24 ++++++++++++++++++++++-- po/kimchi.pot | 24 ++++++++++++++++++++++-- po/pt_BR.po | 24 ++++++++++++++++++++++-- po/zh_CN.po | 24 ++++++++++++++++++++++-- ui/pages/i18n.html.tmpl | 2 +- 5 files changed, 89 insertions(+), 9 deletions(-) diff --git a/po/en_US.po b/po/en_US.po index aeff16e..0ca443d 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-07-11 17:32-0400\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: English\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr "" -msgid "No such data exsit." +msgid "No such data available." msgstr "" msgid "options needed." @@ -747,6 +747,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr "" #, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr "" @@ -947,6 +955,18 @@ msgstr "" #, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr "" diff --git a/po/kimchi.pot b/po/kimchi.pot index abb7219..4a8b733 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr "" -msgid "No such data exsit." +msgid "No such data available." msgstr "" msgid "options needed." @@ -735,6 +735,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr "" #, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr "" @@ -935,6 +943,18 @@ msgstr "" #, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index db7c579..10b4219 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: kimchi 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: Aline Manera <alinefm@br.ibm.com>\n" @@ -163,7 +163,7 @@ msgstr "" msgid "This is not a valid URL." msgstr "" -msgid "No such data exsit." +msgid "No such data available." msgstr "" msgid "options needed." @@ -762,6 +762,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr "" #, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr "" @@ -962,6 +970,18 @@ msgstr "" #, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 0439b04..d9c3366 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" "Language-Team: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" @@ -161,7 +161,7 @@ msgstr "" msgid "This is not a valid URL." msgstr "" -msgid "No such data exsit." +msgid "No such data available." msgstr "" msgid "options needed." @@ -751,6 +751,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr "" #, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr "" @@ -951,6 +959,18 @@ msgstr "" #, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr "" diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl index db6166e..38f71d9 100644 --- a/ui/pages/i18n.html.tmpl +++ b/ui/pages/i18n.html.tmpl @@ -48,7 +48,7 @@ var i18n = { 'KCHAPI6002E': "$_("Failed to get application configuration")", 'KCHAPI6003E': "$_("This is not a valid Linux path")", 'KCHAPI6004E': "$_("This is not a valid URL.")", - 'KCHAPI6005E': "$_("No such data exsit.")", + 'KCHAPI6005E': "$_("No such data available.")", 'KCHAPI6006E': "$_("options needed.")", 'KCHAPI6001M': "$_("Delete Confirmation")", -- 1.7.10.4

-- Tested-by: Paulo Vital <pvital@linux.vnet.ibm.com> Reviewed-by: Paulo Vital <pvital@linux.vnet.ibm.com> On Fri, 2014-02-28 at 15:00 -0300, Aline Manera wrote:
From: Aline Manera <alinefm@br.ibm.com>
Also update the .po files to reflect the changes
Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- po/en_US.po | 24 ++++++++++++++++++++++-- po/kimchi.pot | 24 ++++++++++++++++++++++-- po/pt_BR.po | 24 ++++++++++++++++++++++-- po/zh_CN.po | 24 ++++++++++++++++++++++-- ui/pages/i18n.html.tmpl | 2 +- 5 files changed, 89 insertions(+), 9 deletions(-)
diff --git a/po/en_US.po b/po/en_US.po index aeff16e..0ca443d 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-07-11 17:32-0400\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: English\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -747,6 +747,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -947,6 +955,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/kimchi.pot b/po/kimchi.pot index abb7219..4a8b733 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -735,6 +735,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -935,6 +943,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po index db7c579..10b4219 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: kimchi 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: Aline Manera <alinefm@br.ibm.com>\n" @@ -163,7 +163,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -762,6 +762,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -962,6 +970,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po index 0439b04..d9c3366 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" "Language-Team: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" @@ -161,7 +161,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -751,6 +751,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -951,6 +959,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl index db6166e..38f71d9 100644 --- a/ui/pages/i18n.html.tmpl +++ b/ui/pages/i18n.html.tmpl @@ -48,7 +48,7 @@ var i18n = { 'KCHAPI6002E': "$_("Failed to get application configuration")", 'KCHAPI6003E': "$_("This is not a valid Linux path")", 'KCHAPI6004E': "$_("This is not a valid URL.")", - 'KCHAPI6005E': "$_("No such data exsit.")", + 'KCHAPI6005E': "$_("No such data available.")", 'KCHAPI6006E': "$_("options needed.")",
'KCHAPI6001M': "$_("Delete Confirmation")",

Reviewed-by: Daniel Barboza <danielhb@linux.vnet.ibm.com> On 02/28/2014 03:00 PM, Aline Manera wrote:
From: Aline Manera <alinefm@br.ibm.com>
Also update the .po files to reflect the changes
Signed-off-by: Aline Manera <alinefm@br.ibm.com> --- po/en_US.po | 24 ++++++++++++++++++++++-- po/kimchi.pot | 24 ++++++++++++++++++++++-- po/pt_BR.po | 24 ++++++++++++++++++++++-- po/zh_CN.po | 24 ++++++++++++++++++++++-- ui/pages/i18n.html.tmpl | 2 +- 5 files changed, 89 insertions(+), 9 deletions(-)
diff --git a/po/en_US.po b/po/en_US.po index aeff16e..0ca443d 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-07-11 17:32-0400\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: English\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -747,6 +747,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -947,6 +955,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/kimchi.pot b/po/kimchi.pot index abb7219..4a8b733 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -145,7 +145,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -735,6 +735,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -935,6 +943,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po index db7c579..10b4219 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: kimchi 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: Crístian Viana <vianac@linux.vnet.ibm.com>\n" "Language-Team: Aline Manera <alinefm@br.ibm.com>\n" @@ -163,7 +163,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -762,6 +762,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -962,6 +970,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po index 0439b04..d9c3366 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-02-25 15:23-0300\n" +"POT-Creation-Date: 2014-02-28 13:36-0300\n" "PO-Revision-Date: 2013-06-27 10:48+0000\n" "Last-Translator: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" "Language-Team: ShaoHe Feng <shaohef@linux.vnet.ibm.com>\n" @@ -161,7 +161,7 @@ msgstr "" msgid "This is not a valid URL." msgstr ""
-msgid "No such data exsit." +msgid "No such data available." msgstr ""
msgid "options needed." @@ -751,6 +751,14 @@ msgid "Unable to start virtual machine %(name)s. Details: %(err)s" msgstr ""
#, python-format +msgid "Unable to stop virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format +msgid "Unable to delete virtual machine %(name)s. Details: %(err)s" +msgstr "" + +#, python-format msgid "Interface %(iface)s does not exist in virtual machine %(name)s" msgstr ""
@@ -951,6 +959,18 @@ msgstr ""
#, python-format msgid "" +"Unable to activate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" +"Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is " +"unreachable." +msgstr "" + +#, python-format +msgid "" "Unable to deactivate pool %(name)s as it is associated with some templates" msgstr ""
diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl index db6166e..38f71d9 100644 --- a/ui/pages/i18n.html.tmpl +++ b/ui/pages/i18n.html.tmpl @@ -48,7 +48,7 @@ var i18n = { 'KCHAPI6002E': "$_("Failed to get application configuration")", 'KCHAPI6003E': "$_("This is not a valid Linux path")", 'KCHAPI6004E': "$_("This is not a valid URL.")", - 'KCHAPI6005E': "$_("No such data exsit.")", + 'KCHAPI6005E': "$_("No such data available.")", 'KCHAPI6006E': "$_("options needed.")",
'KCHAPI6001M': "$_("Delete Confirmation")",

Reviewed-by: Crístian Viana <vianac@linux.vnet.ibm.com> Am 28-02-2014 15:00, schrieb Aline Manera:
From: Aline Manera <alinefm@br.ibm.com>
Aline Manera (2): bug fix: Enable NFS path field when a NFS server is provided Fix typo on KCHAPI6005E message
po/en_US.po | 24 ++++++++++++++++++++++-- po/kimchi.pot | 24 ++++++++++++++++++++++-- po/pt_BR.po | 24 ++++++++++++++++++++++-- po/zh_CN.po | 24 ++++++++++++++++++++++-- ui/js/src/kimchi.storagepool_add_main.js | 2 +- ui/pages/i18n.html.tmpl | 2 +- 6 files changed, 90 insertions(+), 10 deletions(-)

Applied. Thanks. Regards, Aline Manera
participants (4)
-
Aline Manera
-
Crístian Viana
-
Daniel H Barboza
-
Paulo Ricardo Paz Vital