Repository: ambari Updated Branches: refs/heads/trunk f67c9cf3a -> bb4046625
Change Delete option to "Delete Service" in Actions Menu. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bb404662 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bb404662 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bb404662 Branch: refs/heads/trunk Commit: bb40466259696aa187b7ddb0e65f7947c9f39c69 Parents: f67c9cf Author: Jaimin Jetly <[email protected]> Authored: Fri Jul 15 13:24:38 2016 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Fri Jul 15 13:25:59 2016 -0700 ---------------------------------------------------------------------- ambari-web/app/messages.js | 1 + ambari-web/app/models/host_component.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/bb404662/ambari-web/app/messages.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js index ea53262..ffc31c2 100644 --- a/ambari-web/app/messages.js +++ b/ambari-web/app/messages.js @@ -1816,6 +1816,7 @@ Em.I18n.translations = { 'services.service.actions.downloadClientConfigs.fail.popup.body.noErrorMessage':'Generation of {0} configurations file has failed. ', 'services.service.actions.downloadClientConfigs.fail.popup.body.errorMessage':'Generation of {0} configurations file has failed with {1} error: <br /><pre><span class="text-error">{2}</span></pre>', 'services.service.actions.downloadClientConfigs.fail.popup.body.question':'Do you want to try again?', + 'services.service.actions.deleteService':'Delete Service', 'services.service.actions.run.rebalancer':'Run Rebalancer', 'services.service.actions.run.rebalanceHdfsNodes':'Rebalance HDFS', 'services.service.actions.run.rebalanceHdfsNodes.title':'HDFS Rebalance', http://git-wip-us.apache.org/repos/asf/ambari/blob/bb404662/ambari-web/app/models/host_component.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/models/host_component.js b/ambari-web/app/models/host_component.js index 973b809..91642c9 100644 --- a/ambari-web/app/models/host_component.js +++ b/ambari-web/app/models/host_component.js @@ -399,7 +399,7 @@ App.HostComponentActionMap = { DELETE_SERVICE: { action: 'deleteService', context: ctx.get('serviceName'), - label: Em.I18n.t('common.delete'), + label: Em.I18n.t('services.service.actions.deleteService'), cssClass: 'icon-remove' }, IMMEDIATE_STOP_HAWQ_SERVICE: {
