]> git.openstreetmap.org Git - rails.git/commitdiff
Remove translation reload that is no longer needed
authorTom Hughes <tom@compton.nu>
Sun, 4 Mar 2012 15:10:51 +0000 (15:10 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 4 Mar 2012 15:10:51 +0000 (15:10 +0000)
Now that we are using the rails-i18n gem the rails locales are added
to the path early on and we don't need to reload to get them.

config/initializers/i18n.rb

index 7aafc91ebdbb7c0c26f01af95b18d89f7c0fadb4..036de52d16d11fcb9051f1c515e97ed3a7cf82f9 100644 (file)
@@ -22,7 +22,3 @@ I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback)
 I18n::Backend::Simple.include(I18n::Backend::Fallbacks)
 
 I18n.fallbacks.map("no" => "nb")
-
-Rails.configuration.after_initialize do
-  I18n.reload!
-end