pagy 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/config/pagy.rb +1 -1
- data/lib/locales/bg.yml +22 -0
- data/lib/pagy.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dc6e1e54d77709fa8f36306dca0b316e10e458e81f770b1655a0b9a56cca78e
|
|
4
|
+
data.tar.gz: '092a8554d16d61c661a995acb1104d271e203282316072ddac7649a11616497e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0e2dd58ebc6d1463567f4dff76897e823731605a517da343fa35a80b3f88c3173ab071d6f7b1bbceb870d1fc90b0ea507ac23f708d7a010e45d084d335cc3fd
|
|
7
|
+
data.tar.gz: 127a5d06d0fd5058457d43a3473d0d582f96425066f49c3d468307c50cbe847d779d53751097ff72758cacb17e59bf6cb94fee7107ee8ec70448d0166ff41473
|
data/lib/config/pagy.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
# Pagy initializer file (3.
|
|
4
|
+
# Pagy initializer file (3.3.0)
|
|
5
5
|
# Customize only what you really need and notice that Pagy works also without any of the following lines.
|
|
6
6
|
# Should you just cherry pick part of this file, please maintain the require-order of the extras
|
|
7
7
|
|
data/lib/locales/bg.yml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)
|
|
2
|
+
|
|
3
|
+
bg:
|
|
4
|
+
pagy:
|
|
5
|
+
|
|
6
|
+
item_name:
|
|
7
|
+
one: "резултат"
|
|
8
|
+
other: "резултати"
|
|
9
|
+
|
|
10
|
+
nav:
|
|
11
|
+
prev: "‹ Предишна"
|
|
12
|
+
next: "Следваща ›"
|
|
13
|
+
gap: "…"
|
|
14
|
+
|
|
15
|
+
info:
|
|
16
|
+
no_items: "Няма намерени %{item_name}"
|
|
17
|
+
single_page: "Показани са <b>%{count}</b> %{item_name}"
|
|
18
|
+
multiple_pages: "Показани са %{item_name} <b>%{from}-%{to}</b> от <b>%{count}</b> общо"
|
|
19
|
+
|
|
20
|
+
combo_nav_js: "Страница %{page_input} от %{pages}"
|
|
21
|
+
|
|
22
|
+
items_selector_js: "Покажи %{items_input} %{item_name} на страница"
|
data/lib/pagy.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pagy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Domizio Demichelis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Agnostic pagination in plain ruby: it works with any framework, ORM
|
|
14
14
|
and DB type, with all kinds of collections, even pre-paginated, scopes, Arrays,
|
|
@@ -23,6 +23,7 @@ files:
|
|
|
23
23
|
- lib/config/pagy.rb
|
|
24
24
|
- lib/javascripts/pagy.js
|
|
25
25
|
- lib/locales/README.md
|
|
26
|
+
- lib/locales/bg.yml
|
|
26
27
|
- lib/locales/de.yml
|
|
27
28
|
- lib/locales/en.yml
|
|
28
29
|
- lib/locales/es.yml
|