1
0

inflections.rb 848 B

12345678910111213141516171819202122232425
  1. # Be sure to restart your server when you modify this file.
  2. # Add new inflection rules using the following format. Inflections
  3. # are locale specific, and you may define rules for as many different
  4. # locales as you wish. All of these examples are active by default:
  5. # ActiveSupport::Inflector.inflections(:en) do |inflect|
  6. # inflect.plural /^(ox)$/i, '\1en'
  7. # inflect.singular /^(ox)en/i, '\1'
  8. # inflect.irregular 'person', 'people'
  9. # inflect.uncountable %w( fish sheep )
  10. # end
  11. ActiveSupport::Inflector.inflections(:en) do |inflect|
  12. inflect.acronym 'StatsD'
  13. inflect.acronym 'OEmbed'
  14. inflect.acronym 'OStatus'
  15. inflect.acronym 'ActivityPub'
  16. inflect.acronym 'PubSubHubbub'
  17. inflect.acronym 'ActivityStreams'
  18. inflect.acronym 'JsonLd'
  19. inflect.acronym 'NodeInfo'
  20. inflect.acronym 'Ed25519'
  21. inflect.singular 'data', 'data'
  22. end