Author: assaf
Date: Tue Nov 18 15:33:25 2008
New Revision: 718791
URL: http://svn.apache.org/viewvc?rev=718791&view=rev
Log:
Changed location of locale files and removed custom initializer, Rails 2.2 will
load from default location.
Added:
ode/sandbox/singleshot/config/locales/
ode/sandbox/singleshot/config/locales/en.yml
- copied, changed from r718790,
ode/sandbox/singleshot/lib/locale/en-US.yml
Removed:
ode/sandbox/singleshot/config/initializers/locale.rb
ode/sandbox/singleshot/lib/locale/en-US.yml
Modified:
ode/sandbox/singleshot/config/environment.rb
Modified: ode/sandbox/singleshot/config/environment.rb
URL:
http://svn.apache.org/viewvc/ode/sandbox/singleshot/config/environment.rb?rev=718791&r1=718790&r2=718791&view=diff
==============================================================================
--- ode/sandbox/singleshot/config/environment.rb (original)
+++ ode/sandbox/singleshot/config/environment.rb Tue Nov 18 15:33:25 2008
@@ -53,4 +53,11 @@
config.active_record.store_full_sti_class = true
config.active_support.use_standard_json_time_format = true
config.active_support.escape_html_entities_in_json = false
+
+ # The internationalization framework can be changed
+ # to have another default locale (standard is :en) or more load paths.
+ # All files from config/locales/*.rb,yml are added automatically.
+ # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales',
'*.{rb,yml}')]
+ # config.i18n.default_locale = :de
+
end
Copied: ode/sandbox/singleshot/config/locales/en.yml (from r718790,
ode/sandbox/singleshot/lib/locale/en-US.yml)
URL:
http://svn.apache.org/viewvc/ode/sandbox/singleshot/config/locales/en.yml?p2=ode/sandbox/singleshot/config/locales/en.yml&p1=ode/sandbox/singleshot/lib/locale/en-US.yml&r1=718790&r2=718791&rev=718791&view=diff
==============================================================================
(empty)