[Kimchi-devel] [PATCH] UI: Fix VM Delete Confirmation Dialog Box Title

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Thu May 15 06:49:38 UTC 2014


Previously it was 'Power off Confirmation', this patch changes it to 'VM
Delete Confirmation'.

Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
 ui/js/src/kimchi.guest_main.js | 2 +-
 ui/pages/i18n.html.tmpl        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/js/src/kimchi.guest_main.js b/ui/js/src/kimchi.guest_main.js
index 510e7f9..ea36d62 100644
--- a/ui/js/src/kimchi.guest_main.js
+++ b/ui/js/src/kimchi.guest_main.js
@@ -108,7 +108,7 @@ kimchi.vmdelete = function(event) {
     var vm = $(this).closest('li[name=guest]');
     var vm_id=vm.attr("id");
     var settings = {
-        title : i18n['KCHVM6002M'],
+        title : i18n['KCHVM6008M'],
         content : i18n['KCHVM6001M'],
         confirm : i18n['KCHAPI6002M'],
         cancel : i18n['KCHAPI6003M']
diff --git a/ui/pages/i18n.html.tmpl b/ui/pages/i18n.html.tmpl
index 98da828..7194792 100644
--- a/ui/pages/i18n.html.tmpl
+++ b/ui/pages/i18n.html.tmpl
@@ -134,6 +134,7 @@ var i18n = {
                       " the guest OS shutdown. Would you like to continue?")",
     'KCHVM6006M': "$_("Shut Down Confirmation")",
     'KCHVM6007M': "$_("Note the guest OS may ignore this request. Would you like to continue?")",
+    'KCHVM6008M': "$_("VM Delete Confirmation")",
 
     'KCHVMCD6001M': "$_("This CDROM will be detached permanently and you can re-attach it. Continue to detach it?")",
     'KCHVMCD6002M': "$_("Attach")",
-- 
1.9.0




More information about the Kimchi-devel mailing list