diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-23 20:05:42 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-08-11 00:20:19 -0300 |
commit | a9dccda936cbd3ead6d43997e6c7990f8bd92055 (patch) | |
tree | fbc5777e4817deb447bba27d0def3666a8377fd5 /railties/lib | |
parent | b6e00c67647b523e21dd5c8886859d92c0d6c5fb (diff) | |
download | rails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.tar.gz rails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.tar.bz2 rails-a9dccda936cbd3ead6d43997e6c7990f8bd92055.zip |
Fallback to :en locale instead of handling a constant with defaults
Action Pack already comes with a default locale fine for :en, that is
always loaded. We can just fallback to this locale for defaults, if
values for the current locale cannot be found.
Closes #4420, #2802, #2890.
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions