Module: Gitlab::I18n::Pluralization::FastGettextClassMethods
- Defined in:
- lib/gitlab/i18n/pluralization.rb
Instance Method Summary collapse
-
#pluralisation_rule ⇒ Object
FastGettext allows to set the rule via ‘FastGettext.pluralisation_rule=` which is on thread-level.
Instance Method Details
#pluralisation_rule ⇒ Object
FastGettext allows to set the rule via ‘FastGettext.pluralisation_rule=` which is on thread-level.
Because we are patching FastGettext at boot time per thread values won’t work so we have to override the method implementation.
‘FastGettext.pluralisation_rule=` has now no effect.
80 81 82 |
# File 'lib/gitlab/i18n/pluralization.rb', line 80 def pluralisation_rule Gitlab::I18n::Pluralization end |