aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-05-13 11:57:38 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-05-13 11:57:38 +0200
commit2715a0716e230a7cf92d6d4414af99ad98d7830c (patch)
tree180cf3b407146f27c96ff80bb8227e062d206908 /server/sonar-web/src/main/js/apps/code
parent9a74d1aeb8d8bdbcf5c5b2a98fb2b2eefd1414a7 (diff)
downloadsonarqube-2715a0716e230a7cf92d6d4414af99ad98d7830c.tar.gz
sonarqube-2715a0716e230a7cf92d6d4414af99ad98d7830c.zip
SONAR-7634 Metric names should be localized (#967)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/Search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/Search.js b/server/sonar-web/src/main/js/apps/code/components/Search.js
index 86044f9de8f..fb373856470 100644
--- a/server/sonar-web/src/main/js/apps/code/components/Search.js
+++ b/server/sonar-web/src/main/js/apps/code/components/Search.js
@@ -22,7 +22,7 @@ import { connect } from 'react-redux';
import classNames from 'classnames';
import { search, selectCurrent, selectNext, selectPrev } from '../actions';
-import { translateWithParameters } from '../../../helpers/l10n';
+import { translate, translateWithParameters } from '../../../helpers/l10n';
class Search extends Component {
componentDidMount () {
@@ -78,7 +78,7 @@ class Search extends Component {
className={inputClassName}
type="search"
name="q"
- placeholder="Search"
+ placeholder={translate('search_verb')}
maxLength="100"
autoComplete="off"/>
<div className="note">