]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Update to rails-i18n 0.5.2 and remove monkey patch
[rails.git] / config / initializers / i18n.rb
index 3c3ba872c2c33e851e5bc3a7f1ddaa0d49d0764b..036de52d16d11fcb9051f1c515e97ed3a7cf82f9 100644 (file)
@@ -18,14 +18,7 @@ module I18n
   end
 end
 
   end
 end
 
-I18n::Backend::Simple.include(I18n::Backend::Pluralization)
 I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
 I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
-I18n.load_path << "#{Rails.root}/config/pluralizers.rb"
-
 I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
 I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
-
-Rails.configuration.after_initialize do
-  I18n.reload!
-end