mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Add translation to the publishedText parameter
				
					
				
			Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
This commit is contained in:
		| @@ -48,7 +48,7 @@ def parse_related_video(related : JSON::Any, published : String? = nil, publishe | ||||
|     "short_view_count" => JSON::Any.new(short_view_count || "0"), | ||||
|     "author_verified"  => JSON::Any.new(author_verified), | ||||
|     "published"        => JSON::Any.new(published || ""), | ||||
|     "publishedText"    => JSON::Any.new(publishedText || ""), | ||||
|     "publishedText"    => JSON::Any.new(translate(locale, "`x` ago", recode_date(video.published, locale)) || ""), | ||||
|   } | ||||
| end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 RadoslavL
					RadoslavL