active_list 6.2.1 → 6.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63c30efd24bc0da00cb562eae544b9c789675e36
4
- data.tar.gz: bd68dc84832acfd12a000b985a869e719844623f
3
+ metadata.gz: c66edeb808fb9ccb40e605955beffd4b4c57168b
4
+ data.tar.gz: e7965bbdcb4bd1041c6b57503a6c7d92a6b783b0
5
5
  SHA512:
6
- metadata.gz: a8798375c0ef7aa377d987e4e594b4efe1de1cd5e230fbb194f5a2c34c3cce1ac2baf8809810baca6023f2dced4da150b09501689b0249018f8ad0ce3027696a
7
- data.tar.gz: e63de4626bc4ec92a8965142a8c139d16d6cf301500e9b2f9ed16fe8b00f6841f4ea438553c1f947f04371e3d29d1fba73f1c7946047fd395159003864cab96f
6
+ metadata.gz: d3c2a374a5e4476db3e0cf7f347350e3af763031f9ee342a0a9ad6c408ae8a0693f47f9c0d621fd44711e09a5cac7fcb8db3937b120dd65c500d1b63531aaa46
7
+ data.tar.gz: e178d64b3bec2c89138f72640c73c4dc807a9b98ddf58c8b9df82a28b6f736311c065bee5be130e6291e478b82094bddf0f7780248d41653d741196d73a05857
@@ -0,0 +1,27 @@
1
+ en: &en
2
+ list:
3
+ columns: "Columns"
4
+ export:
5
+ false_value: "FALSE"
6
+ formats:
7
+ csv: "CSV"
8
+ ods: "Spreadsheet ODF"
9
+ xcsv: "Excel CSV"
10
+ title: "Export"
11
+ true_value: "TRUE"
12
+ export_as: "Export as %{exported}..."
13
+ items_per_page: "Items per page"
14
+ menu: "Menu"
15
+ no_records: "No records"
16
+ pagination:
17
+ first: "First page"
18
+ last: "Last page"
19
+ next: "Next page"
20
+ previous: "Previous page"
21
+ showing_x_to_y_of_total: "Showing %{x} to %{y} of %{total}"
22
+ x_to_y_of_total: "%{x}-%{y} of %{total}"
23
+ x_per_page:
24
+ one: "%{count} per page"
25
+ other: "%{count} per page"
26
+ eng: *en
27
+
@@ -0,0 +1,26 @@
1
+ fr: &fr
2
+ list:
3
+ columns: "Colonnes"
4
+ export:
5
+ false_value: "FAUX"
6
+ formats:
7
+ csv: "CSV"
8
+ ods: "Classeur ODF"
9
+ xcsv: "CSV Excel"
10
+ title: "Exporter"
11
+ true_value: "VRAI"
12
+ export_as: "Exporter en %{exported}"
13
+ items_per_page: "Éléments par page"
14
+ menu: "Menu"
15
+ no_records: "Aucun enregistrement"
16
+ pagination:
17
+ first: "Début"
18
+ last: "Fin"
19
+ next: "Suivant"
20
+ previous: "Précédent"
21
+ showing_x_to_y_of_total: "Enregistrements %{x} à %{y} sur %{total}"
22
+ x_to_y_of_total: "%{x}-%{y} sur %{total}"
23
+ x_per_page:
24
+ one: "%{count} par page"
25
+ other: "%{count} par page"
26
+ fra: *fr
@@ -5,8 +5,10 @@ module ActiveList
5
5
  initializer "active_list.integrate_methods" do |app|
6
6
  ::ActionController::Base.send(:include, ActiveList::Rails::Integration::ActionController)
7
7
  ::ActionView::Base.send(:include, ActiveList::Rails::Integration::ViewsHelper)
8
- files = Dir[File.join(File.dirname(__FILE__), "..", "..", "..", "config", "locales", "*.yml")]
9
- ::I18n.load_path.concat(files)
8
+ # Adds locales
9
+ for file in Dir.glob(Pathname.new(__FILE__).dirname.join("..", "locales", "*.yml"))
10
+ ::I18n.load_path << file unless ::I18n.load_path.include?(file)
11
+ end
10
12
  end
11
13
  end
12
14
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveList
2
2
 
3
- VERSION = "6.2.1"
3
+ VERSION = "6.2.3"
4
4
 
5
5
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- active_list (6.2.0)
4
+ active_list (6.2.3)
5
5
  code_string (>= 0.0.0)
6
6
  i18n-complements
7
7
  rails (>= 3.2, < 5)
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.1
4
+ version: 6.2.3
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-16 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,6 +122,8 @@ 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/en.yml
126
+ - lib/active_list/locales/fr.yml
125
127
  - lib/active_list/rails.rb
126
128
  - lib/active_list/rails/engine.rb
127
129
  - lib/active_list/rails/integration.rb