mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Added translation for dates
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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)]);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user