From 0de0789107052fed660bca099e3b90add9da3711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Gonz=C3=A1lez?= <2051199+rbngzlv@users.noreply.github.com> Date: Wed, 19 Jun 2024 03:06:29 +0200 Subject: [PATCH] Fix pluralization rule link on locale files (#716) --- gem/locales/ar.yml | 2 +- gem/locales/be.yml | 2 +- gem/locales/bg.yml | 2 +- gem/locales/bs.yml | 2 +- gem/locales/ca.yml | 2 +- gem/locales/ckb.yml | 2 +- gem/locales/cs.yml | 2 +- gem/locales/da.yml | 2 +- gem/locales/de.yml | 2 +- gem/locales/en.yml | 2 +- gem/locales/es.yml | 2 +- gem/locales/fr.yml | 2 +- gem/locales/hr.yml | 2 +- gem/locales/id.yml | 2 +- gem/locales/it.yml | 2 +- gem/locales/ja.yml | 2 +- gem/locales/km.yml | 2 +- gem/locales/ko.yml | 2 +- gem/locales/nb.yml | 2 +- gem/locales/nl.yml | 2 +- gem/locales/nn.yml | 2 +- gem/locales/pl.yml | 2 +- gem/locales/pt-BR.yml | 2 +- gem/locales/pt.yml | 2 +- gem/locales/ru.yml | 2 +- gem/locales/sr.yml | 2 +- gem/locales/sv-SE.yml | 2 +- gem/locales/sv.yml | 2 +- gem/locales/sw.yml | 2 +- gem/locales/ta.yml | 2 +- gem/locales/tr.yml | 2 +- gem/locales/uk.yml | 2 +- gem/locales/vi.yml | 2 +- gem/locales/zh-CN.yml | 2 +- gem/locales/zh-HK.yml | 2 +- gem/locales/zh-TW.yml | 2 +- test/pagy/i18n_locales_test.rb | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/gem/locales/ar.yml b/gem/locales/ar.yml index e769a73bf..d9718e4d1 100644 --- a/gem/locales/ar.yml +++ b/gem/locales/ar.yml @@ -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: diff --git a/gem/locales/be.yml b/gem/locales/be.yml index d5098b8ee..d515c138f 100644 --- a/gem/locales/be.yml +++ b/gem/locales/be.yml @@ -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: diff --git a/gem/locales/bg.yml b/gem/locales/bg.yml index 6586e12ed..0da61e0dd 100644 --- a/gem/locales/bg.yml +++ b/gem/locales/bg.yml @@ -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: diff --git a/gem/locales/bs.yml b/gem/locales/bs.yml index 213a69e64..666a1747c 100644 --- a/gem/locales/bs.yml +++ b/gem/locales/bs.yml @@ -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: diff --git a/gem/locales/ca.yml b/gem/locales/ca.yml index 58d8fcebd..7a945a6b2 100644 --- a/gem/locales/ca.yml +++ b/gem/locales/ca.yml @@ -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: diff --git a/gem/locales/ckb.yml b/gem/locales/ckb.yml index cdc4e966f..0209eed2e 100644 --- a/gem/locales/ckb.yml +++ b/gem/locales/ckb.yml @@ -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: diff --git a/gem/locales/cs.yml b/gem/locales/cs.yml index 18b1499d8..7bf23a177 100644 --- a/gem/locales/cs.yml +++ b/gem/locales/cs.yml @@ -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: diff --git a/gem/locales/da.yml b/gem/locales/da.yml index 67ce4f1aa..138f6cf0d 100644 --- a/gem/locales/da.yml +++ b/gem/locales/da.yml @@ -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: diff --git a/gem/locales/de.yml b/gem/locales/de.yml index fb641a51d..becb1728e 100644 --- a/gem/locales/de.yml +++ b/gem/locales/de.yml @@ -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: diff --git a/gem/locales/en.yml b/gem/locales/en.yml index 57131dad6..ba45a0c27 100644 --- a/gem/locales/en.yml +++ b/gem/locales/en.yml @@ -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: diff --git a/gem/locales/es.yml b/gem/locales/es.yml index 60ce9452a..d34be592f 100644 --- a/gem/locales/es.yml +++ b/gem/locales/es.yml @@ -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: diff --git a/gem/locales/fr.yml b/gem/locales/fr.yml index c3940902b..aad2af16a 100644 --- a/gem/locales/fr.yml +++ b/gem/locales/fr.yml @@ -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: diff --git a/gem/locales/hr.yml b/gem/locales/hr.yml index 9b79d8e17..2b2c76971 100644 --- a/gem/locales/hr.yml +++ b/gem/locales/hr.yml @@ -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: diff --git a/gem/locales/id.yml b/gem/locales/id.yml index 5d9e30c57..339d8389d 100644 --- a/gem/locales/id.yml +++ b/gem/locales/id.yml @@ -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: diff --git a/gem/locales/it.yml b/gem/locales/it.yml index dd50af6a4..e5f95a070 100644 --- a/gem/locales/it.yml +++ b/gem/locales/it.yml @@ -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: diff --git a/gem/locales/ja.yml b/gem/locales/ja.yml index ade956ee2..f29a1c237 100644 --- a/gem/locales/ja.yml +++ b/gem/locales/ja.yml @@ -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: diff --git a/gem/locales/km.yml b/gem/locales/km.yml index 2789e0f97..72c40c1a0 100644 --- a/gem/locales/km.yml +++ b/gem/locales/km.yml @@ -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: diff --git a/gem/locales/ko.yml b/gem/locales/ko.yml index 3eb4421cb..a9f9f72bc 100644 --- a/gem/locales/ko.yml +++ b/gem/locales/ko.yml @@ -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: diff --git a/gem/locales/nb.yml b/gem/locales/nb.yml index e9783c805..e7e340884 100644 --- a/gem/locales/nb.yml +++ b/gem/locales/nb.yml @@ -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: diff --git a/gem/locales/nl.yml b/gem/locales/nl.yml index 415d0afd8..10af883e9 100644 --- a/gem/locales/nl.yml +++ b/gem/locales/nl.yml @@ -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: diff --git a/gem/locales/nn.yml b/gem/locales/nn.yml index 8be96bded..bf87612b0 100644 --- a/gem/locales/nn.yml +++ b/gem/locales/nn.yml @@ -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: diff --git a/gem/locales/pl.yml b/gem/locales/pl.yml index 2678a57ab..efe342993 100644 --- a/gem/locales/pl.yml +++ b/gem/locales/pl.yml @@ -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: diff --git a/gem/locales/pt-BR.yml b/gem/locales/pt-BR.yml index a480b1fb9..124db017c 100644 --- a/gem/locales/pt-BR.yml +++ b/gem/locales/pt-BR.yml @@ -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: diff --git a/gem/locales/pt.yml b/gem/locales/pt.yml index cc28c126e..fe39ec548 100644 --- a/gem/locales/pt.yml +++ b/gem/locales/pt.yml @@ -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: diff --git a/gem/locales/ru.yml b/gem/locales/ru.yml index 14fca759d..ecf1b89e1 100644 --- a/gem/locales/ru.yml +++ b/gem/locales/ru.yml @@ -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: diff --git a/gem/locales/sr.yml b/gem/locales/sr.yml index 828aba9a6..3f5afe4e7 100644 --- a/gem/locales/sr.yml +++ b/gem/locales/sr.yml @@ -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: diff --git a/gem/locales/sv-SE.yml b/gem/locales/sv-SE.yml index e969d80c5..1d67551e3 100644 --- a/gem/locales/sv-SE.yml +++ b/gem/locales/sv-SE.yml @@ -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: diff --git a/gem/locales/sv.yml b/gem/locales/sv.yml index 73b2b371f..cdacfb04d 100644 --- a/gem/locales/sv.yml +++ b/gem/locales/sv.yml @@ -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: diff --git a/gem/locales/sw.yml b/gem/locales/sw.yml index ec4c0805d..00b647539 100644 --- a/gem/locales/sw.yml +++ b/gem/locales/sw.yml @@ -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 diff --git a/gem/locales/ta.yml b/gem/locales/ta.yml index 8c2faeb2e..d6802a79d 100644 --- a/gem/locales/ta.yml +++ b/gem/locales/ta.yml @@ -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: diff --git a/gem/locales/tr.yml b/gem/locales/tr.yml index faa2f32f5..38a49a6f3 100644 --- a/gem/locales/tr.yml +++ b/gem/locales/tr.yml @@ -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: diff --git a/gem/locales/uk.yml b/gem/locales/uk.yml index 0b08e29a2..9936713bc 100644 --- a/gem/locales/uk.yml +++ b/gem/locales/uk.yml @@ -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: diff --git a/gem/locales/vi.yml b/gem/locales/vi.yml index 2fc31bb2d..a334631a4 100644 --- a/gem/locales/vi.yml +++ b/gem/locales/vi.yml @@ -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: diff --git a/gem/locales/zh-CN.yml b/gem/locales/zh-CN.yml index 44c45b4e6..ada4f48ac 100644 --- a/gem/locales/zh-CN.yml +++ b/gem/locales/zh-CN.yml @@ -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: diff --git a/gem/locales/zh-HK.yml b/gem/locales/zh-HK.yml index 197887448..a2032851a 100644 --- a/gem/locales/zh-HK.yml +++ b/gem/locales/zh-HK.yml @@ -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: diff --git a/gem/locales/zh-TW.yml b/gem/locales/zh-TW.yml index 795b218fc..37b75a0e8 100644 --- a/gem/locales/zh-TW.yml +++ b/gem/locales/zh-TW.yml @@ -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: diff --git a/test/pagy/i18n_locales_test.rb b/test/pagy/i18n_locales_test.rb index 8c8187a6a..26b10128d 100644 --- a/test/pagy/i18n_locales_test.rb +++ b/test/pagy/i18n_locales_test.rb @@ -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