summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js2
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties8
2 files changed, 10 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
index 5459c7a5a6b..c4ecf42b924 100644
--- a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
+++ b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
@@ -7,6 +7,8 @@ const ComponentDetach = ({ component }) => (
<a
className="icon-detach"
target="_blank"
+ title={window.t('code.open_in_new_tab')}
+ data-toggle="tooltip"
href={getComponentUrl(component.key)}/>
);
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 c907c833574..8f40801694f 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -3158,3 +3158,11 @@ overview.no_duplications=This component does not have details details.
#------------------------------------------------------------------------------
api_documentation.deprecation_tooltip=Deprecated services remain available through the first L.T.S. version released after deprecation, and will be removed before the second.
api_documentation.internal_tooltip=Use at your own risk; internal services are subject to change or removal without notice.
+
+
+#------------------------------------------------------------------------------
+#
+# CODE
+#
+#------------------------------------------------------------------------------
+code.open_in_new_tab=Open in New Tab