From 78344b671039c37fa0ec1ee9d40369392fa9b73b Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Thu, 6 Sep 2018 08:51:42 -0700 Subject: [PATCH] Other languages should fall back to EN when there is no native translation, fixes #3950 --- lib/sidekiq/web/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/web/helpers.rb b/lib/sidekiq/web/helpers.rb index 824522cb..d9ca95b9 100644 --- a/lib/sidekiq/web/helpers.rb +++ b/lib/sidekiq/web/helpers.rb @@ -121,7 +121,7 @@ module Sidekiq end def t(msg, options={}) - string = get_locale[msg] || msg + string = get_locale[msg] || strings('en')[msg] || msg if options.empty? string else