pagy 6.4.3 → 7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/lib/config/pagy.rb +18 -16
  4. data/lib/javascripts/pagy-dev.js +3 -3
  5. data/lib/javascripts/pagy-module.js +2 -2
  6. data/lib/javascripts/pagy.js +1 -1
  7. data/lib/locales/ar.yml +14 -10
  8. data/lib/locales/be.yml +11 -10
  9. data/lib/locales/bg.yml +9 -10
  10. data/lib/locales/bs.yml +11 -10
  11. data/lib/locales/ca.yml +11 -10
  12. data/lib/locales/ckb.yml +18 -0
  13. data/lib/locales/cs.yml +12 -9
  14. data/lib/locales/da.yml +11 -10
  15. data/lib/locales/de.yml +9 -10
  16. data/lib/locales/en.yml +9 -10
  17. data/lib/locales/es.yml +9 -10
  18. data/lib/locales/fr.yml +9 -10
  19. data/lib/locales/hr.yml +11 -10
  20. data/lib/locales/id.yml +9 -10
  21. data/lib/locales/it.yml +9 -10
  22. data/lib/locales/ja.yml +9 -10
  23. data/lib/locales/km.yml +9 -9
  24. data/lib/locales/ko.yml +9 -10
  25. data/lib/locales/nb.yml +9 -10
  26. data/lib/locales/nl.yml +9 -10
  27. data/lib/locales/nn.yml +9 -10
  28. data/lib/locales/pl.yml +11 -10
  29. data/lib/locales/pt-BR.yml +9 -10
  30. data/lib/locales/pt.yml +9 -10
  31. data/lib/locales/ru.yml +13 -10
  32. data/lib/locales/sr.yml +11 -9
  33. data/lib/locales/sv-SE.yml +10 -12
  34. data/lib/locales/sv.yml +10 -12
  35. data/lib/locales/sw.yml +11 -10
  36. data/lib/locales/ta.yml +11 -10
  37. data/lib/locales/tr.yml +9 -10
  38. data/lib/locales/uk.yml +11 -10
  39. data/lib/locales/vi.yml +7 -10
  40. data/lib/locales/zh-CN.yml +9 -10
  41. data/lib/locales/zh-HK.yml +9 -10
  42. data/lib/locales/zh-TW.yml +9 -10
  43. data/lib/pagy/backend.rb +3 -2
  44. data/lib/pagy/calendar/day.rb +3 -2
  45. data/lib/pagy/calendar/helper.rb +3 -7
  46. data/lib/pagy/calendar/month.rb +3 -2
  47. data/lib/pagy/calendar/quarter.rb +3 -2
  48. data/lib/pagy/calendar/year.rb +2 -1
  49. data/lib/pagy/extras/bootstrap.rb +42 -29
  50. data/lib/pagy/extras/bulma.rb +40 -31
  51. data/lib/pagy/extras/calendar.rb +7 -8
  52. data/lib/pagy/extras/elasticsearch_rails.rb +6 -6
  53. data/lib/pagy/extras/foundation.rb +44 -31
  54. data/lib/pagy/extras/frontend_helpers.rb +7 -7
  55. data/lib/pagy/extras/headers.rb +7 -7
  56. data/lib/pagy/extras/i18n.rb +4 -4
  57. data/lib/pagy/extras/items.rb +10 -9
  58. data/lib/pagy/extras/jsonapi.rb +2 -7
  59. data/lib/pagy/extras/materialize.rb +41 -29
  60. data/lib/pagy/extras/meilisearch.rb +10 -10
  61. data/lib/pagy/extras/metadata.rb +1 -1
  62. data/lib/pagy/extras/navs.rb +22 -34
  63. data/lib/pagy/extras/overflow.rb +7 -5
  64. data/lib/pagy/extras/searchkick.rb +6 -6
  65. data/lib/pagy/extras/semantic.rb +40 -27
  66. data/lib/pagy/extras/standalone.rb +4 -7
  67. data/lib/pagy/extras/support.rb +18 -32
  68. data/lib/pagy/extras/trim.rb +2 -2
  69. data/lib/pagy/extras/uikit.rb +43 -30
  70. data/lib/pagy/frontend.rb +56 -25
  71. data/lib/pagy/i18n.rb +1 -2
  72. data/lib/pagy/url_helpers.rb +1 -2
  73. data/lib/pagy.rb +16 -14
  74. metadata +9 -23
  75. data/lib/templates/bootstrap_nav.html.erb +0 -24
  76. data/lib/templates/bootstrap_nav.html.haml +0 -34
  77. data/lib/templates/bootstrap_nav.html.slim +0 -34
  78. data/lib/templates/bulma_nav.html.erb +0 -24
  79. data/lib/templates/bulma_nav.html.haml +0 -32
  80. data/lib/templates/bulma_nav.html.slim +0 -32
  81. data/lib/templates/foundation_nav.html.erb +0 -24
  82. data/lib/templates/foundation_nav.html.haml +0 -34
  83. data/lib/templates/foundation_nav.html.slim +0 -34
  84. data/lib/templates/nav.html.erb +0 -22
  85. data/lib/templates/nav.html.haml +0 -30
  86. data/lib/templates/nav.html.slim +0 -29
  87. data/lib/templates/uikit_nav.html.erb +0 -15
  88. data/lib/templates/uikit_nav.html.haml +0 -28
  89. data/lib/templates/uikit_nav.html.slim +0 -28
