You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
971 B

8 years ago
  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.acronym 'TOC'
  22. inflect.acronym 'RSS'
  23. inflect.acronym 'REST'
  24. inflect.acronym 'URL'
  25. inflect.acronym 'ASCII'
  26. inflect.singular 'data', 'data'
  27. end