Author: assaf
Date: Tue Nov 18 15:32:35 2008
New Revision: 718772
URL: http://svn.apache.org/viewvc?rev=718772&view=rev
Log:
Relocated en-US to lib/locale
Added:
ode/sandbox/singleshot/config/initializers/locale.rb
ode/sandbox/singleshot/lib/locale/
ode/sandbox/singleshot/lib/locale/en-US.yml
- copied, changed from r718771,
ode/sandbox/singleshot/config/locale/en-US.yml
Removed:
ode/sandbox/singleshot/config/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=718772&r1=718771&r2=718772&view=diff
==============================================================================
--- ode/sandbox/singleshot/config/environment.rb (original)
+++ ode/sandbox/singleshot/config/environment.rb Tue Nov 18 15:32:35 2008
@@ -5,7 +5,7 @@
# ENV['RAILS_ENV'] ||= 'production'
# Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
+#RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
@@ -29,7 +29,7 @@
config.gem 'rest-open-uri', :version=>'~>1.0'
config.gem 'rmagick', :lib=>'RMagick', :version=>'~>2.5'
config.gem 'sparklines', :version=>'~>0.5'
- config.gem 'acts_as_ferret', :version=>'~>0.4'
+ #config.gem 'acts_as_ferret', :version=>'~>0.4'
config.gem 'mislav-will_paginate', :lib=>'will_paginate',
:source=>'http://gems.github.com', :version=>'~>2.3'
@@ -76,5 +76,3 @@
# Make ActiveRecord only save the attributes that have changed since the
record was loaded.
# config.active_record.partial_updates = true
end
-
-I18n.load_translations 'config/locale/en-US.yml'
Added: ode/sandbox/singleshot/config/initializers/locale.rb
URL:
http://svn.apache.org/viewvc/ode/sandbox/singleshot/config/initializers/locale.rb?rev=718772&view=auto
==============================================================================
--- ode/sandbox/singleshot/config/initializers/locale.rb (added)
+++ ode/sandbox/singleshot/config/initializers/locale.rb Tue Nov 18 15:32:35
2008
@@ -0,0 +1,3 @@
+Dir["#{Rails.root}/lib/locale/*.yml"].each do |path|
+ I18n.load_translations path
+end
\ No newline at end of file
Copied: ode/sandbox/singleshot/lib/locale/en-US.yml (from r718771,
ode/sandbox/singleshot/config/locale/en-US.yml)
URL:
http://svn.apache.org/viewvc/ode/sandbox/singleshot/lib/locale/en-US.yml?p2=ode/sandbox/singleshot/lib/locale/en-US.yml&p1=ode/sandbox/singleshot/config/locale/en-US.yml&r1=718771&r2=718772&rev=718772&view=diff
==============================================================================
(empty)