mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix missing change
This commit is contained in:
parent
a737ee94d1
commit
980adacc2c
1 changed files with 2 additions and 2 deletions
|
@ -51,11 +51,11 @@ class Cli
|
|||
# Create a new config file
|
||||
# @args: options -> set param
|
||||
def setup(options)
|
||||
lang = options[:lang] || Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1]
|
||||
options[:lang] = options[:lang] || Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1]
|
||||
|
||||
I18n.locale = lang.to_sym
|
||||
|
||||
@config.setup(options[:gpg_key], lang, options[:wallet_dir], options[:default_wallet], options[:gpg_exe])
|
||||
@config.setup(options)
|
||||
|
||||
load_config
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue