gitlab-org--gitlab-foss/config/initializers/0_inflections.rb

32 lines
827 B
Ruby
Raw Normal View History

2011-10-08 21:36:38 +00:00
# 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
2016-04-16 19:09:08 +00:00
#
ActiveSupport::Inflector.inflections do |inflect|
inflect.uncountable %w(
award_emoji
container_repository_registry
design_registry
2019-06-25 15:29:50 +00:00
event_log
file_registry
group_view
2019-06-25 15:29:50 +00:00
job_artifact_registry
lfs_object_registry
package_file_registry
project_auto_devops
project_registry
project_statistics
system_note_metadata
2019-06-25 15:29:50 +00:00
vulnerabilities_feedback
vulnerability_feedback
)
2019-06-25 15:29:50 +00:00
inflect.acronym 'EE'
2016-04-16 19:09:08 +00:00
end