From: Grégoire Aubert Date: Wed, 9 Jan 2019 09:03:13 +0000 (+0100) Subject: SONARCLOUD-273 Update Documentation page title X-Git-Tag: 7.6~152 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=75ea5f8b42cef78a7f11b433c470e7b8c4c9945b;p=sonarqube.git SONARCLOUD-273 Update Documentation page title --- 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 #------------------------------------------------------------------------------