summaryrefslogtreecommitdiff
path: root/config/initializers/0_inflections.rb
blob: 5c38859a6677dfed6b79d8f1c2778ca9bc630ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
#   inflect.plural /^(ox)$/i, '\1en'
#   inflect.singular /^(ox)en/i, '\1'
#   inflect.irregular 'person', 'people'
#   inflect.uncountable %w( fish sheep )
# end
#
ActiveSupport::Inflector.inflections do |inflect|
  inflect.uncountable %w(
    award_emoji
    container_repository_registry
    design_registry
    event_log
    file_registry
    group_view
    job_artifact_registry
    lfs_object_registry
    package_file_registry
    project_auto_devops
    project_registry
    project_statistics
    system_note_metadata
    vulnerabilities_feedback
    vulnerability_feedback
  )
  inflect.acronym 'EE'
end