debian-mirror-gitlab/config/initializers_before_autoloader/000_inflections.rb

45 lines
1.1 KiB
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2014-09-02 18:07:02 +05:30
# 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|
2018-03-17 18:26:18 +05:30
inflect.uncountable %w(
2020-07-28 23:09:34 +05:30
custom_emoji
2018-03-17 18:26:18 +05:30
award_emoji
2019-12-26 22:10:19 +05:30
container_repository_registry
design_registry
2019-09-30 21:07:59 +05:30
event_log
file_registry
2019-12-26 22:10:19 +05:30
group_view
2021-04-17 20:07:23 +05:30
group_wiki_repository_registry
2019-09-30 21:07:59 +05:30
job_artifact_registry
2019-12-26 22:10:19 +05:30
lfs_object_registry
2021-09-04 01:27:46 +05:30
merge_request_diff_registry
2020-03-13 15:44:24 +05:30
package_file_registry
2021-11-11 11:23:49 +05:30
pages_deployment_registry
2021-04-29 21:17:54 +05:30
pipeline_artifact_registry
2019-12-26 22:10:19 +05:30
project_auto_devops
project_registry
project_statistics
2021-01-03 14:25:43 +05:30
snippet_repository_registry
2019-12-26 22:10:19 +05:30
system_note_metadata
2021-01-03 14:25:43 +05:30
terraform_state_version_registry
2019-09-30 21:07:59 +05:30
vulnerabilities_feedback
2019-12-26 22:10:19 +05:30
vulnerability_feedback
2018-03-17 18:26:18 +05:30
)
2019-09-30 21:07:59 +05:30
inflect.acronym 'EE'
2021-04-29 21:17:54 +05:30
inflect.acronym 'JH'
2020-04-08 14:13:33 +05:30
inflect.acronym 'CSP'
2021-12-11 22:18:48 +05:30
inflect.acronym 'VSCode'
2022-05-07 20:08:51 +05:30
inflect.acronym 'FIPS'
end