mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix other locale
This commit is contained in:
parent
413b190749
commit
1395b38dd2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def t(msg, options={})
|
||||
string = strings[get_locale].fetch(msg) || strings['en'].fetch(msg)
|
||||
string = strings[get_locale] ? strings[get_locale].fetch(msg) : strings['en'].fetch(msg)
|
||||
string % options
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue