1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Other languages should fall back to EN when there is no native translation, fixes #3950

This commit is contained in:
Mike Perham 2018-09-06 08:51:42 -07:00
parent 9fdbdba693
commit 78344b6710

View file

@ -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