From f60d01c24900ec92daf546ebdcc582305475c909 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 28 Nov 2016 09:44:53 +0100 Subject: [PATCH] SONAR-8382 fix l10n --- .../src/main/js/apps/about/components/AboutScanners.js | 4 ++-- sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js b/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js index 764f63876a7..627996d1945 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js @@ -47,7 +47,7 @@ export default class AboutScanners extends React.Component { render () { return (
-

Start analyzing your projects with a SonarQube Scanner

+

{translate('about_page.scanners')}

{scanners.map(scanner => ( @@ -56,7 +56,7 @@ export default class AboutScanners extends React.Component { {translate('about_page.scanners',
-

{translate('about_page.scanners.sonarqube.text')}

+

{translate('about_page.scanners', scanner.key, 'text')}

))} diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 7126eeb049c..928258d86ba 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2713,6 +2713,7 @@ about_page.quality_gates.text=Your project's quality gate is the set of conditio about_page.standards=Conform to recognized standards about_page.standards.text=SonarAnalyzers offer rules that support industry standards. Configure your Quality Profile with standard-related rules to ensure adherence. +about_page.scanners=Start analyzing your projects with a SonarQube Scanner about_page.scanners.sonarqube=SonarQube Scanner about_page.scanners.sonarqube.text=The SonarQube Scanner is a Java-based command-line tool that can analyze any language SonarQube supports. about_page.scanners.msbuild=SonarQube Scanner for MSBuild -- 2.39.5