Browse Source

SONAR-7729 Improve display of issue changelog entries of type 'FILE'

tags/6.3-RC1
Stas Vilchik 7 years ago
parent
commit
81b5eb8f1e

+ 1
- 1
server/sonar-web/src/main/js/helpers/handlebars/changelog.js View File

@@ -23,7 +23,7 @@ module.exports = function (diff) {
let message;

if (diff.key === 'file') {
return translate('issue.change.issue_was_moved');
return translateWithParameters('issue.change.file_move', diff.oldValue, diff.newValue);
}

if (diff.newValue != null) {

+ 1
- 1
sonar-core/src/main/resources/org/sonar/l10n/core.properties View File

@@ -681,7 +681,7 @@ issues.issues=issues
#------------------------------------------------------------------------------
issue.changelog.changed_to={0} changed to {1}
issue.changelog.was=was {0}
issue.change.issue_was_moved=The issue was moved
issue.change.file_move=The file has been moved from {0} to {1}
issue.changelog.removed={0} removed
issue.changelog.field.severity=Severity
issue.changelog.field.actionPlan=Action Plan

Loading…
Cancel
Save