aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/system/item-log-level.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/system/item-log-level.js')
-rw-r--r--server/sonar-web/src/main/js/apps/system/item-log-level.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/item-log-level.js b/server/sonar-web/src/main/js/apps/system/item-log-level.js
index e832bd086eb..e6977c40d5b 100644
--- a/server/sonar-web/src/main/js/apps/system/item-log-level.js
+++ b/server/sonar-web/src/main/js/apps/system/item-log-level.js
@@ -19,6 +19,7 @@
*/
import React from 'react';
import { setLogLevel } from '../../api/system';
+import { translate } from '../../helpers/l10n';
const LOG_LEVELS = ['INFO', 'DEBUG', 'TRACE'];
@@ -40,7 +41,7 @@ export default React.createClass({
});
let warning = this.state.level !== 'INFO' ? (
<div className="alert alert-danger spacer-top" style={{ wordBreak: 'normal' }}>
- {window.t('system.log_level.warning')}
+ {translate('system.log_level.warning')}
</div>
) : null;
return <div>