Fix note status string to be translateable

(closes #5189)
This commit is contained in:
Bryan Housel
2018-07-28 19:27:31 +02:00
parent 4e2f2fad8d
commit 5c7784fb0b
3 changed files with 14 additions and 1 deletions
+3 -1
View File
@@ -61,7 +61,9 @@ export function uiNoteComments() {
metadataEnter
.append('div')
.attr('class', 'comment-date')
.text(function(d) { return d.action + ' ' + localeDateString(d.date); });
.text(function(d) {
return t('note.status.' + d.action, { when: localeDateString(d.date) });
});
mainEnter
.append('div')