From 69f261e38e7911b3ab677d5ec1369cf08c655673 Mon Sep 17 00:00:00 2001 From: adrien Date: Fri, 3 Jan 2014 15:26:46 +0100 Subject: [PATCH] remove fix warning --- mpw | 1 - mpw-ssh | 1 - 2 files changed, 2 deletions(-) diff --git a/mpw b/mpw index bef6ac7..04da00e 100755 --- a/mpw +++ b/mpw @@ -15,7 +15,6 @@ require "#{APP_ROOT}/lib/Cli.rb" lang = Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1] I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) -I18n.enforce_available_locales = false I18n.load_path = Dir["#{APP_ROOT}/i18n/*.yml"] I18n.default_locale = :en I18n.locale = lang.to_sym diff --git a/mpw-ssh b/mpw-ssh index 7813719..a991cc1 100755 --- a/mpw-ssh +++ b/mpw-ssh @@ -15,7 +15,6 @@ require "#{APP_ROOT}/lib/CliSSH.rb" lang = Locale::Tag.parse(ENV['LANG']).to_simple.to_s[0..1] I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) -I18n.enforce_available_locales = false I18n.load_path = Dir["#{APP_ROOT}/i18n/*.yml"] I18n.default_locale = :en I18n.locale = lang.to_sym