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

@ -69,7 +69,7 @@ ComunicWeb.components.posts.ui = {
});
//Show the age of the post
postDescription.innerHTML = ComunicWeb.common.date.timeDiffToStr(info.post_time) + " ago";
postDescription.innerHTML = lang("dates_ago", [ComunicWeb.common.date.timeDiffToStr(info.post_time)]);
/**