diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-01-06 16:14:25 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-01-06 16:25:12 +0100 |
commit | f4c7830570b522ad83ec9168cf12755e58192d26 (patch) | |
tree | 60cb773e73bd4cd17b5d83191897d439ea0bbad5 /server/sonar-web/src/main/js/widgets/old/treemap.js | |
parent | 14fde3c0c46e717ac44a0b482f21f82149e2e837 (diff) | |
download | sonarqube-f4c7830570b522ad83ec9168cf12755e58192d26.tar.gz sonarqube-f4c7830570b522ad83ec9168cf12755e58192d26.zip |
rewrite translation module
Diffstat (limited to 'server/sonar-web/src/main/js/widgets/old/treemap.js')
-rw-r--r-- | server/sonar-web/src/main/js/widgets/old/treemap.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/widgets/old/treemap.js b/server/sonar-web/src/main/js/widgets/old/treemap.js index ffc4faf67b5..4d8801d804b 100644 --- a/server/sonar-web/src/main/js/widgets/old/treemap.js +++ b/server/sonar-web/src/main/js/widgets/old/treemap.js @@ -19,6 +19,7 @@ */ import $ from 'jquery'; import _ from 'underscore'; +import { translate } from '../../helpers/l10n'; (function () { @@ -56,7 +57,7 @@ import _ from 'underscore'; this.filterComponents(); if (!this.components().length) { this.maxResultsReachedLabel - .text(window.t('treemap.all_measures_undefined')) + .text(translate('treemap.all_measures_undefined')) .style('display', 'block'); return; } |