From d49e42c909ad5a01ba718f84c19c14612127396d Mon Sep 17 00:00:00 2001 From: Godwin Date: Sat, 29 Aug 2015 16:19:21 -0700 Subject: [PATCH] Set lenguage threshold for environments --- config/environments/development.rb | 2 ++ config/environments/preview.rb | 2 ++ config/environments/production.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 42bcc2c..a620a2d 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -56,4 +56,6 @@ BikeBike::Application.configure do #config.assets.precompile = false Paypal.sandbox! #Paypal.sandbox = false + + config.i18n.language_threshold = 1 end diff --git a/config/environments/preview.rb b/config/environments/preview.rb index c5d7959..04dfd7c 100644 --- a/config/environments/preview.rb +++ b/config/environments/preview.rb @@ -99,4 +99,6 @@ BikeBike::Application.configure do } config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true + + config.i18n.language_threshold = 1 end diff --git a/config/environments/production.rb b/config/environments/production.rb index cf3a012..b513180 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -100,4 +100,6 @@ BikeBike::Application.configure do } config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true + + config.i18n.language_threshold = 90 end