Browse Source

Added some inflection for dl and nl

remotes/origin/master
echarp 2 years ago
parent
commit
b119421c03
  1. 8
      config/initializers/inflections.rb

8
config/initializers/inflections.rb

@ -10,6 +10,14 @@
# inflect.uncountable %w( fish sheep )
# end
ActiveSupport::Inflector.inflections(:de) do |inflect|
inflect.plural 'veranstaltung', 'veranstaltungen'
end
ActiveSupport::Inflector.inflections(:nl) do |inflect|
inflect.plural 'veranstaltung', 'veranstaltungen'
end
# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym 'RESTful'

Loading…
Cancel
Save