From: Revanshu Paliwal Date: Tue, 26 Apr 2022 15:26:39 +0000 (+0200) Subject: SONAR-16313 Updating tag descriptions for issues X-Git-Tag: 9.5.0.56709~203 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=22775e5058dc2a2ba65946967aa850d203d07588;p=sonarqube.git SONAR-16313 Updating tag descriptions for issues --- diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx index 2d2cb80c068..33d4e8316b7 100644 --- a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx +++ b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx @@ -88,7 +88,7 @@ export default function IssueMessage(props: IssueMessageProps) { ]}> {ruleStatus === RuleStatus.Deprecated - ? translate('rules.status.DEPRECATED') + ? translate('issue.resolution.DEPRECATED.rule_deprecated') : translate('issue.resolution.REMOVED.rule_removed')} diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap index 178a1810306..ad368c1d951 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap @@ -46,7 +46,7 @@ exports[`should render correctly: is deprecated rule 1`] = ` - rules.status.DEPRECATED + issue.resolution.DEPRECATED.rule_deprecated 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 2391219ad1a..c699a344f70 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -890,6 +890,7 @@ issue.resolution.WONTFIX.description=Issues that are accepted in this context. T issue.resolution.REMOVED=Removed issue.resolution.REMOVED.description=Either the rule or the resource was changed (removed, relocated, parameters changed, etc.) so that analysis no longer finds these issues. issue.resolution.REMOVED.rule_removed=Rule removed +issue.resolution.DEPRECATED.rule_deprecated=Rule deprecated issue.unresolved.description=Unresolved issues have not been addressed in any way. issue.effort=Effort: