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/components/charts | |
parent | 14fde3c0c46e717ac44a0b482f21f82149e2e837 (diff) | |
download | sonarqube-f4c7830570b522ad83ec9168cf12755e58192d26.tar.gz sonarqube-f4c7830570b522ad83ec9168cf12755e58192d26.zip |
rewrite translation module
Diffstat (limited to 'server/sonar-web/src/main/js/components/charts')
-rw-r--r-- | server/sonar-web/src/main/js/components/charts/treemap.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/charts/treemap.js b/server/sonar-web/src/main/js/components/charts/treemap.js index b1b316d86fa..09b95e1e151 100644 --- a/server/sonar-web/src/main/js/components/charts/treemap.js +++ b/server/sonar-web/src/main/js/components/charts/treemap.js @@ -24,6 +24,7 @@ import React from 'react'; import { TreemapBreadcrumbs } from './treemap-breadcrumbs'; import { ResizeMixin } from './../mixins/resize-mixin'; import { TooltipsMixin } from './../mixins/tooltips-mixin'; +import { translate } from '../../helpers/l10n'; const SIZE_SCALE = d3.scale.linear() @@ -121,7 +122,7 @@ export const Treemap = React.createClass({ renderWhenNoData () { return <div className="sonar-d3"> <div className="treemap-container" style={{ width: this.state.width, height: this.state.height }}> - {window.t('no_data')} + {translate('no_data')} </div> <TreemapBreadcrumbs {...this.props}/> </div>; |