data/lib/locales/id.yml CHANGED
@@ -1,20 +1,19 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  id:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/588
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ prev: "Sebelumnya"
9
+ next: "Selanjutnya"
10
+ prev: "<"
11
+ next: ">"
12
+ gap: "…"
6
13
  item_name: "item"
7
-
8
- nav:
9
- prev: "‹ Sebelumnya"
10
- next: "Selanjutnya ›"
11
- gap: "…"
12
-
13
14
  info:
14
15
  no_items: "Tidak ditemukan %{item_name}"
15
16
  single_page: "Menampilkan <b>%{count}</b> %{item_name}"
16
17
  multiple_pages: "Menampilkan %{item_name} <b>%{from}-%{to}</b> dari total <b>%{count}</b>"
17
-
18
18
  combo_nav_js: "<label>Halaman %{page_input} dari %{pages}</label>"
19
-
20
19
  items_selector_js: "<label>Tampilkan %{items_input} %{item_name} per halaman</label>"
data/lib/locales/it.yml CHANGED
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  it:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Pagina"
7
+ other: "Pagine"
8
+ prev: "Precedente"
9
+ next: "Seguente"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "elemento"
8
15
  other: "elementi"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Precedente"
12
- next: "Seguente&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Nessun %{item_name} trovato"
17
18
  single_page: "Visualizzazione di <b>%{count}</b> %{item_name}"
18
19
  multiple_pages: "Visualizzazione %{item_name} <b>%{from}-%{to}</b> di <b>%{count}</b> in totale"
19
-
20
20
  combo_nav_js: "<label>Pagina %{page_input} di %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Mostra %{items_input} %{item_name} per pagina</label>"
data/lib/locales/ja.yml CHANGED
@@ -1,20 +1,19 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  ja:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/590
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ prev: "前へ"
9
+ next: "次へ"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name: "結果"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;前へ"
10
- next: "次へ&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
14
  info:
14
15
  no_items: "見つかりませんでした"
15
16
  single_page: "<b>%{count}</b> 件の%{item_name}"
16
17
  multiple_pages: "<b>%{count}</b> 件中 <b>%{from}-%{to}</b> 件目の%{item_name}を表示中"
17
-
18
18
  combo_nav_js: "<label>%{page_input} / %{pages} ページ</label>"
19
-
20
19
  items_selector_js: "<label>%{items_input} 件ずつ表示</label>"
