Przeglądaj źródła

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

Xi Wang 10 lat temu
rodzic
commit
ea41021d08
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      ambari-web/app/messages.js
  2. 1 1
      ambari-web/app/utils/helper.js

+ 1 - 1
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',

+ 1 - 1
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;