Closed webzorg closed 3 years ago
Solved, not a bug. Found the fault was here:
gems/ruby-3.0.0/gems/rails-i18n-6.0.0/rails/pluralization/ka.rb
# was using
::RailsI18n::Pluralization::Other.with_locale(:ka)
# instead of
::RailsI18n::Pluralization::OneOther.with_locale(:ka)
What I tried to do
To reproduce I ran
What I expected to happen
Having following locale data
Item.model_name.human
should return singular, usingone
i18n key. Instead it expectscount
whether I runWhat actually happened
Got an error:
Versions of i18n, rails, and anything else you think is necessary
Problem lies in:
always returns
:other
, which doesn't make senseThanks! :heart: