]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7729 Improve display of issue changelog entries of type 'FILE'
authorStas Vilchik <vilchiks@gmail.com>
Mon, 19 Dec 2016 12:44:27 +0000 (13:44 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 19 Dec 2016 12:45:27 +0000 (13:45 +0100)
server/sonar-web/src/main/js/helpers/handlebars/changelog.js
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index ab583714f336ba4a031bef4a38512ca2a1cc1cae..0bda7b82214cdad14593661f0588596166620ad5 100644 (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) {
index 928258d86ba67c6e3ace585dcfb6d51cdf2b5597..67b93b050ea40e09899716c1884d0fcb8de2180a 100644 (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