diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca9db06..5860430d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## unreleased -- Add ordinalization for many locales (be, bs, cs, da, de, eo, et, fa, fi, hr, hu, is, ka, +- Add ordinalization for many locales (be, bs, cs, da, eo, et, fa, fi, hr, hu, is, ka, lb, lt, lv, mk, nb, ne, nn, pl, sk, sl, sq, sr, sw, tr) #1109 ## 7.0.8 (2023-08-15) diff --git a/spec/unit/ordinals_spec.rb b/spec/unit/ordinals_spec.rb index 031181f8..4f96e774 100644 --- a/spec/unit/ordinals_spec.rb +++ b/spec/unit/ordinals_spec.rb @@ -5,7 +5,7 @@ # Mock Rails app in order to trigger the Railtie let(:app) { double :app, config: config } let(:config) { double :config, eager_load_namespaces: [], i18n: I18n, rails_i18n: RailsI18n } - let(:period_locales) { %w[be bs cs da de eo et fa fi hr hu is ka lb lt lv mk nb ne nn pl sk sl sq sr sw tr] } + let(:period_locales) { %w[be bs cs da de de-AT de-CH de-DE eo et fa fi hr hu is ka lb lt lv mk nb ne nn pl sk sl sq sr sw tr] } before do I18n.available_locales = %w[fr en fr-CA fr-CH fr-FR gd] + period_locales