data/lib/locales/km.yml CHANGED
@@ -1,19 +1,19 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  km:
4
3
  pagy:
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/591
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ prev: "មុន"
9
+ next: "បន្ទាប់"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
5
13
  item_name: "ធាតុ"
6
-
7
- nav:
8
- prev: "&lsaquo;&nbsp;មុន"
9
- next: "បន្ទាប់&nbsp;&rsaquo;"
10
- gap: "&hellip;"
11
-
12
14
  info:
13
15
  no_items: "មិនមាន %{item_name} ទេ"
14
16
  single_page: "បង្ហាញ <b>%{count}</b> %{item_name}"
15
17
  multiple_pages: "បង្ហាញ %{item_name} <b>%{from}-%{to}</b> នៃ <b>%{count}</b> ជាចំនួនសរុប"
16
-
17
18
  combo_nav_js: "<label>ទំព័រ %{page_input} នៃ %{pages}</label>"
18
-
19
19
  items_selector_js: "<label>បង្ហាញ %{items_input} %{item_name} ក្នុង ១ ទំព័រ</label>"
data/lib/locales/ko.yml CHANGED
@@ -1,20 +1,19 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  ko:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/592
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ prev: "이전"
9
+ next: "다음"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name: "항목"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;이전"
10
- next: "다음&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
14
  info:
14
15
  no_items: "%{item_name} 없음"
15
16
  single_page: "<b>%{count}</b>개의 %{item_name} 표시됨"
16
17
  multiple_pages: "총 <b>%{count}</b>개의 %{item_name} 중 <b>%{from}-%{to}</b>"
17
-
18
18
  combo_nav_js: "<label>총 %{pages} 중 %{page_input} 페이지</label>"
19
-
20
19
  items_selector_js: "<label>페이지 당 %{items_input}개 표시%</label>"
data/lib/locales/nb.yml CHANGED
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  nb:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Side"
7
+ other: "Sider"
8
+ prev: "Forrige"
9
+ next: "Neste"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "resultat"
8
15
  other: "resultater"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Forrige"
12
- next: "Neste&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Ingen %{item_name} funnet"
17
18
  single_page: "Viser <b>%{count}</b> %{item_name}"
18
19
  multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"
19
-
20
20
  combo_nav_js: "<label>Side %{page_input} av %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Vis %{items_input} %{item_name} per side</label>"
data/lib/locales/nl.yml CHANGED
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  nl:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Pagina"
7
+ other: "Pagina's"
8
+ prev: "Vorige"
9
+ next: "Volgende"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "stuk"
8
15
  other: "stuks"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Vorige"
12
- next: "Volgende&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Geen %{item_name} gevonden"
17
18
  single_page: "Toont <b>%{count}</b> %{item_name}"
18
19
  multiple_pages: "Toont <b>%{from}-%{to}</b> %{item_name} van <b>%{count}</b> in totaal"
19
-
20
20
  combo_nav_js: "<label>Pagina %{page_input} van %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Toont %{items_input} %{item_name} per pagina</label>"
data/lib/locales/nn.yml CHANGED
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  nn:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Side"
7
+ other: "Sider"
8
+ prev: "Førre"
9
+ next: "Neste"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "resultat"
8
15
  other: "resultat"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Førre"
12
- next: "Neste&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Ingen %{item_name} funne"
17
18
  single_page: "Viser <b>%{count}</b> %{item_name}"
18
19
  multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"
19
-
20
20
  combo_nav_js: "<label>Side %{page_input} av %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Vis %{items_input} %{item_name} per side</label>"
data/lib/locales/pl.yml CHANGED
@@ -1,24 +1,25 @@
1
1
  # :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  pl:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Strona"
7
+ few: "Strony"
8
+ many: "Stron"
9
+ other: "Strony"
10
+ prev: "Poprzednia"
11
+ next: "Następna"
12
+ prev: "&lt;"
13
+ next: "&gt;"
14
+ gap: "&hellip;"
6
15
  item_name:
