diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 77d80a71d3c..990bb317da1 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -1275,6 +1275,7 @@ label.vsmstoragevlanid=Storage VLAN ID label.vsphere.managed=vSphere Managed label.waiting=Waiting label.warn=Warn +label.warning=Warning label.wednesday=Wednesday label.weekly=Weekly label.welcome.cloud.console=Welcome to Management Console diff --git a/ui/dictionary2.jsp b/ui/dictionary2.jsp index 635a37405ca..1b2089c2cbe 100644 --- a/ui/dictionary2.jsp +++ b/ui/dictionary2.jsp @@ -256,6 +256,7 @@ under the License. 'label.vsphere.managed': '', 'label.waiting': '', 'label.warn': '', +'label.warning': '', 'label.wednesday': '', 'label.weekly': '', 'label.welcome.cloud.console': '', diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 90ce2b15d7b..d439c66a533 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -675,6 +675,7 @@ confirm: function(args) { return 'message.action.expunge.instance'; }, + isWarning: true, notification: function(args) { return 'label.action.expunge.instance'; } @@ -741,6 +742,7 @@ confirm: function(args) { return 'message.reinstall.vm'; }, + isWarning: true, notification: function(args) { return 'label.reinstall.vm'; }, diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index 610cb1a1970..e5ac14bbb6c 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -827,7 +827,7 @@ _l(args.message) ) ).dialog({ - title: _l('label.confirmation'), + title: args.isWarning ? _l('label.warning') : _l('label.confirmation'), dialogClass: args.isWarning ? 'confirm warning': 'confirm', closeOnEscape: false, zIndex: 5000,