mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	user profile popover: Rename user last seen.
Rename "Last seen just now" to "Just now", and "Unknown" to "More than 2 weeks ago" in user profile popover.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							150ea61271
						
					
				
				
					commit
					6622f995b0
				
			@@ -70,7 +70,7 @@ exports.last_seen_status_from_date = function (last_active_date, current_date) {
 | 
			
		||||
 | 
			
		||||
    var minutes = Math.floor(last_active_date.diffMinutes(current_date));
 | 
			
		||||
    if (minutes <= 2) {
 | 
			
		||||
        return i18n.t("Last seen just now");
 | 
			
		||||
        return i18n.t("Just now");
 | 
			
		||||
    }
 | 
			
		||||
    if (minutes < 60) {
 | 
			
		||||
        return i18n.t("Last seen __minutes__ minutes ago", {minutes: minutes});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user