Invidious is an alternative front-end to YouTube
Update i18n
Omar Rothd06c5306be9a
diff --git a/src/invidious/helpers/i18n.cr b/src/invidious/helpers/i18n.crindex ec44604f..5acdcfc5 100644--- a/src/invidious/helpers/i18n.cr+++ b/src/invidious/helpers/i18n.cr@@ -3,8 +3,8 @@ def load_locale(name)enddef 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}"# endif locale && locale[translation]? && !locale[translation].as_s.empty?