From 90cba00ada375c85944d01cf0422edbed771a6a5 Mon Sep 17 00:00:00 2001 From: guillaume-peoch-sonarsource Date: Fri, 24 Nov 2023 15:01:59 +0100 Subject: [PATCH] SONAR-21103 Add link to WEB API v2 documentation in nav bar --- .../src/main/js/components/embed-docs-modal/EmbedDocsPopup.tsx | 1 + sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/server/sonar-web/src/main/js/components/embed-docs-modal/EmbedDocsPopup.tsx b/server/sonar-web/src/main/js/components/embed-docs-modal/EmbedDocsPopup.tsx index 605a6ded907..ea88f34eb8a 100644 --- a/server/sonar-web/src/main/js/components/embed-docs-modal/EmbedDocsPopup.tsx +++ b/server/sonar-web/src/main/js/components/embed-docs-modal/EmbedDocsPopup.tsx @@ -91,6 +91,7 @@ export function EmbedDocsPopup() { {translate('docs.documentation')} {translate('api_documentation.page')} + {translate('api_documentation.page.v2')} 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 588946e4906..c96c1b7f451 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -3958,6 +3958,7 @@ overview.activity.variations.first_analysis=First analysis: api_documentation.deprecation_tooltip=An API deprecated in version X.Y will be dropped in version (X+1).0. Example: an API deprecated in 4.1 is supported in 4.X (4.2, 4.3, etc.) and will be dropped in version 5.0. api_documentation.internal_tooltip=Use at your own risk; internal services are subject to change or removal without notice. api_documentation.page=Web API +api_documentation.page.v2=Web API v2 api_documentation.show_deprecated=Show Deprecated API api_documentation.show_internal=Show Internal API api_documentation.possible_values=Possible values -- 2.39.5