Added some inflection for dl and nl

This commit is contained in:
echarp 2020-02-25 22:25:03 +01:00
parent 9b30db2795
commit b119421c03
1 changed files with 8 additions and 0 deletions

View File

@ -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'