Repository: ambari Updated Branches: refs/heads/branch-2.4 f6450ab75 -> 1bcfb5527
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/1bcfb552 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1bcfb552 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1bcfb552 Branch: refs/heads/branch-2.4 Commit: 1bcfb55270e79e7f4d117c45e313ff0fb2be9cd9 Parents: f6450ab 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:07 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/1bcfb552/ambari-web/app/messages.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js index d1f3085..2450a7d 100644 --- a/ambari-web/app/messages.js +++ b/ambari-web/app/messages.js @@ -1786,6 +1786,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/1bcfb552/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: {
