5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 17:06:23 +00:00
panel/config/initializers/inflections.rb

40 lines
1.5 KiB
Ruby
Raw Normal View History

2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2018-09-28 14:34:37 +00:00
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.plural 'invitadx', 'invitadxs'
inflect.singular 'invitadxs', 'invitadx'
2019-07-03 22:04:50 +00:00
inflect.plural 'invitade', 'invitades'
inflect.singular 'invitades', 'invitade'
inflect.plural 'usuarie', 'usuaries'
inflect.singular 'usuaries', 'usuarie'
2019-07-19 22:37:53 +00:00
inflect.plural 'licencia', 'licencias'
inflect.singular 'licencias', 'licencia'
inflect.plural 'rol', 'roles'
inflect.singular 'roles', 'rol'
2021-09-03 18:53:45 +00:00
inflect.plural 'rollup', 'rollups'
inflect.singular 'rollups', 'rollup'
inflect.plural 'code_of_conduct', 'codes_of_conduct'
inflect.singular 'codes_of_conduct', 'code_of_conduct'
2023-03-23 00:01:29 +00:00
inflect.plural 'privacy_policy', 'privacy_policies'
inflect.singular 'privacy_policies', 'privacy_policy'
2018-09-28 14:34:37 +00:00
end
2018-01-02 17:19:25 +00:00
2018-09-28 14:34:37 +00:00
ActiveSupport::Inflector.inflections(:es) do |inflect|
inflect.plural 'invitadx', 'invitadxs'
inflect.singular 'invitadxs', 'invitadx'
2019-07-03 22:04:50 +00:00
inflect.plural 'invitade', 'invitades'
inflect.singular 'invitades', 'invitade'
inflect.plural 'usuarie', 'usuaries'
inflect.singular 'usuaries', 'usuarie'
inflect.plural 'rol', 'roles'
inflect.singular 'roles', 'rol'
2019-07-19 22:37:53 +00:00
inflect.plural 'licencia', 'licencias'
inflect.singular 'licencias', 'licencia'
2021-09-03 18:53:45 +00:00
inflect.plural 'rollup', 'rollups'
inflect.singular 'rollups', 'rollup'
inflect.plural 'code_of_conduct', 'codes_of_conduct'
inflect.singular 'codes_of_conduct', 'code_of_conduct'
2023-03-23 00:01:29 +00:00
inflect.plural 'privacy_policy', 'privacy_policies'
inflect.singular 'privacy_policies', 'privacy_policy'
2018-09-28 14:34:37 +00:00
end