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:
parent
9fdbdba693
commit
78344b6710
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ module Sidekiq
|
||||||
end
|
end
|
||||||
|
|
||||||
def t(msg, options={})
|
def t(msg, options={})
|
||||||
string = get_locale[msg] || msg
|
string = get_locale[msg] || strings('en')[msg] || msg
|
||||||
if options.empty?
|
if options.empty?
|
||||||
string
|
string
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue