This project is archived and is in readonly mode.
Changeset [49342d1745dd0e6c4ebebe9e535e374783ac2c10] by Antonio Tapiador del Dujo
Revision 49342d1745dd0e6c4ebebe9e535e374783ac2c10,
committed by Antonio Tapiador del Dujo
· August 30th, 2009 @ 09:38 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/49342d1745dd0e6c4ebebe9e535e37...
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