aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-09-07 10:04:36 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-09-07 10:04:36 +0200
commit888a438e8f85b39f8e7cb2dec45244902c0849cb (patch)
tree31c6f96eb7453d435ce97a27f602f56dbb934e05 /plugins
parent4bb83dec70829329bdb1f1dfcd0860c4b695df3f (diff)
downloadsonarqube-888a438e8f85b39f8e7cb2dec45244902c0849cb.tar.gz
sonarqube-888a438e8f85b39f8e7cb2dec45244902c0849cb.zip
SONAR-2701 Rename to "History Table" and add to "History" category
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TimeMachineWidget.java4
-rw-r--r--plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties2
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TimeMachineWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TimeMachineWidget.java
index 185e814374c..de1ac4a343b 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TimeMachineWidget.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TimeMachineWidget.java
@@ -21,10 +21,12 @@ package org.sonar.plugins.core.widgets;
import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.RubyRailsWidget;
+import org.sonar.api.web.WidgetCategory;
import org.sonar.api.web.WidgetProperties;
import org.sonar.api.web.WidgetProperty;
import org.sonar.api.web.WidgetPropertyType;
+@WidgetCategory({ "History" })
@WidgetProperties(
{
@WidgetProperty(key = "numberOfColumns", type = WidgetPropertyType.INTEGER, defaultValue = "4"),
@@ -47,7 +49,7 @@ public class TimeMachineWidget extends AbstractRubyTemplate implements RubyRails
}
public String getTitle() {
- return "Time Machine";
+ return "History Table";
}
@Override
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 1d10da41bd9..c507e12d2b2 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
@@ -518,7 +518,7 @@ widget.timeline.name=Timeline
widget.timeline.description=Displays up to 3 metrics on a history chart.
widget.timeline.timeline_not_displayed=The timeline won't be displayed as currently only 1 snapshot is available.
-widget.time_machine.name=Time Machine
+widget.time_machine.name=History Table
widget.time_machine.description=Displays up to 10 metrics in a table, showing their value for a specified number of past snapshots.
widget.ckjm.name=Chidamber & Kemerer