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

Hongliang Wang hlwang at linux.vnet.ibm.com
Thu May 15 07:19:42 UTC 2014


On 05/15/2014 02:49 PM, Zhou Zheng Sheng wrote:
> 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>
Reviewed-by: Hongliang Wang <hlwang 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")",




More information about the Kimchi-devel mailing list