pagy 5.7.5 → 8.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/apps/calendar.ru +745 -0
  4. data/apps/demo.ru +435 -0
  5. data/apps/rails.ru +213 -0
  6. data/apps/repro.ru +177 -0
  7. data/apps/tmp/calendar.sqlite3 +0 -0
  8. data/apps/tmp/calendar.sqlite3-shm +0 -0
  9. data/apps/tmp/calendar.sqlite3-wal +0 -0
  10. data/apps/tmp/local_secret.txt +1 -0
  11. data/bin/pagy +100 -0
  12. data/{lib/config → config}/pagy.rb +72 -96
  13. data/javascripts/pagy-module.js +100 -0
  14. data/javascripts/pagy.d.ts +5 -0
  15. data/javascripts/pagy.js +4 -0
  16. data/javascripts/pagy.min.js +4 -0
  17. data/javascripts/pagy.min.js.map +10 -0
  18. data/javascripts/pagy.mjs +100 -0
  19. data/lib/optimist.rb +1022 -0
  20. data/lib/pagy/backend.rb +16 -4
  21. data/lib/pagy/calendar/day.rb +22 -10
  22. data/lib/pagy/calendar/month.rb +35 -9
  23. data/lib/pagy/calendar/quarter.rb +36 -10
  24. data/lib/pagy/calendar/unit.rb +106 -0
  25. data/lib/pagy/calendar/week.rb +16 -16
  26. data/lib/pagy/calendar/year.rb +15 -9
  27. data/lib/pagy/calendar.rb +60 -68
  28. data/lib/pagy/console.rb +3 -3
  29. data/lib/pagy/countless.rb +17 -12
  30. data/lib/pagy/exceptions.rb +1 -1
  31. data/lib/pagy/extras/arel.rb +2 -2
  32. data/lib/pagy/extras/array.rb +2 -2
  33. data/lib/pagy/extras/bootstrap.rb +57 -53
  34. data/lib/pagy/extras/bulma.rb +53 -57
  35. data/lib/pagy/extras/calendar.rb +54 -37
  36. data/lib/pagy/extras/countless.rb +3 -3
  37. data/lib/pagy/extras/elasticsearch_rails.rb +12 -11
  38. data/lib/pagy/extras/foundation.rb +59 -54
  39. data/lib/pagy/extras/gearbox.rb +32 -19
  40. data/lib/pagy/extras/headers.rb +11 -11
  41. data/lib/pagy/extras/i18n.rb +5 -5
  42. data/lib/pagy/extras/items.rb +34 -24
  43. data/lib/pagy/extras/{frontend_helpers.rb → js_tools.rb} +24 -24
  44. data/lib/pagy/extras/jsonapi.rb +79 -0
  45. data/lib/pagy/extras/materialize.rb +63 -47
  46. data/lib/pagy/extras/meilisearch.rb +26 -22
  47. data/lib/pagy/extras/metadata.rb +13 -9
  48. data/lib/pagy/extras/overflow.rb +13 -10
  49. data/lib/pagy/extras/pagy.rb +82 -0
  50. data/lib/pagy/extras/searchkick.rb +12 -11
  51. data/lib/pagy/extras/semantic.rb +57 -45
  52. data/lib/pagy/extras/size.rb +40 -0
  53. data/lib/pagy/extras/standalone.rb +12 -16
  54. data/lib/pagy/extras/trim.rb +13 -13
  55. data/lib/pagy/extras/uikit.rb +60 -46
  56. data/lib/pagy/frontend.rb +62 -45
  57. data/lib/pagy/i18n.rb +4 -3
  58. data/lib/pagy/url_helpers.rb +13 -25
  59. data/lib/pagy.rb +61 -59
  60. data/locales/ar.yml +28 -0
  61. data/locales/be.yml +25 -0
  62. data/locales/bg.yml +21 -0
  63. data/locales/bs.yml +25 -0
  64. data/locales/ca.yml +21 -0
  65. data/locales/ckb.yml +18 -0
  66. data/locales/cs.yml +23 -0
  67. data/locales/da.yml +21 -0
  68. data/locales/de.yml +21 -0
  69. data/locales/en.yml +21 -0
  70. data/locales/es.yml +21 -0
  71. data/locales/fr.yml +21 -0
  72. data/locales/hr.yml +25 -0
  73. data/locales/id.yml +19 -0
  74. data/locales/it.yml +21 -0
  75. data/locales/ja.yml +19 -0
  76. data/locales/km.yml +19 -0
  77. data/locales/ko.yml +17 -0
  78. data/locales/nb.yml +21 -0
  79. data/locales/nl.yml +21 -0
  80. data/locales/nn.yml +21 -0
  81. data/locales/pl.yml +25 -0
  82. data/locales/pt-BR.yml +21 -0
  83. data/locales/pt.yml +21 -0
  84. data/locales/ru.yml +25 -0
  85. data/locales/sr.yml +25 -0
  86. data/locales/sv-SE.yml +21 -0
  87. data/locales/sv.yml +21 -0
  88. data/locales/sw.yml +23 -0
  89. data/locales/ta.yml +23 -0
  90. data/locales/tr.yml +19 -0
  91. data/locales/uk.yml +25 -0
  92. data/locales/vi.yml +17 -0
  93. data/locales/zh-CN.yml +19 -0
  94. data/locales/zh-HK.yml +19 -0
  95. data/locales/zh-TW.yml +19 -0
  96. data/stylesheets/pagy.css +46 -0
  97. data/stylesheets/pagy.scss +48 -0
  98. data/stylesheets/pagy.tailwind.css +21 -0
  99. metadata +79 -66
  100. data/lib/javascripts/pagy-dev.js +0 -118
  101. data/lib/javascripts/pagy-module.d.ts +0 -30
  102. data/lib/javascripts/pagy-module.js +0 -117
  103. data/lib/javascripts/pagy.js +0 -1
  104. data/lib/locales/ar.yml +0 -26
  105. data/lib/locales/bg.yml +0 -22
  106. data/lib/locales/bs.yml +0 -24
  107. data/lib/locales/ca.yml +0 -22
  108. data/lib/locales/cs.yml +0 -22
  109. data/lib/locales/da.yml +0 -22
  110. data/lib/locales/de.yml +0 -22
  111. data/lib/locales/en.yml +0 -22
  112. data/lib/locales/es.yml +0 -22
  113. data/lib/locales/fr.yml +0 -22
  114. data/lib/locales/hr.yml +0 -24
  115. data/lib/locales/id.yml +0 -20
  116. data/lib/locales/it.yml +0 -22
  117. data/lib/locales/ja.yml +0 -20
  118. data/lib/locales/km.yml +0 -19
  119. data/lib/locales/ko.yml +0 -20
  120. data/lib/locales/nb.yml +0 -22
  121. data/lib/locales/nl.yml +0 -22
  122. data/lib/locales/pl.yml +0 -24
  123. data/lib/locales/pt-BR.yml +0 -22
  124. data/lib/locales/pt.yml +0 -22
  125. data/lib/locales/ru.yml +0 -24
  126. data/lib/locales/sr.yml +0 -23
  127. data/lib/locales/sv-SE.yml +0 -23
  128. data/lib/locales/sv.yml +0 -23
  129. data/lib/locales/sw.yml +0 -22
  130. data/lib/locales/ta.yml +0 -22
  131. data/lib/locales/tr.yml +0 -20
  132. data/lib/locales/uk.yml +0 -24
  133. data/lib/locales/zh-CN.yml +0 -20
  134. data/lib/locales/zh-HK.yml +0 -20
  135. data/lib/locales/zh-TW.yml +0 -20
  136. data/lib/pagy/calendar/month_mixin.rb +0 -49
  137. data/lib/pagy/extras/navs.rb +0 -63
  138. data/lib/pagy/extras/support.rb +0 -54
  139. data/lib/templates/bootstrap_nav.html.erb +0 -24
  140. data/lib/templates/bootstrap_nav.html.haml +0 -34
  141. data/lib/templates/bootstrap_nav.html.slim +0 -34
  142. data/lib/templates/bulma_nav.html.erb +0 -24
  143. data/lib/templates/bulma_nav.html.haml +0 -32
  144. data/lib/templates/bulma_nav.html.slim +0 -32
  145. data/lib/templates/foundation_nav.html.erb +0 -24
  146. data/lib/templates/foundation_nav.html.haml +0 -34
  147. data/lib/templates/foundation_nav.html.slim +0 -34
  148. data/lib/templates/nav.html.erb +0 -22
  149. data/lib/templates/nav.html.haml +0 -30
  150. data/lib/templates/nav.html.slim +0 -29
  151. data/lib/templates/uikit_nav.html.erb +0 -15
  152. data/lib/templates/uikit_nav.html.haml +0 -28
  153. data/lib/templates/uikit_nav.html.slim +0 -28
