pagy 0.19.3 → 0.19.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/locales/pagy.yml +103 -35
  3. data/lib/pagy.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '048046d2898cf11c866a574a3d7bf98decd39c4bdb17076080bec781a00eb255'
4
- data.tar.gz: 63e4f75bb9b63b6503fd3add1427c4aa82b27214563d3eb9914200b8ac16baa0
3
+ metadata.gz: 1ebd88dd8d6c3296619f85da10c32cbe324dcfc6fde4b05835fba59c347e8549
4
+ data.tar.gz: 50830d329a8adb1cba1890524ce4b7f8309628b02189a2d0891d30f5f24374b2
5
5
  SHA512:
6
- metadata.gz: f63c20f8d79f6e5ad86e460e5313e82b895938ae219c18af67c2cea133746fe95212587acd9b41c1ad207bd9edd1cd287aa1bbbcdaa09fd1be792a53884c1547
7
- data.tar.gz: da233a5954a5a7228bc6b19080fc00c9670a560242c5345c25e496231e15ed4ca0d8cb8c623d282067f53a7511600cfa47c26182444a524d716b2512806ab2d6
6
+ metadata.gz: 01f5de145efd5ca482eb0c8e7f82ae62438ef7c4547d8492b0837b4de3b2d9baf02a0366281f447930a52d97b405a3587e6dd578e653f133f13e2e4ab55a3cec
7
+ data.tar.gz: 454dba7421ee82dde42a71101a587f120120c0e2822863da805e61787baa47908fffb01aed574d91bf1a6bfc062222275f453c41805cd9b6c786e8ab329d6ca9
data/lib/locales/pagy.yml CHANGED
@@ -1,27 +1,5 @@
1
1
  # Standard pagy dictionary
2
2
 
3
- cn:
4
- pagy:
5
- nav:
6
- prev: "‹ 上一页"
7
- next: "下一页 ›"
8
- gap: "…"
9
- info:
10
- single_page:
11
- zero: " %{item_name} 未找到"
12
- one: "显示 <b>1</b> %{item_name}"
13
- other: "显示 <b>所有 %{count}</b> %{item_name}"
14
- multiple_pages: "显示 %{item_name} <b>%{from}-%{to}</b> 共 <b>%{count}</b> 项"
15
- item_name:
16
- zero: "项"
17
- one: "一个"
18
- other: "多个"
19
- compact:
20
- page: "页"
21
- of: "其中的"
22
- items:
23
- show: "显示"
24
- items: "每页的条数"
25
3
  en:
26
4
  pagy:
27
5
  nav:
@@ -68,28 +46,74 @@ es:
68
46
  items:
69
47
  show: "Mostrar"
70
48
  items: "ítems por página"
71
- tr:
49
+ id:
72
50
  pagy:
73
51
  nav:
74
- prev: "&lsaquo;&nbsp;Önceki"
75
- next: "Sonraki&nbsp;&rsaquo;"
52
+ prev: "&lsaquo;&nbsp;Balik"
53
+ next: "Lanjut&nbsp;&rsaquo;"
76
54
  gap: "&hellip;"
55
+ current: "Anda di halaman"
77
56
  info:
78
57
  single_page:
79
- zero: "Hiç %{item_name} bulunamadı."
80
- one: "<b>1</b> %{item_name} gösteriliyor."
81
- other: "Toplam <b>%{count}</b> %{item_name} gösteriliyor."
82
- multiple_pages: "<b>%{count}</b> %{item_name} içerisinden <b>%{from}-%{to}</b> kadarı gösteriliyor."
58
+ zero: "Tidak ditemukan %{item_name}"
59
+ one: "Menampilkan <b>1</b> %{item_name}"
60
+ other: "Menampilkan <b>semua %{count}</b> %{item_name}"
61
+ multiple_pages: "Menampilkan %{item_name} <b>%{from}-%{to}</b> dari total <b>%{count}</b>"
83
62
  item_name:
84
- zero: "kayıt"
85
- one: "kayıt"
86
- other: "kayıt"
63
+ zero: "item"
64
+ one: "item"
65
+ other: "item"
87
66
  compact:
88
- page: "Sayfa"
67
+ page: "Halaman"
68
+ of: "dari"
69
+ items:
70
+ show: "Tampilkan"
71
+ items: "item per halaman"
72
+ ja:
73
+ pagy:
74
+ nav:
75
+ prev: "&lsaquo;&nbsp;前へ"
76
+ next: "次へ&nbsp;&rsaquo;"
77
+ gap: "&hellip;"
78
+ info:
79
+ single_page:
80
+ zero: "見つかりませんでした"
81
+ one: "<b>1</b> 件の%{item_name}"
82
+ other: "<b>%{count}</b> 件の%{item_name}"
83
+ multiple_pages: "<b>%{count}</b> 件中 <b>%{from}-%{to}</b> 件目の%{item_name}を表示中"
84
+ item_name:
85
+ zero: "結果"
86
+ one: "結果"
87
+ other: "結果"
88
+ compact:
89
+ page: "ページ"
89
90
  of: "/"
90
91
  items:
91
- show: "Göster"
92
- items: "sayfa başı"
92
+ show: ""
93
+ items: "件ずつ表示"
94
+ pt-br:
95
+ pagy:
96
+ nav:
97
+ prev: "&lsaquo;&nbsp;Anterior"
98
+ next: "Próximo&nbsp;&rsaquo;"
99
+ gap: "&hellip;"
100
+ current: "Está na página"
101
+ info:
102
+ single_page:
103
+ zero: "Sem resultados"
104
+ one: "Mostrando 1 %{item_name}"
105
+ other: "Mostrando %{count} %{item_name}"
106
+ multiple_pages: "Mostrando %{item_name} %{from}-%{to} no total de %{count}"
107
+ item_name:
108
+ zero: "itens"
109
+ one: "item"
110
+ other: "itens"
111
+ compact:
112
+ page: "Página"
113
+ of: "de"
114
+ items:
115
+ show: "Mostrar"
116
+ items: "itens por página"
93
117
  ru:
94
118
  pagy:
95
119
  nav:
@@ -116,5 +140,49 @@ ru:
116
140
  items:
117
141
  show: "Показать"
118
142
  items: "записей на странице"
143
+ tr:
144
+ pagy:
145
+ nav:
146
+ prev: "&lsaquo;&nbsp;Önceki"
147
+ next: "Sonraki&nbsp;&rsaquo;"
148
+ gap: "&hellip;"
149
+ info:
150
+ single_page:
151
+ zero: "Hiç %{item_name} bulunamadı."
152
+ one: "<b>1</b> %{item_name} gösteriliyor."
153
+ other: "Toplam <b>%{count}</b> %{item_name} gösteriliyor."
154
+ multiple_pages: "<b>%{count}</b> %{item_name} içerisinden <b>%{from}-%{to}</b> kadarı gösteriliyor."
155
+ item_name:
156
+ zero: "kayıt"
157
+ one: "kayıt"
158
+ other: "kayıt"
159
+ compact:
160
+ page: "Sayfa"
161
+ of: "/"
162
+ items:
163
+ show: "Göster"
164
+ items: "sayfa başı"
165
+ zh-cn:
166
+ pagy:
167
+ nav:
168
+ prev: "&lsaquo;&nbsp;上一页"
169
+ next: "下一页&nbsp;&rsaquo;"
170
+ gap: "&hellip;"
171
+ info:
172
+ single_page:
173
+ zero: " %{item_name}未找到"
174
+ one: "显示 <b>1</b> 条%{item_name}"
175
+ other: "显示<b>所有 %{count}</b> 条%{item_name}"
176
+ multiple_pages: "共 <b>%{count}</b> 条%{item_name},显示 <b>%{from}-%{to}</b>"
177
+ item_name:
178
+ zero: "项目"
179
+ one: ""
180
+ other: ""
181
+ compact:
182
+ page: "页面"
183
+ of: "/"
184
+ items:
185
+ show: "每页显示"
186
+ items: "条"
119
187
 
120
188
  # PR for other languages are very welcome. Thanks!
data/lib/pagy.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'pathname'
5
5
 
6
- class Pagy ; VERSION = '0.19.3'
6
+ class Pagy ; VERSION = '0.19.4'
7
7
 
8
8
  class OutOfRangeError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end
9
9
 
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: 0.19.3
4
+ version: 0.19.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domizio Demichelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-23 00:00:00.000000000 Z
11
+ date: 2018-09-29 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,