Permalink
Browse files

I18n: removed call to #populate from main library files

  • Loading branch information...
1 parent 44de71b commit 0fcd5b5466461e44b6f3b007fa2a2fdf43f55681 @mseppae mseppae committed with svenfuchs Aug 27, 2008
Showing with 3 additions and 9 deletions.
  1. +1 −3 actionpack/lib/action_view.rb
  2. +1 −3 activerecord/lib/active_record.rb
  3. +1 −3 activesupport/lib/active_support.rb
View
4 actionpack/lib/action_view.rb
@@ -43,9 +43,7 @@
require 'action_view/partials'
require 'action_view/template_error'
-I18n.backend.populate do
- I18n.load_translations "#{File.dirname(__FILE__)}/action_view/locale/en-US.yml"
-end
+I18n.load_translations "#{File.dirname(__FILE__)}/action_view/locale/en-US.yml"
require 'action_view/helpers'
View
4 activerecord/lib/active_record.rb
@@ -77,7 +77,5 @@
require 'active_record/schema_dumper'
-I18n.backend.populate do
- I18n.load_translations File.dirname(__FILE__) + '/active_record/locale/en-US.yml'
-end
+I18n.load_translations File.dirname(__FILE__) + '/active_record/locale/en-US.yml'
View
4 activesupport/lib/active_support.rb
@@ -55,9 +55,7 @@
require 'active_support/time_with_zone'
-I18n.populate do
- I18n.load_translations File.dirname(__FILE__) + '/active_support/locale/en-US.yml'
-end
+I18n.load_translations File.dirname(__FILE__) + '/active_support/locale/en-US.yml'
Inflector = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Inflector', 'ActiveSupport::Inflector')
Dependencies = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Dependencies', 'ActiveSupport::Dependencies')

0 comments on commit 0fcd5b5

Please sign in to comment.