From 75ea5f8b42cef78a7f11b433c470e7b8c4c9945b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Aubert?= Date: Wed, 9 Jan 2019 10:03:13 +0100 Subject: [PATCH] SONARCLOUD-273 Update Documentation page title --- .../src/main/js/apps/documentation/components/App.tsx | 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/documentation/components/App.tsx b/server/sonar-web/src/main/js/apps/documentation/components/App.tsx index 67ab2d154bb..7ce4f0c79ad 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/App.tsx @@ -60,7 +60,7 @@ export default class App extends React.PureComponent { : ((navigationTreeSonarQube as any).default as DocsNavigationItem[]); const { splat = '' } = this.props.params; const page = this.pages.find(p => p.url === '/' + splat); - const mainTitle = translate('documentation.page'); + const mainTitle = translate('documentation.page_title'); if (!page) { return ( @@ -77,7 +77,7 @@ export default class App extends React.PureComponent { return (
- + {!isSonarCloud() && } 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 5faef32d79a..b07d58a4d21 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2552,6 +2552,7 @@ api_documentation.search=Search by name... # #------------------------------------------------------------------------------ documentation.page=Documentation +documentation.page_title=SonarCloud Docs #------------------------------------------------------------------------------ -- 2.39.5