Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [cf4846c6ae991143afaef987a63c3ad9a3a2546b] by Antonio Tapiador del Dujo

Revision cf4846c6ae991143afaef987a63c3ad9a3a2546b, committed by Antonio Tapiador del Dujo · August 30th, 2009 @ 09:36 PM

I18n support for plugins

Rails will now automatically add locale files found in any engine's locale
directory to the I18n.load_path (i.e. files that match the glob pattern
"config/locales/*/.{rb,yml}" relative to engine directories).

[#2325 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/cf4846c6ae991143afaef987a63c3a...

6 changed files

  • A railties/test/fixtures/plugins/engines/engine/config/locales/en.yml
  • M railties/CHANGELOG
  • M railties/lib/rails/plugin.rb
  • M railties/lib/rails/plugin/loader.rb
  • M railties/test/initializer_test.rb
  • M railties/test/plugin_loader_test.rb