mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 12:42:09 +00:00 
			
		
		
		
	Update i18n
This commit is contained in:
		| @@ -3,8 +3,8 @@ def load_locale(name) | ||||
| end | ||||
|  | ||||
| def translate(locale : Hash(String, JSON::Any) | Nil, translation : String, text : String | Nil = nil) | ||||
|   # if !locale[translation]? | ||||
|   #   puts "Could not find translation for #{translation}" | ||||
|   # if locale && !locale[translation]? | ||||
|   #   puts "Could not find translation for #{translation.dump}" | ||||
|   # end | ||||
|  | ||||
|   if locale && locale[translation]? && !locale[translation].as_s.empty? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth