diff options
| author | vlatka pavisic | 2016-12-12 15:49:52 +0100 |
|---|---|---|
| committer | vlatka pavisic | 2016-12-12 15:49:58 +0100 |
| commit | 2d4e6b45b0295e8c01deaebb04f8be009a7f9d87 (patch) | |
| tree | efb5139d08a29e9e0c9017b35d34ca8aa611f34d /config/initializers | |
| parent | 73ab4dfc33dcf6b32198ae902fea3f8504821dea (diff) | |
| download | chouette-core-2d4e6b45b0295e8c01deaebb04f8be009a7f9d87.tar.bz2 | |
Refs #1955 : RoutingConstraintZone
Diffstat (limited to 'config/initializers')
| -rw-r--r-- | config/initializers/inflections.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 5f618b7d5..2dfacf970 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -4,12 +4,13 @@ # Add new inflection rules using the following format. Inflections # are locale specific, and you may define rules for as many different # locales as you wish. All of these examples are active by default: -ActiveSupport::Inflector.inflections(:en) do |inflect| +ActiveSupport::Inflector.inflections(:fr) do |inflect| # inflect.plural /^(ox)$/i, '\1en' # inflect.singular /^(ox)en/i, '\1' # inflect.irregular 'person', 'people' # inflect.uncountable %w( fish sheep ) - inflect.irregular 'réseau', 'réseaux' + inflect.plural 'réseau', 'réseaux' + inflect.plural 'Zone de contrainte', 'Zones de contrainte' end # These inflection rules are supported but not enabled by default: |
