Repository: ambari
Updated Branches:
  refs/heads/trunk dc080221c -> ea41021d0


AMBARI-6802. Rebalancer: The text for task should be fixed.(xiwang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ea41021d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ea41021d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ea41021d

Branch: refs/heads/trunk
Commit: ea41021d084764a2af4d80cd55cad0165996d546
Parents: dc08022
Author: Xi Wang <[email protected]>
Authored: Fri Aug 8 17:50:41 2014 -0700
Committer: Xi Wang <[email protected]>
Committed: Fri Aug 8 17:59:13 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/messages.js     | 2 +-
 ambari-web/app/utils/helper.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ea41021d/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 5f11b4f..8f642a0 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1182,7 +1182,7 @@ Em.I18n.translations = {
   'services.service.actions.downloadClientConfigs.fail.popup.body':'Generation 
of {0} configurations file has failed. Do you want to try again?',
   'services.service.actions.run.rebalancer':'Run Rebalancer',
   'services.service.actions.run.rebalanceHdfsNodes':'Rebalance HDFS',
-  'services.service.actions.run.rebalanceHdfsNodes.title':'HDFS Rebalance 
NameNode',
+  'services.service.actions.run.rebalanceHdfsNodes.title':'HDFS Rebalance',
   'services.service.actions.run.rebalanceHdfsNodes.prompt':'Balancer threshold 
(percentage of disk capacity):',
   'services.service.actions.run.rebalanceHdfsNodes.promptTooltip':'Percentage 
of disk capacity. This overwrites the default threshold',
   'services.service.actions.run.rebalanceHdfsNodes.promptError':'Value should 
be number between 0 and 100',

http://git-wip-us.apache.org/repos/asf/ambari/blob/ea41021d/ambari-web/app/utils/helper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/helper.js b/ambari-web/app/utils/helper.js
index 5b8899c..d31491c 100644
--- a/ambari-web/app/utils/helper.js
+++ b/ambari-web/app/utils/helper.js
@@ -434,7 +434,7 @@ App.format = {
     if (result === ' Nagios Update Ignore Actionexecute') {
        result = Em.I18n.t('common.maintenance.task');
     }
-    if (result === 'Rebalancehdfs NameNode') {
+    if (result === ' Rebalancehdfs NameNode') {
        result = 
Em.I18n.t('services.service.actions.run.rebalanceHdfsNodes.title');
     }
     return result;

Reply via email to