mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #864 from ogom/other_locale
Use the Web UI in other locales.
This commit is contained in:
commit
7c627a49b3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module Sidekiq
|
||||||
end
|
end
|
||||||
|
|
||||||
def t(msg, options={})
|
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
|
string % options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue