Added translation for dates

This commit is contained in:
Pierre HUBERT
2018-08-05 16:40:14 +02:00
parent 0af31052b4
commit 2cd9338417
4 changed files with 23 additions and 11 deletions

View File

@ -147,7 +147,7 @@ ComunicWeb.components.comments.ui = {
createElem2({
appendTo: rightContainer,
type: "span",
innerHTML: ComunicWeb.common.date.timeDiffToStr(infos.time_sent) + " ago"
innerHTML: lang("dates_ago", [ComunicWeb.common.date.timeDiffToStr(infos.time_sent)])
});
//Offer the user the possibility to delete and update the comment if he is allowed to do so