2021-02-03 16:09:17 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2011-10-08 17:36:38 -04: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 15:09:08 -04:00
|
|
|
#
|
|
|
|
ActiveSupport::Inflector.inflections do |inflect|
|
2017-08-24 07:01:33 -04:00
|
|
|
inflect.uncountable %w(
|
2020-06-30 08:08:57 -04:00
|
|
|
custom_emoji
|
2017-08-24 07:01:33 -04:00
|
|
|
award_emoji
|
2019-10-28 20:06:10 -04:00
|
|
|
container_repository_registry
|
|
|
|
design_registry
|
2019-06-25 11:29:50 -04:00
|
|
|
event_log
|
|
|
|
file_registry
|
2019-10-28 20:06:10 -04:00
|
|
|
group_view
|
2021-03-08 16:09:45 -05:00
|
|
|
group_wiki_repository_registry
|
2019-06-25 11:29:50 -04:00
|
|
|
job_artifact_registry
|
2019-10-28 20:06:10 -04:00
|
|
|
lfs_object_registry
|
2021-06-11 20:10:00 -04:00
|
|
|
merge_request_diff_registry
|
2020-02-05 22:08:47 -05:00
|
|
|
package_file_registry
|
2021-04-01 14:13:56 -04:00
|
|
|
pipeline_artifact_registry
|
2019-10-28 20:06:10 -04:00
|
|
|
project_auto_devops
|
|
|
|
project_registry
|
|
|
|
project_statistics
|
2020-09-24 23:09:30 -04:00
|
|
|
snippet_repository_registry
|
2019-10-28 20:06:10 -04:00
|
|
|
system_note_metadata
|
2020-09-24 23:09:30 -04:00
|
|
|
terraform_state_version_registry
|
2019-06-25 11:29:50 -04:00
|
|
|
vulnerabilities_feedback
|
2019-10-28 20:06:10 -04:00
|
|
|
vulnerability_feedback
|
2017-08-24 07:01:33 -04:00
|
|
|
)
|
2019-06-25 11:29:50 -04:00
|
|
|
inflect.acronym 'EE'
|
2021-04-13 14:11:28 -04:00
|
|
|
inflect.acronym 'JH'
|
2020-02-22 19:09:14 -05:00
|
|
|
inflect.acronym 'CSP'
|
2016-04-16 15:09:08 -04:00
|
|
|
end
|