public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
I18n: removed call to #populate from main library files
mseppae (author)
Wed Aug 27 01:36:00 -0700 2008
svenfuchs (committer)
Wed Aug 27 01:36:00 -0700 2008
commit  0fcd5b5466461e44b6f3b007fa2a2fdf43f55681
tree    8ba4506d48828a70bb745bff78e5fcfc92b0be87
parent  44de71ba948e5318b09ea57f5a26ed548277ba44
...
43
44
45
46
47
48
 
49
50
51
...
43
44
45
 
 
 
46
47
48
49
0
@@ -43,9 +43,7 @@ require 'action_view/base'
0
 require 'action_view/partials'
0
 require 'action_view/template_error'
0
 
0
-I18n.backend.populate do
0
-  I18n.load_translations "#{File.dirname(__FILE__)}/action_view/locale/en-US.yml"
0
-end
0
+I18n.load_translations "#{File.dirname(__FILE__)}/action_view/locale/en-US.yml"
0
 
0
 require 'action_view/helpers'
0
 
...
77
78
79
80
81
82
 
83
...
77
78
79
 
 
 
80
81
0
@@ -77,7 +77,5 @@ require 'active_record/connection_adapters/abstract_adapter'
0
 
0
 require 'active_record/schema_dumper'
0
 
0
-I18n.backend.populate do
0
-  I18n.load_translations File.dirname(__FILE__) + '/active_record/locale/en-US.yml'
0
-end
0
+I18n.load_translations File.dirname(__FILE__) + '/active_record/locale/en-US.yml'
0
 
...
55
56
57
58
59
60
 
61
62
63
...
55
56
57
 
 
 
58
59
60
61
0
@@ -55,9 +55,7 @@ require 'active_support/base64'
0
 
0
 require 'active_support/time_with_zone'
0
 
0
-I18n.populate do
0
-  I18n.load_translations File.dirname(__FILE__) + '/active_support/locale/en-US.yml'
0
-end
0
+I18n.load_translations File.dirname(__FILE__) + '/active_support/locale/en-US.yml'
0
 
0
 Inflector = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Inflector', 'ActiveSupport::Inflector')
0
 Dependencies = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Dependencies', 'ActiveSupport::Dependencies')

Comments