logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

inflections.rb (756B)


  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. end