Revision 05f13042
Added by Marc Dequènes over 13 years ago
- ID 05f13042d910b390b3eeb3123fcdfe209e155da3
config/initializers/inflections.rb | ||
---|---|---|
|
||
# Add new inflection rules using the following format
|
||
# (all these examples are active by default):
|
||
# Inflector.inflections do |inflect|
|
||
# ActiveSupport::Inflector.inflections do |inflect|
|
||
# inflect.plural /^(ox)$/i, '\1en'
|
||
# inflect.singular /^(ox)en/i, '\1'
|
||
# inflect.irregular 'person', 'people'
|
Also available in: Unified diff
[evol] migration to libgettext-ruby 2.1.0 and split rails 2.3.5, step #1