7
16
  one: "element"
8
17
  few: "elementy"
9
18
  many: "elementów"
10
19
  other: "elementów"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Poprzednia"
14
- next: "Następna&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
20
  info:
18
21
  no_items: "Nie znaleziono %{item_name}"
19
22
  single_page: "Wyświetlono <b>%{count}</b> %{item_name}"
20
23
  multiple_pages: "Wyświetlono %{item_name} <b>%{from}-%{to}</b> z wszystkich <b>%{count}</b>"
21
-
22
24
  combo_nav_js: "<label>Strona %{page_input} z %{pages}</label>"
23
-
24
25
  items_selector_js: "<label>Pokaż %{items_input} %{item_name} na stronie</label>"
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  pt-BR:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Página"
7
+ other: "Páginas"
8
+ prev: "Anterior"
9
+ next: "Próximo"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "item"
8
15
  other: "itens"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Anterior"
12
- next: "Próximo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Sem resultados"
17
18
  single_page: "Mostrando %{count} %{item_name}"
18
19
  multiple_pages: "Mostrando %{item_name} %{from}-%{to} do total de %{count}"
19
-
20
20
  combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
data/lib/locales/pt.yml CHANGED
@@ -1,22 +1,21 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  pt:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Página"
7
+ other: "Páginas"
8
+ prev: "Anterior"
9
+ next: "Próximo"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "item"
8
15
  other: "itens"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Anterior"
12
- next: "Próximo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
16
  info:
16
17
  no_items: "Sem resultados"
17
18
  single_page: "Mostrando %{count} %{item_name}"
18
19
  multiple_pages: "Mostrando %{item_name} %{from}-%{to} de um total de %{count}"
19
-
20
20
  combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"
21
-
22
21
  items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
data/lib/locales/ru.yml CHANGED
@@ -1,24 +1,27 @@
1
1
  # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  ru:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/599
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ # one: ""
9
+ # few: ""
10
+ # many: ""
11
+ # other: ""
12
+ prev: "Назад"
13
+ next: "Вперёд"
14
+ prev: "&lt;"
15
+ next: "&gt;"
16
+ gap: "&hellip;"
6
17
  item_name:
7
18
  one: "запись"
8
19
  few: "записи"
9
20
  many: "записей"
10
21
  other: "записей"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Назад"
14
- next: "Вперёд&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
22
  info:
18
23
  no_items: "Пока %{item_name} нет"
19
24
  single_page: "<b>%{count}</b> %{item_name}"
20
25
  multiple_pages: "Всего <b>%{count}</b> %{item_name}, показаны с <b>%{from}</b> по <b>%{to}</b>"
21
-
22
26
  combo_nav_js: "<label>Страница %{page_input} из %{pages}</label>"
23
-
24
27
  items_selector_js: "<label>Показать %{items_input} %{item_name} на странице</label>"
data/lib/locales/sr.yml CHANGED
@@ -1,23 +1,25 @@
1
1
  # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  sr:
4
3
  pagy:
4
+ aria_label:
5
+ nav:
6
+ one: "Страница"
7
+ few: "Странице"
8
+ many: "Страница"
9
+ other: "Странице"
10
+ prev: "Претходна"
11
+ next: "Следећa "
12
+ prev: "&lt;"
13
+ next: "&gt;"
14
+ gap: "&hellip;"
5
15
  item_name:
6
16
  one: "ставка"
7
17
  few: "ставкe"
8
18
  many: "ставки"
9
19
  other: "ставки"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Претходна"
13
- next: "Следећa &nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
20
  info:
17
21
  no_items: "Нema пронађених %{item_name}"
18
22
  single_page: "Приказује се <b>%{count}</b> %{item_name}"
19
23
  multiple_pages: "Приказ %{item_name} <b>%{from}-%{to}</b> од <b>%{count}</b> укупно"
20
-
21
24
  combo_nav_js: "<label>Страниca %{page_input} од %{pages}</label>"
22
-
23
25
  items_selector_js: "<label>Прикажи %{items_input} %{item_name} по страниcи</label>"
@@ -1,23 +1,21 @@
1
- # :one_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
1
+ # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
3
2
  sv-SE:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Sida"
7
+ other: "Sidor"
8
+ prev: "Föregående"
9
+ next: "Nästa"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "resultat"
8
- two: "resultat"
9
15
  other: "resultat"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Föregående"
13
- next: "Nästa&nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
16
  info:
17
17
  no_items: "Inga %{item_name} hittade"
18
18
  single_page: "Visar <b>%{count}</b> %{item_name}"
19
19
  multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"
20
-
21
20
  combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"
22
-
23
21
  items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
data/lib/locales/sv.yml CHANGED
@@ -1,23 +1,21 @@
1
- # :one_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
1
+ # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
3
2
  sv:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Sida"
7
+ other: "Sidor"
8
+ prev: "Föregående"
9
+ next: "Nästa"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name:
7
14
  one: "resultat"
8
- two: "resultat"
9
15
  other: "resultat"
10
-
11
- nav:
12
- prev: "&lsaquo;&nbsp;Föregående"
13
- next: "Nästa&nbsp;&rsaquo;"
14
- gap: "&hellip;"
15
-
16
16
  info:
17
17
  no_items: "Inga %{item_name} hittade"
18
18
  single_page: "Visar <b>%{count}</b> %{item_name}"
19
19
  multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"
20
-
21
20
  combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"
22
-
23
21
  items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
data/lib/locales/sw.yml CHANGED
@@ -1,22 +1,23 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  sw:
4
3
  pagy:
5
-
4
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/603
5
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
6
+ aria_label:
7
+ nav: "Pages"
8
+ # one: ""
9
+ # other: ""
10
+ prev: "Awali"
11
+ next: "Ifuatayo"
12
+ prev: "&lt;"
13
+ next: "&gt;"
14
+ gap: "&hellip;"
6
15
  item_name:
7
16
  one: "kifaa"
8
17
  other: "vifaa"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;Awali"
12
- next: "Ifuatayo&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
18
  info:
16
19
  no_items: "Hamna %{item_name} vilivyopatikana"
17
20
  single_page: "Inaonyesha %{item_name} <b>%{count}</b>"
18
21
  multiple_pages: "Inaonyesha %{item_name} <b>%{from}-%{to}</b> ya <b>%{count}</b> kwa jumla"
19
-
20
22
  combo_nav_js: "<label>Kurasa %{page_input} ya %{pages}</label>"
21
-
22
23
  items_selector_js: "<label>Onyesha %{items_input} %{item_name} kwa kila ukurasa</label>"
data/lib/locales/ta.yml CHANGED
@@ -1,22 +1,23 @@
1
1
  # :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  ta:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/604
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ # one: ""
9
+ # other: ""
10
+ prev: "முந்தையது"
11
+ next: "அடுத்தது"
12
+ prev: "&lt;"
13
+ next: "&gt;"
14
+ gap: "&hellip;"
6
15
  item_name:
7
16
  one: "பதிவு"
8
17
  other: "பதிவுகள்"
9
-
10
- nav:
11
- prev: "&lsaquo;&nbsp;முந்தையது"
12
- next: "அடுத்தது&nbsp;&rsaquo;"
13
- gap: "&hellip;"
14
-
15
18
  info:
16
19
  no_items: "%{item_name} கிடைக்கவில்லை"
17
20
  single_page: "<b>%{count}</b> %{item_name} காட்டப்படுகின்றது"
18
21
  multiple_pages: "மொத்தம் <b>%{count}</b> %{item_name}, காட்டப்படுபவை <b>%{from}-%{to}</b>"
