mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix bug
This commit is contained in:
parent
980adacc2c
commit
e486be5ba8
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class Cli
|
|||
def setup(options)
|
||||
options[:lang] = options[:lang] || Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1]
|
||||
|
||||
I18n.locale = lang.to_sym
|
||||
I18n.locale = options[:lang].to_sym
|
||||
|
||||
@config.setup(options)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue