Browse Source

AMBARI-3845. Incorrect warning message when trying to delete host with running components. (xiwang via yusaku)

Yusaku Sako 11 years ago
parent
commit
ceaa02b23a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      ambari-web/app/messages.js

+ 4 - 4
ambari-web/app/messages.js

@@ -1371,11 +1371,11 @@ Em.I18n.translations = {
   'hosts.delete.popup.title':'Delete Host',
   'hosts.delete.popup.unknownComponents':'The following components have unknown status:',
   'hosts.cant.do.popup.title':'Unable to Delete Host',
-  'hosts.cant.do.popup.masterList.body':'Host cannot be deleted with the master components installed',
-  'hosts.cant.do.popup.masterList.body.end':'The master components on this host must to be stopped and moved to a different host to be able to delete this host',
+  'hosts.cant.do.popup.masterList.body':'This host cannot be deleted since it has the following master components:',
+  'hosts.cant.do.popup.masterList.body.end':'<strong>Note:</strong> To delete this host, you must first move all the master components listed above to another host.',
   'hosts.cant.do.popup.nonDeletableList.body':'Deletion of the following {0} components is not supported. ',
-  'hosts.cant.do.popup.runningList.body':'This host cannot be deleted since it has the following master components: ',
-  'hosts.cant.do.popup.runningList.body.end':'<strong>Note:</strong> To delete this host, you must first move all the master components listed above to another host.',
+  'hosts.cant.do.popup.runningList.body':'This host cannot be deleted since the following components are still running:',
+  'hosts.cant.do.popup.runningList.body.end':'<strong>Note:</strong> To delete this host, you must first stop all the running components listed above.',
   'hosts.add.header':'Add Host Wizard',
   'hosts.assignRack':'Assign Rack',