Skip to content

Commit

Permalink
Fix pluralization rule link on locale files (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbngzlv committed Jun 19, 2024
1 parent 6a05d41 commit 0de0789
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion gem/locales/ar.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :arabic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :arabic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ar:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/be.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
be:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/bg.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
bg:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/bs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
bs:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ca.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ca:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ckb.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)

ckb:
pagy:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/cs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :west_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :west_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
cs:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/da.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
da:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/de.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
de:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
en:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/es.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
es:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/fr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_upto_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_upto_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
fr:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/hr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
hr:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/id.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
id:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/it.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
it:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ja.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ja:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/km.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
km:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ko.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ko:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/nb.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
nb:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/nl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
nl:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/nn.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
nn:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/pl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
pl:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/pt-BR.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
pt-BR:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/pt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
pt:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ru.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ru:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/sr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
sr:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/sv-SE.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
sv-SE:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/sv.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
sv:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/sw.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
sw:
pagy:
# please add a comment in the https://github.com/ddnexus/pagy/issues/603
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/ta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
ta:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/tr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
tr:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/uk.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
uk:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/vi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
vi:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/zh-CN.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
zh-CN:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/zh-HK.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
zh-HK:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion gem/locales/zh-TW.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb)
zh-TW:
pagy:
aria_label:
Expand Down
2 changes: 1 addition & 1 deletion test/pagy/i18n_locales_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

it 'includes a comment with the pluralization rule and the i18n.rb reference' do
_(rules).must_include rule, message
_(comment).must_match 'https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb', message
_(comment).must_match 'https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb', message
end
it 'defines and matches the locale pluralization rule' do
_(Pagy::I18n::P11n::LOCALE[locale]).must_equal Pagy::I18n::P11n::RULE[rule], message
Expand Down

0 comments on commit 0de0789

Please sign in to comment.