pagy 6.0.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/config/pagy.rb +56 -44
- data/lib/javascripts/pagy-dev.js +3 -3
- data/lib/javascripts/pagy-module.js +2 -2
- data/lib/javascripts/pagy.js +1 -1
- data/lib/locales/ar.yml +15 -11
- data/lib/locales/be.yml +25 -0
- data/lib/locales/bg.yml +10 -11
- data/lib/locales/bs.yml +12 -11
- data/lib/locales/ca.yml +12 -11
- data/lib/locales/cs.yml +13 -10
- data/lib/locales/da.yml +14 -13
- data/lib/locales/de.yml +10 -11
- data/lib/locales/en.yml +10 -11
- data/lib/locales/es.yml +10 -11
- data/lib/locales/fr.yml +10 -11
- data/lib/locales/hr.yml +12 -11
- data/lib/locales/id.yml +10 -11
- data/lib/locales/it.yml +10 -11
- data/lib/locales/ja.yml +10 -11
- data/lib/locales/km.yml +10 -10
- data/lib/locales/ko.yml +10 -11
- data/lib/locales/nb.yml +10 -11
- data/lib/locales/nl.yml +10 -11
- data/lib/locales/nn.yml +10 -11
- data/lib/locales/pl.yml +12 -11
- data/lib/locales/pt-BR.yml +10 -11
- data/lib/locales/pt.yml +10 -11
- data/lib/locales/ru.yml +14 -11
- data/lib/locales/sr.yml +12 -10
- data/lib/locales/sv-SE.yml +10 -12
- data/lib/locales/sv.yml +10 -12
- data/lib/locales/sw.yml +12 -11
- data/lib/locales/ta.yml +12 -11
- data/lib/locales/tr.yml +10 -11
- data/lib/locales/uk.yml +12 -11
- data/lib/locales/vi.yml +17 -0
- data/lib/locales/zh-CN.yml +10 -11
- data/lib/locales/zh-HK.yml +10 -11
- data/lib/locales/zh-TW.yml +10 -11
- data/lib/pagy/backend.rb +10 -4
- data/lib/pagy/calendar/day.rb +4 -3
- data/lib/pagy/calendar/helper.rb +15 -11
- data/lib/pagy/calendar/month.rb +4 -3
- data/lib/pagy/calendar/quarter.rb +4 -3
- data/lib/pagy/calendar/week.rb +1 -1
- data/lib/pagy/calendar/year.rb +3 -2
- data/lib/pagy/calendar.rb +33 -7
- data/lib/pagy/console.rb +1 -1
- data/lib/pagy/countless.rb +1 -1
- data/lib/pagy/exceptions.rb +1 -1
- data/lib/pagy/extras/arel.rb +1 -1
- data/lib/pagy/extras/array.rb +1 -1
- data/lib/pagy/extras/bootstrap.rb +45 -32
- data/lib/pagy/extras/bulma.rb +41 -32
- data/lib/pagy/extras/calendar.rb +17 -13
- data/lib/pagy/extras/countless.rb +1 -1
- data/lib/pagy/extras/elasticsearch_rails.rb +8 -8
- data/lib/pagy/extras/foundation.rb +48 -33
- data/lib/pagy/extras/frontend_helpers.rb +11 -11
- data/lib/pagy/extras/gearbox.rb +1 -1
- data/lib/pagy/extras/headers.rb +8 -8
- data/lib/pagy/extras/i18n.rb +5 -5
- data/lib/pagy/extras/items.rb +19 -12
- data/lib/pagy/extras/jsonapi.rb +79 -0
- data/lib/pagy/extras/materialize.rb +42 -30
- data/lib/pagy/extras/meilisearch.rb +12 -11
- data/lib/pagy/extras/metadata.rb +2 -2
- data/lib/pagy/extras/navs.rb +22 -34
- data/lib/pagy/extras/overflow.rb +9 -7
- data/lib/pagy/extras/searchkick.rb +8 -8
- data/lib/pagy/extras/semantic.rb +41 -28
- data/lib/pagy/extras/standalone.rb +10 -16
- data/lib/pagy/extras/support.rb +19 -33
- data/lib/pagy/extras/trim.rb +4 -4
- data/lib/pagy/extras/uikit.rb +44 -31
- data/lib/pagy/frontend.rb +57 -26
- data/lib/pagy/i18n.rb +3 -3
- data/lib/pagy/url_helpers.rb +15 -12
- data/lib/pagy.rb +57 -41
- metadata +7 -19
- data/lib/templates/bootstrap_nav.html.erb +0 -24
- data/lib/templates/bootstrap_nav.html.haml +0 -34
- data/lib/templates/bootstrap_nav.html.slim +0 -34
- data/lib/templates/bulma_nav.html.erb +0 -24
- data/lib/templates/bulma_nav.html.haml +0 -32
- data/lib/templates/bulma_nav.html.slim +0 -32
- data/lib/templates/foundation_nav.html.erb +0 -24
- data/lib/templates/foundation_nav.html.haml +0 -34
- data/lib/templates/foundation_nav.html.slim +0 -34
- data/lib/templates/nav.html.erb +0 -22
- data/lib/templates/nav.html.haml +0 -30
- data/lib/templates/nav.html.slim +0 -29
- data/lib/templates/uikit_nav.html.erb +0 -15
- data/lib/templates/uikit_nav.html.haml +0 -28
- data/lib/templates/uikit_nav.html.slim +0 -28
data/lib/locales/de.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
3
2
|
de:
|
4
3
|
pagy:
|
5
|
-
|
4
|
+
aria_label:
|
5
|
+
nav:
|
6
|
+
one: "Seite"
|
7
|
+
other: "Seiten"
|
8
|
+
prev: "Zurück"
|
9
|
+
next: "Weiter"
|
10
|
+
prev: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "Eintrag"
|
8
15
|
other: "Einträge"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Zurück"
|
12
|
-
next: "Weiter ›"
|
13
|
-
gap: "…"
|
14
|
-
|
15
16
|
info:
|
16
17
|
no_items: "Keine %{item_name} gefunden"
|
17
18
|
single_page: "Zeige <b>%{count}</b> %{item_name}"
|
18
19
|
multiple_pages: "Zeige %{item_name} <b>%{from}-%{to}</b> von <b>%{count}</b> gesamt"
|
19
|
-
|
20
20
|
combo_nav_js: "<label>Seite %{page_input} von %{pages}</label>"
|
21
|
-
|
22
21
|
items_selector_js: "<label>Zeige %{items_input} %{item_name} pro Seite</label>"
|
data/lib/locales/en.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
3
2
|
en:
|
4
3
|
pagy:
|
5
|
-
|
4
|
+
aria_label:
|
5
|
+
nav:
|
6
|
+
one: "Page"
|
7
|
+
other: "Pages"
|
8
|
+
prev: "Previous"
|
9
|
+
next: "Next"
|
10
|
+
prev: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "item"
|
8
15
|
other: "items"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Prev"
|
12
|
-
next: "Next ›"
|
13
|
-
gap: "…"
|
14
|
-
|
15
16
|
info:
|
16
17
|
no_items: "No %{item_name} found"
|
17
18
|
single_page: "Displaying <b>%{count}</b> %{item_name}"
|
18
19
|
multiple_pages: "Displaying %{item_name} <b>%{from}-%{to}</b> of <b>%{count}</b> in total"
|
19
|
-
|
20
20
|
combo_nav_js: "<label>Page %{page_input} of %{pages}</label>"
|
21
|
-
|
22
21
|
items_selector_js: "<label>Show %{items_input} %{item_name} per page</label>"
|
data/lib/locales/es.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
3
2
|
es:
|
4
3
|
pagy:
|
5
|
-
|
4
|
+
aria_label:
|
5
|
+
nav:
|
6
|
+
one: "Página"
|
7
|
+
other: "Páginas"
|
8
|
+
prev: "Anterior"
|
9
|
+
next: "Siguiente"
|
10
|
+
prev: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "ítem"
|
8
15
|
other: "ítems"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Anterior"
|
12
|
-
next: "Siguiente ›"
|
13
|
-
gap: "…"
|
14
|
-
|
15
16
|
info:
|
16
17
|
no_items: "Sin resultados"
|
17
18
|
single_page: "Mostrando %{count} %{item_name}"
|
18
19
|
multiple_pages: "Mostrando %{item_name} %{from}-%{to} de %{count} en total"
|
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/fr.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
# :one_upto_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_upto_two_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
3
2
|
fr:
|
4
3
|
pagy:
|
5
|
-
|
4
|
+
aria_label:
|
5
|
+
nav:
|
6
|
+
one: "Page"
|
7
|
+
other: "Pages"
|
8
|
+
prev: "Précédent"
|
9
|
+
next: "Suivant"
|
10
|
+
prev: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "élément"
|
8
15
|
other: "éléments"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Précédent"
|
12
|
-
next: "Suivant ›"
|
13
|
-
gap: "…"
|
14
|
-
|
15
16
|
info:
|
16
17
|
no_items: "Aucun %{item_name} trouvé"
|
17
18
|
single_page: "Affichage de <b>%{count}</b> %{item_name}"
|
18
19
|
multiple_pages: "Affichage des %{item_name} <b>%{from} à %{to}</b> sur <b>%{count}</b> au total"
|
19
|
-
|
20
20
|
combo_nav_js: "<label>Page %{page_input} sur %{pages}</label>"
|
21
|
-
|
22
21
|
items_selector_js: "<label>Afficher %{items_input} %{item_name} par page</label>"
|
data/lib/locales/hr.yml
CHANGED
@@ -1,24 +1,25 @@
|
|
1
|
-
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
3
2
|
hr:
|
4
3
|
pagy:
|
5
|
-
|
4
|
+
aria_label:
|
5
|
+
nav:
|
6
|
+
one: "Stranica"
|
7
|
+
few: "Stranice"
|
8
|
+
many: "Stranica"
|
9
|
+
other: "Stranice"
|
10
|
+
prev: "Prethodna"
|
11
|
+
next: "Sljedeća "
|
12
|
+
prev: "<"
|
13
|
+
next: ">"
|
14
|
+
gap: "…"
|
6
15
|
item_name:
|
7
16
|
one: "stavka"
|
8
17
|
few: "stavke"
|
9
18
|
many: "stavki"
|
10
19
|
other: "stavki"
|
11
|
-
|
12
|
-
nav:
|
13
|
-
prev: "‹ Prethodna"
|
14
|
-
next: "Sljedeća ›"
|
15
|
-
gap: "…"
|
16
|
-
|
17
20
|
info:
|
18
21
|
no_items: "Nije pronađena %{item_name}"
|
19
22
|
single_page: "Prikazuje se <b>%{count}</b> %{item_name}"
|
20
23
|
multiple_pages: "Prikaz %{item_name} <b>%{from}-%{to}</b> od <b>%{count}</b> ukupno"
|
21
|
-
|
22
24
|
combo_nav_js: "<label>Stranica %{page_input} od %{pages}</label>"
|
23
|
-
|
24
25
|
items_selector_js: "<label>Prikaži %{items_input} %{item_name} po stranici</label>"
|
data/lib/locales/id.yml
CHANGED
@@ -1,20 +1,19 @@
|
|
1
|
-
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "elemento"
|
8
15
|
other: "elementi"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Precedente"
|
12
|
-
next: "Seguente ›"
|
13
|
-
gap: "…"
|
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
|
-
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name: "結果"
|
7
|
-
|
8
|
-
nav:
|
9
|
-
prev: "‹ 前へ"
|
10
|
-
next: "次へ ›"
|
11
|
-
gap: "…"
|
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
|
-
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
5
13
|
item_name: "ធាតុ"
|
6
|
-
|
7
|
-
nav:
|
8
|
-
prev: "‹ មុន"
|
9
|
-
next: "បន្ទាប់ ›"
|
10
|
-
gap: "…"
|
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
|
-
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name: "항목"
|
7
|
-
|
8
|
-
nav:
|
9
|
-
prev: "‹ 이전"
|
10
|
-
next: "다음 ›"
|
11
|
-
gap: "…"
|
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
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "resultat"
|
8
15
|
other: "resultater"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Forrige"
|
12
|
-
next: "Neste ›"
|
13
|
-
gap: "…"
|
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
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "stuk"
|
8
15
|
other: "stuks"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Vorige"
|
12
|
-
next: "Volgende ›"
|
13
|
-
gap: "…"
|
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
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "resultat"
|
8
15
|
other: "resultat"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Førre"
|
12
|
-
next: "Neste ›"
|
13
|
-
gap: "…"
|
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
|
-
# :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :polish pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
13
|
+
next: ">"
|
14
|
+
gap: "…"
|
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: "‹ Poprzednia"
|
14
|
-
next: "Następna ›"
|
15
|
-
gap: "…"
|
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>"
|
data/lib/locales/pt-BR.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "item"
|
8
15
|
other: "itens"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Anterior"
|
12
|
-
next: "Próximo ›"
|
13
|
-
gap: "…"
|
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
|
-
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "item"
|
8
15
|
other: "itens"
|
9
|
-
|
10
|
-
nav:
|
11
|
-
prev: "‹ Anterior"
|
12
|
-
next: "Próximo ›"
|
13
|
-
gap: "…"
|
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
|
-
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
15
|
+
next: ">"
|
16
|
+
gap: "…"
|
6
17
|
item_name:
|
7
18
|
one: "запись"
|
8
19
|
few: "записи"
|
9
20
|
many: "записей"
|
10
21
|
other: "записей"
|
11
|
-
|
12
|
-
nav:
|
13
|
-
prev: "‹ Назад"
|
14
|
-
next: "Вперёд ›"
|
15
|
-
gap: "…"
|
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
|
-
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/
|
2
|
-
|
1
|
+
# :east_slavic pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)
|
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: "<"
|
13
|
+
next: ">"
|
14
|
+
gap: "…"
|
5
15
|
item_name:
|
6
16
|
one: "ставка"
|
7
17
|
few: "ставкe"
|
8
18
|
many: "ставки"
|
9
19
|
other: "ставки"
|
10
|
-
|
11
|
-
nav:
|
12
|
-
prev: "‹ Претходна"
|
13
|
-
next: "Следећa ›"
|
14
|
-
gap: "…"
|
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>"
|
data/lib/locales/sv-SE.yml
CHANGED
@@ -1,23 +1,21 @@
|
|
1
|
-
# :
|
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: "<"
|
11
|
+
next: ">"
|
12
|
+
gap: "…"
|
6
13
|
item_name:
|
7
14
|
one: "resultat"
|
8
|
-
two: "resultat"
|
9
15
|
other: "resultat"
|
10
|
-
|
11
|
-
nav:
|
12
|
-
prev: "‹ Föregående"
|
13
|
-
next: "Nästa ›"
|
14
|
-
gap: "…"
|
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>"
|