From e486be5ba853b90355f91ff080a08172e9034cfb Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Sun, 26 Feb 2017 21:22:25 +0100 Subject: [PATCH] fix bug --- lib/mpw/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mpw/cli.rb b/lib/mpw/cli.rb index 7bce420..409bf5a 100644 --- a/lib/mpw/cli.rb +++ b/lib/mpw/cli.rb @@ -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)