active_list 6.2.3 → 6.2.4
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/active_list/exporters/open_document_spreadsheet_exporter.rb +1 -1
- data/lib/active_list/locales/ar.yml +27 -0
- data/lib/active_list/locales/es.yml +28 -0
- data/lib/active_list/locales/jp.yml +26 -0
- data/lib/active_list/version.rb +1 -1
- data/test/dummy/Gemfile.lock +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46aaf749f1a4eac292f1000074da368dfcf0e084
|
4
|
+
data.tar.gz: eaaf0080a3ba343d77c24550809c5badd776c201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a2ccd1f8703c37747688ba59a1e860873475d16fa4270ecbda388dce120dbb342b598b987320496b4fc2c087a6b97e88081f87b13ca7b39386355243033b849
|
7
|
+
data.tar.gz: ca99668a07c3981e546faf32386e48d99c267a4ee53922721e32120bab4271df45e93a369b08b0c220937cdd5d5649c5c8307bdd73d2b393a318ac9595196bce
|
@@ -70,7 +70,7 @@ module ActiveList
|
|
70
70
|
code << " zile << ('</table:table></office:spreadsheet></office:body></office:document-content>')\n"
|
71
71
|
code << "end\n"
|
72
72
|
code << "send_file(file, stream: false, type: #{self.mime_type.to_s.inspect}, disposition: 'inline', filename: name+'.#{self.file_extension}')\n"
|
73
|
-
code << "File.delete(file)\n" # Removes tmp files before they explode the disk
|
73
|
+
# code << "File.delete(file)\n" # Removes tmp files before they explode the disk
|
74
74
|
# raise code
|
75
75
|
return code
|
76
76
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
ar: &ar
|
2
|
+
list:
|
3
|
+
# columns: "Columns"
|
4
|
+
export:
|
5
|
+
false_value: "زائف"
|
6
|
+
formats:
|
7
|
+
csv: "CSV"
|
8
|
+
# ods: "Spreadsheet ODF"
|
9
|
+
xcsv: "Excel CSV"
|
10
|
+
title: "تصدير"
|
11
|
+
true_value: "صحيح"
|
12
|
+
# export_as: "Export as %{exported}..."
|
13
|
+
# items_per_page: "Items per page"
|
14
|
+
# menu: "Menu"
|
15
|
+
next: "التالي" #?
|
16
|
+
no_records: "ولا اية سجل"
|
17
|
+
pagination:
|
18
|
+
# first: "First page"
|
19
|
+
# last: "Last page"
|
20
|
+
# next: "Next page"
|
21
|
+
# previous: "Previous page"
|
22
|
+
# showing_x_to_y_of_total: "Showing %{x} to %{y} of %{total}"
|
23
|
+
previous: "السابق" #?
|
24
|
+
x_per_page:
|
25
|
+
# one: "%{count} per page"
|
26
|
+
# other: "%{count} per page"
|
27
|
+
arb: *ar
|
@@ -0,0 +1,28 @@
|
|
1
|
+
es: &es
|
2
|
+
list:
|
3
|
+
columns: "Columnas"
|
4
|
+
export:
|
5
|
+
false_value: "FALSO"
|
6
|
+
formats:
|
7
|
+
csv: "CSV"
|
8
|
+
ods: "OpenDocument Spreadsheet"
|
9
|
+
xcsv: "CSV para Excel"
|
10
|
+
title: "Exportación"
|
11
|
+
true_value: "VERDAD"
|
12
|
+
export_as: "Exportar a %{exported}..."
|
13
|
+
# items_per_page: "Items per page"
|
14
|
+
menu: "Menú"
|
15
|
+
next: "Siguiente" #?
|
16
|
+
no_records: "Vacío"
|
17
|
+
pagination:
|
18
|
+
# first: "First page"
|
19
|
+
# last: "Last page"
|
20
|
+
# next: "Next page"
|
21
|
+
# previous: "Previous page"
|
22
|
+
showing_x_to_y_of_total: "%{x}-%{y} de %{total}"
|
23
|
+
previous: "Anterior" #?
|
24
|
+
x_per_page:
|
25
|
+
one: "%{count} por página"
|
26
|
+
other: "%{count} por página"
|
27
|
+
|
28
|
+
spa: *es
|
@@ -0,0 +1,26 @@
|
|
1
|
+
jp: &jp
|
2
|
+
list:
|
3
|
+
columns: "列"
|
4
|
+
export:
|
5
|
+
false_value: "偽"
|
6
|
+
formats:
|
7
|
+
csv: "CSV"
|
8
|
+
# ods: "Spreadsheet ODF"
|
9
|
+
xcsv: "ExcelのCSV"
|
10
|
+
# title: "Export"
|
11
|
+
true_value: "真"
|
12
|
+
# export_as: "Export as %{exported}..."
|
13
|
+
# items_per_page: "Items per page"
|
14
|
+
menu: "メニュー"
|
15
|
+
no_records: "空"
|
16
|
+
pagination:
|
17
|
+
# first: "First page"
|
18
|
+
# last: "Last page"
|
19
|
+
next: "次へ"
|
20
|
+
previous: "前へ"
|
21
|
+
showing_x_to_y_of_total: "%{x}-%{y} / %{total}"
|
22
|
+
x_per_page:
|
23
|
+
one: "ページあたり%{count}行"
|
24
|
+
other: "ページあたり%{count}行"
|
25
|
+
|
26
|
+
jpn: *jp
|
data/lib/active_list/version.rb
CHANGED
data/test/dummy/Gemfile.lock
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brice Texier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -122,8 +122,11 @@ files:
|
|
122
122
|
- lib/active_list/generator.rb
|
123
123
|
- lib/active_list/generator/finder.rb
|
124
124
|
- lib/active_list/helpers.rb
|
125
|
+
- lib/active_list/locales/ar.yml
|
125
126
|
- lib/active_list/locales/en.yml
|
127
|
+
- lib/active_list/locales/es.yml
|
126
128
|
- lib/active_list/locales/fr.yml
|
129
|
+
- lib/active_list/locales/jp.yml
|
127
130
|
- lib/active_list/rails.rb
|
128
131
|
- lib/active_list/rails/engine.rb
|
129
132
|
- lib/active_list/rails/integration.rb
|