data/lib/locales/da.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- da:
4
- pagy:
5
-
6
- item_name:
7
- one: "resultat"
8
- other: "resultater"
9
-
10
- nav:
11
- prev: "‹ Forrige"
12
- next: "Næste ›"
13
- gap: "…"
14
-
15
- info:
16
- no_items: "Ingen %{item_name} fundet"
17
- single_page: "Viser <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> til <b>%{count}</b> totalt"
19
-
20
- combo_nav_js: "<label>Side %{page_input} of %{pages}</label>"
21
-
22
- items_selector_js: "<label>Antal %{items_input} %{item_name} per side</label>"
data/lib/locales/de.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- de:
4
- pagy:
5
-
6
- item_name:
7
- one: "Eintrag"
8
- other: "Einträge"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Zurück"
12
- next: "Weiter&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Kein %{item_name} gefunden"
17
- single_page: "Zeige <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Zeige %{item_name} <b>%{from}-%{to}</b> von <b>%{count}</b> gesamt"
19
-
20
- combo_nav_js: "<label>Seite %{page_input} von %{pages}</label>"
21
-
22
- items_selector_js: "<label>Zeige %{items_input} %{item_name} pro Seite</label>"
data/lib/locales/en.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- en:
4
- pagy:
5
-
6
- item_name:
7
- one: "item"
8
- other: "items"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Prev"
12
- next: "Next&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "No %{item_name} found"
17
- single_page: "Displaying <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Displaying %{item_name} <b>%{from}-%{to}</b> of <b>%{count}</b> in total"
19
-
20
- combo_nav_js: "<label>Page %{page_input} of %{pages}</label>"
21
-
22
- items_selector_js: "<label>Show %{items_input} %{item_name} per page</label>"
data/lib/locales/es.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- es:
4
- pagy:
5
-
6
- item_name:
7
- one: "ítem"
8
- other: "ítems"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Anterior"
12
- next: "Siguiente&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Sin resultados"
17
- single_page: "Mostrando %{count} %{item_name}"
18
- multiple_pages: "Mostrando %{item_name} %{from}-%{to} de %{count} en total"
19
-
20
- combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"
21
-
22
- items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
data/lib/locales/fr.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_upto_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- fr:
4
- pagy:
5
-
6
- item_name:
7
- one: "élément"
8
- other: "éléments"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Précédent"
12
- next: "Suivant&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Aucun %{item_name} trouvé"
17
- single_page: "Affichage de <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Affichage des %{item_name} <b>%{from} à %{to}</b> sur <b>%{count}</b> au total"
19
-
20
- combo_nav_js: "<label>Page %{page_input} sur %{pages}</label>"
21
-
22
- items_selector_js: "<label>Afficher %{items_input} %{item_name} par page</label>"
data/lib/locales/hr.yml DELETED
@@ -1,24 +0,0 @@
1
- # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- hr:
4
- pagy:
5
-
6
- item_name:
7
- one: "stavka"
8
- few: "stavke"
9
- many: "stavki"
10
- other: "stavki"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Prethodna"
14
- next: "Sljedeća &nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
- info:
18
- no_items: "Nije pronađena %{item_name}"
19
- single_page: "Prikazuje se <b>%{count}</b> %{item_name}"
20
- multiple_pages: "Prikaz %{item_name} <b>%{from}-%{to}</b> od <b>%{count}</b> ukupno"
21
-
22
- combo_nav_js: "<label>Stranica %{page_input} od %{pages}</label>"
23
-
24
- items_selector_js: "<label>Prikaži %{items_input} %{item_name} po stranici</label>"
data/lib/locales/id.yml DELETED
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- id:
4
- pagy:
5
-
6
- item_name: "item"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;Sebelumnya"
10
- next: "Selanjutnya&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "Tidak ditemukan %{item_name}"
15
- single_page: "Menampilkan <b>%{count}</b> %{item_name}"
16
- multiple_pages: "Menampilkan %{item_name} <b>%{from}-%{to}</b> dari total <b>%{count}</b>"
17
-
18
- combo_nav_js: "<label>Halaman %{page_input} dari %{pages}</label>"
19
-
20
- items_selector_js: "<label>Tampilkan %{items_input} %{item_name} per halaman</label>"
data/lib/locales/it.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- it:
4
- pagy:
5
-
6
- item_name:
7
- one: "elemento"
8
- other: "elementi"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Precedente"
12
- next: "Seguente&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Nessun %{item_name} trovato"
17
- single_page: "Visualizzazione di <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Visualizzazione %{item_name} <b>%{from}-%{to}</b> di <b>%{count}</b> in totale"
19
-
20
- combo_nav_js: "<label>Pagina %{page_input} di %{pages}</label>"
21
-
22
- items_selector_js: "<label>Mostra %{items_input} %{item_name} per pagina</label>"
data/lib/locales/ja.yml DELETED
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- ja:
4
- pagy:
5
-
6
- item_name: "結果"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;前へ"
10
- next: "次へ&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "見つかりませんでした"
15
- single_page: "<b>%{count}</b> 件の%{item_name}"
16
- multiple_pages: "<b>%{count}</b> 件中 <b>%{from}-%{to}</b> 件目の%{item_name}を表示中"
17
-
18
- combo_nav_js: "<label>%{page_input} / %{pages} ページ</label>"
19
-
20
- items_selector_js: "<label>%{items_input} 件ずつ表示</label>"
data/lib/locales/km.yml DELETED
@@ -1,19 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- km:
4
- pagy:
5
- item_name: "ធាតុ"
6
-
7
- nav:
8
- prev: "&lsaquo;&nbsp;មុន"
9
- next: "បន្ទាប់&nbsp;&rsaquo;"
10
- gap: "&hellip;"
11
-
12
- info:
13
- no_items: "មិនមាន %{item_name} ទេ"
14
- single_page: "បង្ហាញ <b>%{count}</b> %{item_name}"
15
- multiple_pages: "បង្ហាញ %{item_name} <b>%{from}-%{to}</b> នៃ <b>%{count}</b> ជាចំនួនសរុប"
16
-
17
- combo_nav_js: "<label>ទំព័រ %{page_input} នៃ %{pages}</label>"
18
-
19
- items_selector_js: "<label>បង្ហាញ %{items_input} %{item_name} ក្នុង ១ ទំព័រ</label>"
data/lib/locales/ko.yml DELETED
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- ko:
4
- pagy:
5
-
6
- item_name: "항목"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;이전"
10
- next: "이후&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "%{item_name} 없음"
15
- single_page: "<b>%{count}</b>개의 %{item_name} 표시됨"
16
- multiple_pages: "총 <b>%{count}</b>개의 %{item_name} 중 <b>%{from}-%{to}</b>"
17
-
18
- combo_nav_js: "<label>총 %{pages} 중 %{page_input} 페이지</label>"
19
-
20
- items_selector_js: "<label>페이지 당 %{items_input}개 표시%</label>"
data/lib/locales/nb.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- nb:
4
- pagy:
5
-
6
- item_name:
7
- one: "resultat"
8
- other: "resultater"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Forrige"
12
- next: "Neste&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Ingen %{item_name} funnet"
17
- single_page: "Viser <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"
19
-
20
- combo_nav_js: "<label>Side %{page_input} av %{pages}</label>"
21
-
22
- items_selector_js: "<label>Vis %{items_input} %{item_name} per side</label>"
data/lib/locales/nl.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- nl:
4
- pagy:
5
-
6
- item_name:
7
- one: "stuk"
8
- other: "stuks"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Vorige"
12
- next: "Volgende&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Geen %{item_name} gevonden"
17
- single_page: "Toont <b>%{count}</b> %{item_name}"
18
- multiple_pages: "Toont <b>%{from}-%{to}</b> %{item_name} van <b>%{count}</b> in totaal"
19
-
20
- combo_nav_js: "<label>Pagina %{page_input} van %{pages}</label>"
21
-
22
- items_selector_js: "<label>Toont %{items_input} %{item_name} per pagina</label>"
data/lib/locales/pl.yml DELETED
@@ -1,24 +0,0 @@
1
- # :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- pl:
4
- pagy:
5
-
6
- item_name:
7
- one: "element"
8
- few: "elementy"
9
- many: "elementów"
10
- other: "elementów"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Poprzednia"
14
- next: "Następna&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
- info:
18
- no_items: "Nie znaleziono %{item_name}"
19
- single_page: "Wyświetlono <b>%{count}</b> %{item_name}"
20
- multiple_pages: "Wyświetlono %{item_name} <b>%{from}-%{to}</b> z wszystkich <b>%{count}</b>"
21
-
22
- combo_nav_js: "<label>Strona %{page_input} z %{pages}</label>"
23
-
24
- items_selector_js: "<label>Pokaż %{items_input} %{item_name} na stronie</label>"
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- pt-BR:
4
- pagy:
5
-
6
- item_name:
7
- one: "item"
8
- other: "itens"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Anterior"
12
- next: "Próximo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Sem resultados"
17
- single_page: "Mostrando %{count} %{item_name}"
18
- multiple_pages: "Mostrando %{item_name} %{from}-%{to} do total de %{count}"
19
-
20
- combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"
21
-
22
- items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
data/lib/locales/pt.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- pt:
4
- pagy:
5
-
6
- item_name:
7
- one: "item"
8
- other: "itens"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Anterior"
12
- next: "Próximo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Sem resultados"
17
- single_page: "Mostrando %{count} %{item_name}"
18
- multiple_pages: "Mostrando %{item_name} %{from}-%{to} de um total de %{count}"
19
-
20
- combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"
21
-
22
- items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
data/lib/locales/ru.yml DELETED
@@ -1,24 +0,0 @@
1
- # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- ru:
4
- pagy:
5
-
6
- item_name:
7
- one: "запись"
8
- few: "записи"
9
- many: "записей"
10
- other: "записей"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Назад"
14
- next: "Вперёд&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
- info:
18
- no_items: "Пока %{item_name} нет"
19
- single_page: "<b>%{count}</b> %{item_name}"
20
- multiple_pages: "Всего <b>%{count}</b> %{item_name}, показаны с <b>%{from}</b> по <b>%{to}</b>"
21
-
22
- combo_nav_js: "<label>Страница %{page_input} из %{pages}</label>"
23
-
24
- items_selector_js: "<label>Показать %{items_input} %{item_name} на странице</label>"
data/lib/locales/sr.yml DELETED
@@ -1,23 +0,0 @@
1
- # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- sr:
4
- pagy:
5
- item_name:
6
- one: "ставка"
7
- few: "ставкe"
8
- many: "ставки"
9
- other: "ставки"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Претходна"
13
- next: "Следећa &nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
- info:
17
- no_items: "Нema пронађених %{item_name}"
18
- single_page: "Приказује се <b>%{count}</b> %{item_name}"
19
- multiple_pages: "Приказ %{item_name} <b>%{from}-%{to}</b> од <b>%{count}</b> укупно"
20
-
21
- combo_nav_js: "<label>Страниca %{page_input} од %{pages}</label>"
22
-
23
- items_selector_js: "<label>Прикажи %{items_input} %{item_name} по страниcи</label>"
@@ -1,23 +0,0 @@
1
- # :one_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- sv-SE:
4
- pagy:
5
-
6
- item_name:
7
- one: "resultat"
8
- two: "resultat"
9
- other: "resultat"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Föregående"
13
- next: "Nästa&nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
- info:
17
- no_items: "Inga %{item_name} hittade"
18
- single_page: "Visar <b>%{count}</b> %{item_name}"
19
- multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"
20
-
21
- combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"
22
-
23
- items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
data/lib/locales/sv.yml DELETED
@@ -1,23 +0,0 @@
1
- # :one_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- sv:
4
- pagy:
5
-
6
- item_name:
7
- one: "resultat"
8
- two: "resultat"
9
- other: "resultat"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Föregående"
13
- next: "Nästa&nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
- info:
17
- no_items: "Inga %{item_name} hittade"
18
- single_page: "Visar <b>%{count}</b> %{item_name}"
19
- multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"
20
-
21
- combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"
22
-
23
- items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
data/lib/locales/sw.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization
2
-
3
- sw:
4
- pagy:
5
-
6
- item_name:
7
- one: "kifaa"
8
- other: "vifaa"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Awali"
12
- next: "Ifuatayo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "Hamna %{item_name} vilivyopatikana"
17
- single_page: "Inaonyesha %{item_name} <b>%{count}</b>"
18
- multiple_pages: "Inaonyesha %{item_name} <b>%{from}-%{to}</b> ya <b>%{count}</b> kwa jumla"
19
-
20
- combo_nav_js: "<label>Kurasa %{page_input} ya %{pages}</label>"
21
-
22
- items_selector_js: "<label>Onyesha %{items_input} %{item_name} kwa kila ukurasa</label>"
data/lib/locales/ta.yml DELETED
@@ -1,22 +0,0 @@
1
- # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- ta:
4
- pagy:
5
-
6
- item_name:
7
- one: "பதிவு"
8
- other: "பதிவுகள்"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;முந்தையது"
12
- next: "அடுத்தது&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
- info:
16
- no_items: "%{item_name} கிடைக்கவில்லை"
17
- single_page: "<b>%{count}</b> %{item_name} காட்டப்படுகின்றது"
18
- multiple_pages: "மொத்தம் <b>%{count}</b> %{item_name}, காட்டப்படுபவை <b>%{from}-%{to}</b>"
19
-
20
- combo_nav_js: "<label>%{pages}-இல் %{page_input}-வது பக்கம்</label>"
21
-
22
- items_selector_js: "<label>ஒரு பக்கத்திற்கு %{items_input} %{item_name} காட்டு</label>"
data/lib/locales/tr.yml DELETED
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- tr:
4
- pagy:
5
-
6
- item_name: "kayıt"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;Önceki"
10
- next: "Sonraki&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "Hiç %{item_name} bulunamadı"
15
- single_page: "Toplam <b>%{count}</b> %{item_name} gösteriliyor"
16
- multiple_pages: "<b>%{count}</b> %{item_name} içerisinden <b>%{from}-%{to}</b> kadarı gösteriliyor"
17
-
18
- combo_nav_js: "<label>Sayfa %{page_input} / %{pages}</label>"
19
-
20
- items_selector_js: "<label>Sayfada %{items_input} %{item_name} göster</label>"
data/lib/locales/uk.yml DELETED
@@ -1,24 +0,0 @@
1
- # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- uk:
4
- pagy:
5
-
6
- item_name:
7
- one: "запис"
8
- few: "записів"
9
- many: "записів"
10
- other: "записів"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Назад"
14
- next: "Далі&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
- info:
18
- no_items: "Більше %{item_name} немає"
19
- single_page: "<b>%{count}</b> %{item_name}"
20
- multiple_pages: "Загалом <b>%{count}</b> %{item_name}, показані з <b>%{from}</b> по <b>%{to}</b>"
21
-
22
- combo_nav_js: "<label>Сторінка %{page_input} з %{pages}</label>"
23
-
24
- items_selector_js: "<label>Показати %{items_input} %{item_name} на сторінці</label>"
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- zh-CN:
4
- pagy:
5
-
6
- item_name: ""
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;上一页"
10
- next: "下一页&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "项目未找到"
15
- single_page: "显示<b>%{count}</b> 项%{item_name}"
16
- multiple_pages: "共 <b>%{count}</b> 项%{item_name},显示 <b>%{from}-%{to}</b>"
17
-
18
- combo_nav_js: "<label>第 %{page_input} / %{pages} 页</label>"
19
-
20
- items_selector_js: "<label>每页显示 %{items_input} 条%</label>"
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- zh-HK:
4
- pagy:
5
-
6
- item_name: ""
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;上一頁"
10
- next: "下一頁&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "記錄未搵到"
15
- single_page: "顯示 <b>%{count}</b> %{item_name}"
16
- multiple_pages: "共 <b>%{count}</b> %{item_name},顯示 <b>%{from}-%{to}</b>"
17
-
18
- combo_nav_js: "<label>第 %{page_input} / %{pages} 頁</label>"
19
-
20
- items_selector_js: "<label>每頁顯示 %{items_input} 記錄</label>"
@@ -1,20 +0,0 @@
1
- # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
2
-
3
- zh-TW:
4
- pagy:
5
-
6
- item_name: ""
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;上一頁"
10
- next: "下一頁&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
- info:
14
- no_items: "沒找到項"
15
- single_page: "顯示 <b>%{count}</b> 項%{item_name}"
16
- multiple_pages: "共 <b>%{count}</b> 項%{item_name},顯示 <b>%{from}-%{to}</b>"
17
-
18
- combo_nav_js: "<label>第 %{page_input} / %{pages} 頁</label>"
19
-
20
- items_selector_js: "<label>每頁顯示 %{items_input} 項%{item_name}</label>"