From 2b90c6d9deb4fafe99ae7c88cdc67d02cd1d2d76 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 4 Jun 2013 15:54:15 +0200 Subject: SONAR-4284 Display a changelog in the Issue detail page --- .../src/main/resources/org/sonar/l10n/core.properties | 16 +++------------- .../notification/SendIssueNotificationsPostJobTest.java | 4 ++-- 2 files changed, 5 insertions(+), 15 deletions(-) (limited to 'plugins') diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index e3f1199d772..4355c95aad8 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -106,6 +106,7 @@ refresh=Refresh remove=Remove rename=Rename reset_verb=Reset +resolution=Resolution result=Result results=Results x_results={0} results @@ -501,7 +502,6 @@ issue.planned_for=Planned for issue.manual.missing_rule=Missing rule issue.manual.no_rules=No rules. issue.reported_by=Reported by -issue.component_deleted=Removed #------------------------------------------------------------------------------ @@ -989,7 +989,7 @@ widget.my_reviews.no_issue=No issue. widget.my_reviews.property.numberOfLines.name=Number of lines widget.my_reviews.property.numberOfLines.desc=Maximum number of issues displayed at the same time. -widget.false_positive_reviews.name=False Positives +widget.false_positive_reviews.name=False Positives Issues widget.false_positive_reviews.description=Shows all the false positives found on the project. widget.false_positive_reviews.property.numberOfLines.name=Number of lines widget.false_positive_reviews.property.numberOfLines.desc=Maximum number of issues displayed at the same time. @@ -1004,7 +1004,7 @@ widget.unresolved_issues_statuses.description=Displays the number of unresolved widget.action_plans.name=Action Plans widget.action_plans.description=Shows all the open action plans of the project. widget.action_plans.property.showResolvedIssues.name=Show Resolved Issues -widget.action_plans.title=Open Action Plans +widget.action_plans.title=Open action plans widget.action_plans.no_action_plan=No action plan widget.action_plans.x_unresolved_issues={0} unresolved issues @@ -2220,16 +2220,6 @@ global_role.profileadmin=Quality Profile Administrators global_role.profileadmin.desc=Ability to perform any action on the quality profiles. -#------------------------------------------------------------------------------ -# -# PROJECTS ROLES -# -#------------------------------------------------------------------------------ -projects_role.role=Role Membership For New {0} -projects_role.users=Users -projects_role.groups=Groups - - #------------------------------------------------------------------------------ # # ERRORS HANDLING diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJobTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJobTest.java index 055af97946e..fd9af8ea8ec 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJobTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/SendIssueNotificationsPostJobTest.java @@ -91,7 +91,7 @@ public class SendIssueNotificationsPostJobTest { Rule rule = new Rule("squid", "AvoidCycles"); DefaultIssue issue = new DefaultIssue() .setChanged(true) - .setFieldDiff(mock(IssueChangeContext.class), "severity", "MINOR", "BLOCKER") + .setFieldChange(mock(IssueChangeContext.class), "severity", "MINOR", "BLOCKER") .setRuleKey(ruleKey); when(issueCache.all()).thenReturn(Arrays.asList(issue)); when(ruleFinder.findByKey(ruleKey)).thenReturn(rule); @@ -110,7 +110,7 @@ public class SendIssueNotificationsPostJobTest { RuleKey ruleKey = RuleKey.of("squid", "AvoidCycles"); DefaultIssue issue = new DefaultIssue() .setChanged(true) - .setFieldDiff(changeContext, "severity", "MINOR", "BLOCKER") + .setFieldChange(changeContext, "severity", "MINOR", "BLOCKER") .setRuleKey(ruleKey); when(issueCache.all()).thenReturn(Arrays.asList(issue)); when(ruleFinder.findByKey(ruleKey)).thenReturn(null); -- cgit v1.2.3