19
-
20
22
  combo_nav_js: "<label>%{pages}-இல் %{page_input}-வது பக்கம்</label>"
21
-
22
23
  items_selector_js: "<label>ஒரு பக்கத்திற்கு %{items_input} %{item_name} காட்டு</label>"
data/lib/locales/tr.yml CHANGED
@@ -1,20 +1,19 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  tr:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ # please add a comment in the https://github.com/ddnexus/pagy/issues/605
6
+ # posting the translation of the following "Page"/"Pages" with the plurals for this locale
7
+ nav: "Pages"
8
+ prev: "Önceki"
9
+ next: "Sonraki"
10
+ prev: "&lt;"
11
+ next: "&gt;"
12
+ gap: "&hellip;"
6
13
  item_name: "kayıt"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;Önceki"
10
- next: "Sonraki&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
14
  info:
14
15
  no_items: "Hiç %{item_name} bulunamadı"
15
16
  single_page: "Toplam <b>%{count}</b> %{item_name} gösteriliyor"
16
17
  multiple_pages: "<b>%{count}</b> %{item_name} içerisinden <b>%{from}-%{to}</b> kadarı gösteriliyor"
17
-
18
18
  combo_nav_js: "<label>Sayfa %{page_input} / %{pages}</label>"
19
-
20
19
  items_selector_js: "<label>Sayfada %{items_input} %{item_name} göster</label>"
data/lib/locales/uk.yml CHANGED
@@ -1,24 +1,25 @@
1
1
  # :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  uk:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav:
6
+ one: "Сторінка"
7
+ few: "Сторінки"
8
+ many: "Сторінок"
9
+ other: "Сторінки"
10
+ prev: "Назад"
11
+ next: "Далі"
12
+ prev: "&lt;"
13
+ next: "&gt;"
14
+ gap: "&hellip;"
6
15
  item_name:
7
16
  one: "запис"
8
17
  few: "записів"
9
18
  many: "записів"
10
19
  other: "записів"
11
-
12
- nav:
13
- prev: "&lsaquo;&nbsp;Назад"
14
- next: "Далі&nbsp;&rsaquo;"
15
- gap: "&hellip;"
16
-
17
20
  info:
18
21
  no_items: "Більше %{item_name} немає"
19
22
  single_page: "<b>%{count}</b> %{item_name}"
20
23
  multiple_pages: "Загалом <b>%{count}</b> %{item_name}, показані з <b>%{from}</b> по <b>%{to}</b>"
21
-
22
24
  combo_nav_js: "<label>Сторінка %{page_input} з %{pages}</label>"
23
-
24
25
  items_selector_js: "<label>Показати %{items_input} %{item_name} на сторінці</label>"
data/lib/locales/vi.yml CHANGED
@@ -1,20 +1,17 @@
1
1
  # :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
2
-
3
2
  vi:
4
3
  pagy:
5
-
4
+ aria_label:
5
+ nav: "Trang"
6
+ prev: "Trang trước"
7
+ next: "Trang sau"
8
+ prev: "&lt;"
9
+ next: "&gt;"
10
+ gap: "&hellip;"
6
11
  item_name: "kết quả"
7
-
8
- nav:
9
- prev: "&lsaquo;&nbsp;Trang trước"
10
- next: "Trang sau&nbsp;&rsaquo;"
11
- gap: "&hellip;"
12
-
13
12
  info:
14
13
  no_items: "Không tìm thấy %{item_name} nào"
15
14
  single_page: "<b>%{count}</b> %{item_name}"
16
15
  multiple_pages: "Đang hiển thị <b>%{from}-%{to}</b> trong tổng số <b>%{count} %{item_name}</b>"
17
-
18
16
  combo_nav_js: "<label>Trang %{page_input} trên %{pages}</label>"
19
-
20
17
  items_selector_js: "<label>Hiển thị %{items_input} %{item_name} mỗi trang</label>"