From f6983bdbac0ea0edfc3461cb569799b342124718 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 27 Mar 2012 19:13:47 +0200 Subject: [PATCH] SONAR-3114 Set the tab ID to its previous value ('dependencies') --- .../plugins/design/ui/dependencies/DependenciesViewer.java | 2 +- .../design/ui/dependencies/dependencies_viewer.html.erb | 2 +- .../src/main/resources/org/sonar/l10n/core.properties | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java index ed69dd324f7..d3294622b4a 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java @@ -37,7 +37,7 @@ import org.sonar.api.web.UserRole; public class DependenciesViewer extends AbstractRubyTemplate implements RubyRailsPage { public String getId() { - return "dependencies_viewer"; + return "dependencies"; } public String getTitle() { diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb index 755512d6631..757302422fb 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/dependencies_viewer.html.erb @@ -25,7 +25,7 @@ - <%= message('dependencies_viewer.' + metric_name) -%>: <%= format_measure(measure) -%> + <%= message('dependencies.' + metric_name) -%>: <%= format_measure(measure) -%> diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index 1a60cfa55e8..82eb81b3524 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -325,7 +325,7 @@ violations.page=Violations violations_drilldown.page=Violations Drilldown update_center.page=Update Center lcom4_viewer.page=LCOM4 -dependencies_viewer.page=Dependencies +dependencies.page=Dependencies # GWT pages @@ -842,8 +842,8 @@ code_viewer.create_violation.unit_test_not_supported=Users can not create their # DEPENDENCIES VIEWER # #------------------------------------------------------------------------------ -dependencies_viewer.ca=Afferent (incoming) couplings -dependencies_viewer.ce=Efferent (outgoing) couplings +dependencies.ca=Afferent (incoming) couplings +dependencies.ce=Efferent (outgoing) couplings #------------------------------------------------------------------------------ -- 2.39.5