diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-18 14:23:13 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-18 14:23:13 +0100 |
commit | d9b92ee11b33fed5c7a94a91415fa846705f7dd3 (patch) | |
tree | b936c0e1b7c9d3fbe8656a1b3a449383dcc00d55 /railties/Rakefile | |
parent | 75fb8dfb996f5c5d8b64d10ce7b27eeb681d5316 (diff) | |
download | rails-d9b92ee11b33fed5c7a94a91415fa846705f7dd3.tar.gz rails-d9b92ee11b33fed5c7a94a91415fa846705f7dd3.tar.bz2 rails-d9b92ee11b33fed5c7a94a91415fa846705f7dd3.zip |
Added config.i18n settings gatherer to config/environment, auto-loading of all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index c9541b0292..888bebc6dc 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -44,6 +44,7 @@ BASE_DIRS = %w( app config/environments config/initializers + config/locales components db doc @@ -199,6 +200,8 @@ task :copy_configs do cp "configs/initializers/inflections.rb", "#{PKG_DESTINATION}/config/initializers/inflections.rb" cp "configs/initializers/mime_types.rb", "#{PKG_DESTINATION}/config/initializers/mime_types.rb" + cp "configs/locales/en.yml", "#{PKG_DESTINATION}/config/locales/en.yml" + cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb" cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb" cp "environments/production.rb", "#{PKG_DESTINATION}/config/environments/production.rb" |