wice_grid_ms 3.6.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.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.inch.yml +3 -0
  4. data/.rspec +3 -0
  5. data/.rubocop.yml +181 -0
  6. data/.travis.yml +22 -0
  7. data/CHANGELOG.md +714 -0
  8. data/Gemfile +4 -0
  9. data/MIT-LICENSE +20 -0
  10. data/README.md +1518 -0
  11. data/Rakefile +59 -0
  12. data/SAVED_QUERIES_HOWTO.md +113 -0
  13. data/TODO.md +16 -0
  14. data/app/views/kaminari/wice_grid/_gap.html.erb +1 -0
  15. data/app/views/kaminari/wice_grid/_next_page.html.erb +1 -0
  16. data/app/views/kaminari/wice_grid/_page.html.erb +1 -0
  17. data/app/views/kaminari/wice_grid/_paginator.html.erb +19 -0
  18. data/app/views/kaminari/wice_grid/_prev_page.html.erb +1 -0
  19. data/config/locales/cz.yml +45 -0
  20. data/config/locales/de.yml +47 -0
  21. data/config/locales/en.yml +47 -0
  22. data/config/locales/es.yml +47 -0
  23. data/config/locales/fr.yml +45 -0
  24. data/config/locales/is.yml +46 -0
  25. data/config/locales/it.yml +38 -0
  26. data/config/locales/ja.yml +47 -0
  27. data/config/locales/nl.yml +45 -0
  28. data/config/locales/pt-BR.yml +36 -0
  29. data/config/locales/pt.yml +45 -0
  30. data/config/locales/ru.yml +45 -0
  31. data/config/locales/sk.yml +45 -0
  32. data/config/locales/uk.yml +45 -0
  33. data/config/locales/zh.yml +45 -0
  34. data/lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb +20 -0
  35. data/lib/generators/wice_grid/install_generator.rb +14 -0
  36. data/lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb +14 -0
  37. data/lib/generators/wice_grid/templates/wice_grid_config.rb +192 -0
  38. data/lib/wice/active_record_column_wrapper.rb +123 -0
  39. data/lib/wice/columns.rb +276 -0
  40. data/lib/wice/columns/column_action.rb +52 -0
  41. data/lib/wice/columns/column_boolean.rb +40 -0
  42. data/lib/wice/columns/column_bootstrap_datepicker.rb +48 -0
  43. data/lib/wice/columns/column_custom_dropdown.rb +115 -0
  44. data/lib/wice/columns/column_float.rb +9 -0
  45. data/lib/wice/columns/column_html5_datepicker.rb +31 -0
  46. data/lib/wice/columns/column_integer.rb +78 -0
  47. data/lib/wice/columns/column_jquery_datepicker.rb +49 -0
  48. data/lib/wice/columns/column_processor_index.rb +23 -0
  49. data/lib/wice/columns/column_rails_date_helper.rb +41 -0
  50. data/lib/wice/columns/column_rails_datetime_helper.rb +40 -0
  51. data/lib/wice/columns/column_range.rb +72 -0
  52. data/lib/wice/columns/column_string.rb +92 -0
  53. data/lib/wice/columns/common_date_datetime_mixin.rb +20 -0
  54. data/lib/wice/columns/common_js_date_datetime_conditions_generator_mixin.rb +42 -0
  55. data/lib/wice/columns/common_js_date_datetime_mixin.rb +15 -0
  56. data/lib/wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb +26 -0
  57. data/lib/wice/columns/common_standard_helper_date_datetime_mixin.rb +22 -0
  58. data/lib/wice/grid_output_buffer.rb +49 -0
  59. data/lib/wice/grid_renderer.rb +609 -0
  60. data/lib/wice/helpers/bs_calendar_helpers.rb +66 -0
  61. data/lib/wice/helpers/js_calendar_helpers.rb +83 -0
  62. data/lib/wice/helpers/wice_grid_misc_view_helpers.rb +75 -0
  63. data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +95 -0
  64. data/lib/wice/helpers/wice_grid_view_helpers.rb +718 -0
  65. data/lib/wice/kaminari_monkey_patching.rb +14 -0
  66. data/lib/wice/table_column_matrix.rb +65 -0
  67. data/lib/wice/wice_grid_controller.rb +223 -0
  68. data/lib/wice/wice_grid_core_ext.rb +142 -0
  69. data/lib/wice/wice_grid_misc.rb +209 -0
  70. data/lib/wice/wice_grid_serialized_queries_controller.rb +87 -0
  71. data/lib/wice/wice_grid_serialized_query.rb +14 -0
  72. data/lib/wice/wice_grid_spreadsheet.rb +20 -0
  73. data/lib/wice_grid.rb +676 -0
  74. data/release_notes/RELEASE_NOTES_3.2.pre1.rdoc +81 -0
  75. data/release_notes/RELEASE_NOTES_3.2.pre2.rdoc +6 -0
  76. data/release_notes/RELEASE_NOTES_3.3.0.rdoc +21 -0
  77. data/spec/schema.rb +9 -0
  78. data/spec/spec_helper.rb +75 -0
  79. data/spec/support/active_record.rb +11 -0
  80. data/spec/support/wice_grid_test_config.rb +175 -0
  81. data/spec/wice/grid_output_buffer_spec.rb +41 -0
  82. data/spec/wice/table_column_matrix_spec.rb +38 -0
  83. data/spec/wice/wice_grid_misc_spec.rb +159 -0
  84. data/spec/wice/wice_grid_spreadsheet_spec.rb +14 -0
  85. data/test/readme.txt +1 -0
  86. data/vendor/assets/javascripts/wice_grid.js +3 -0
  87. data/vendor/assets/javascripts/wice_grid_init.js.coffee +339 -0
  88. data/vendor/assets/javascripts/wice_grid_processor.js.coffee +133 -0
  89. data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +103 -0
  90. data/vendor/assets/stylesheets/wice_grid.scss +81 -0
  91. data/wice_grid.gemspec +36 -0
  92. metadata +335 -0
data/Rakefile ADDED
@@ -0,0 +1,59 @@
1
+ # encoding: utf-8
2
+ require 'rubygems'
3
+ require 'bundler'
4
+ require 'bundler/gem_tasks'
5
+
6
+ begin
7
+ Bundler.setup(:default, :development)
8
+ rescue Bundler::BundlerError => e
9
+ $stderr.puts e.message
10
+ $stderr.puts 'Run `bundle install` to install missing gems'
11
+ exit e.status_code
12
+ end
13
+
14
+ require 'rake'
15
+ require 'rspec/core'
16
+ require 'rspec/core/rake_task'
17
+
18
+ RSpec::Core::RakeTask.new(:spec)
19
+
20
+ require 'rubocop/rake_task'
21
+
22
+ desc 'Run RuboCop on the lib directory'
23
+ RuboCop::RakeTask.new(:rubocop) do |task|
24
+ task.patterns = ['lib/**/*.rb']
25
+ # don't abort rake on failure
26
+ task.fail_on_error = false
27
+ end
28
+
29
+ desc 'Run RSpec with code coverage'
30
+ task :coverage do
31
+ ENV['COVERAGE'] = 'true'
32
+ Rake::Task['spec'].execute
33
+ end
34
+
35
+ # Experimenting with documentation system we will keep both Yardoc and Rdoc for some time, plus Inch
36
+
37
+ require 'yard'
38
+ require 'yard/rake/yardoc_task'
39
+ desc 'Generate YARDOC documentation for the plugin'
40
+ YARD::Rake::YardocTask.new(:yardoc) do |t|
41
+ OTHER_PATHS = %w()
42
+ t.files = ['lib/**/*.rb', OTHER_PATHS]
43
+ t.options = %w(--main=README.md --file TODO.md,CHANGELOG.md,SAVED_QUERIES_HOWTO.md,MIT-LICENSE)
44
+ t.stats_options = ['--list-undoc']
45
+ end
46
+
47
+ gem 'rdoc'
48
+ require 'rdoc/task'
49
+ Rake::RDocTask.new(:rdoc) do |rdoc|
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = 'WiceGrid'
52
+ rdoc.options << '--line-numbers' << '--inline-source'
53
+ rdoc.rdoc_files.include('README.md')
54
+ rdoc.rdoc_files.include('SAVED_QUERIES_HOWTO.md')
55
+ rdoc.rdoc_files.include('CHANGELOG.md')
56
+ rdoc.rdoc_files.include('lib/**/*.rb')
57
+ end
58
+
59
+ task default: [:rubocop, :spec, :yardoc]
@@ -0,0 +1,113 @@
1
+ ## Saving Queries How-To
2
+
3
+ WiceGrid allows to save the state of filters as a custom query and later restore it from the list of saved queries.
4
+
5
+ ### Step 1: Create the database table to store queries
6
+
7
+ To get started create the database table to store queries. Run the following generator:
8
+ ```
9
+ rails g wice_grid:add_migration_for_serialized_queries
10
+ ```
11
+ This add a migration file with the definition of the table. Run the migrate task:
12
+ ```
13
+ bundle 'rake db:migrate'
14
+ ```
15
+ ### Step 2: Create the controller to handle AJAX queries.
16
+
17
+ Creation and deletion of queries is implemented as AJAX calls, and a controller is needed to handle these calls. Create an empty controller
18
+ with any name and add method +save_wice_grid_queries+ to it:
19
+ ```
20
+ class QueriesController < ApplicationController
21
+ save_wice_grid_queries
22
+ end
23
+ ```
24
+ This is it. The controller now has the required action methods.
25
+
26
+ ### Step 3: Add routes
27
+
28
+ If the name of the query controller is QueriesController, add the following to `routes.rb`:
29
+ ```
30
+ Wice::define_routes(self, 'queries')
31
+ ```
32
+ ### Step 4: Add the saved query panel to the view.
33
+
34
+ To show the list of saved queries and the form to create new queries in a view, add the following helper to the view:
35
+ ```
36
+ <%= saved_queries_panel(@grid_object) %>
37
+ ```
38
+ Voila!
39
+
40
+ Just like WiceGrid itself, the query panel contains no forms and is thus form-friendly.
41
+
42
+ *Important*: Saved queries of all grids in the application are stored in one table and differentiated by the name of the grid, thus, for all forms
43
+ with saved queries it is important to define different names! (use parameter `:name` in +initialize_grid+)
44
+
45
+ It is also possible to initialize a grid with an initial saved query providing the id of the query record or the ActiveRecord
46
+ itself to parameter `saved_query`:
47
+ ```
48
+ @products_grid = initialize_grid(Product,
49
+ name: 'prod_grid',
50
+ saved_query: SavedQuery.find_by_id_and_grid_name(12, 'prod_grid') )
51
+ ```
52
+
53
+ ## Adding Application Specific Logic to Saving/Restoring Queries
54
+
55
+ WiceGrid allows to add application specific logic to saving and restoring queries by substituting the default ActiveRecord model provided by WiceGrid with a custom model.
56
+
57
+ Copy `lib/wice_grid_serialized_query.rb` from the gem to `app/models/`, rename the file and the class to your liking.
58
+
59
+ After renaming the model to SavedQuery it looks like this:
60
+ ```
61
+ class SavedQuery < ActiveRecord::Base #:nodoc:
62
+ serialize :query
63
+
64
+ validates_uniqueness_of :name, scope: :grid_name, on: :create,
65
+ message: 'A query with this name already exists'
66
+
67
+ validates_presence_of :name, message: 'Please submit the name of the custom query'
68
+
69
+ def self.list(name, controller)
70
+ conditions = {grid_name: name}
71
+ self.find(:all, conditions: conditions)
72
+ end
73
+ end
74
+ ```
75
+
76
+ It is required that the model provides class method +list+ which accepts two parameters: the name of the WiceGrid instance and the controller
77
+ object, and returns a list of queries. The controller object is needed to provide the application context. For instance, if it is needed to
78
+ store queries for each user, we could add +user_id+ to the table and modify the code so it looks like the following:
79
+ ```
80
+ class SavedQuery < ActiveRecord::Base
81
+ serialize :query
82
+
83
+ validates_uniqueness_of :name, scope: :grid_name, on: :create,
84
+ message: 'A query with this name already exists'
85
+
86
+ validates_presence_of :name, message: 'Please submit the name of the custom query'
87
+
88
+ belongs_to :identity # !
89
+
90
+ def self.list(name, controller)
91
+ conditions = {grid_name: name}
92
+ if controller.current_user # !
93
+ conditions[:user_id] = controller.current_user.id # provided that method current_user is defined in ApplicationController and returns the currrent user.
94
+ end
95
+ self.find(:all, conditions: conditions)
96
+ end
97
+ end
98
+ ```
99
+
100
+ The following step is to make sure that a new query is saved with the correct +user_id+. To do so, change the helper
101
+ `saved_queries_panel(@grid_object)` to the following:
102
+
103
+ ```
104
+ <%= saved_queries_panel(@identities_grid, extra_parameters: {user_id: @current_user.id}) %>
105
+ ```
106
+ For every key in has :extra_parameters there must exist a field in the model - this hash will be used as a parameter to
107
+ `attributes=` method of the query object.
108
+
109
+ Finally, let WiceGrid know which model to use for saving queries by changing constant +QUERY_STORE_MODEL+
110
+ in `lib/wice_grid_config.rb` to the name of the custom model (as a string), in the above example this would look like the following:
111
+ ```
112
+ QUERY_STORE_MODEL = 'SavedQuery'
113
+ ```
data/TODO.md ADDED
@@ -0,0 +1,16 @@
1
+ * [done] Replace all icons by Font Awesome, remove the icons
2
+ * [done] Joined tables: Instead of
3
+ model: 'ModelClassName'
4
+ use
5
+ assoc: :comments
6
+ * [done] Use ActiveRelation merge instead of manually merging hashes and arrays
7
+ * [done] Switching between datepickers should be done via :filter_type, not via :helper_style.
8
+ Get rid of :helper_style and Wice::Defaults::HELPER_STYLE
9
+ * [done] Fix datepickers when used with Datetime columns
10
+
11
+ * Implement paging in the app, get rid of Kaminari
12
+ * better tests (https://github.com/leikind/wice_grid_testbed)
13
+ * review css class names in the generated markup
14
+ * More unified and flexible approach to datepickers
15
+ * try to guess :table_alias
16
+ * throw away saved queries?
@@ -0,0 +1 @@
1
+ <li class="disabled"><a href="#">...</a></li>
@@ -0,0 +1 @@
1
+ <li><%= link_to_unless current_page.last?, ::Wice::NlMessage['next_label'], url, rel: 'next', remote: remote %></li>
@@ -0,0 +1 @@
1
+ <li <%if page.current?%>class="active"<%end%>><%= link_to page, url, {remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil} %></li>
@@ -0,0 +1,19 @@
1
+ <%= paginator.render do %>
2
+ <div class="pagination">
3
+ <ul class="pagination">
4
+ <% unless current_page.first? %>
5
+ <%= prev_page_tag %>
6
+ <% end %>
7
+ <% each_page do |page| %>
8
+ <% if page.left_outer? || page.right_outer? || page.inside_window? %>
9
+ <%= page_tag page %>
10
+ <% elsif !page.was_truncated? %>
11
+ <%= gap_tag %>
12
+ <% end %>
13
+ <% end %>
14
+ <% unless current_page.last? %>
15
+ <%= next_page_tag %>
16
+ <% end %>
17
+ </ul>
18
+ </div>
19
+ <% end %>
@@ -0,0 +1 @@
1
+ <li><%= link_to_unless current_page.first?, ::Wice::NlMessage['previous_label'], url, rel: 'prev', remote: remote %></li>
@@ -0,0 +1,45 @@
1
+ cz:
2
+ date:
3
+ order:
4
+ - :year
5
+ - :month
6
+ - :day
7
+ wice_grid:
8
+ show_filter_tooltip: Zobrazit filtr
9
+ hide_filter_tooltip: Skrýt filtr
10
+ csv_export_tooltip: Exportovat do CSV
11
+ filter_tooltip: Filtr
12
+ reset_filter_tooltip: Zrušit filtr
13
+ boolean_filter_true_label: "áno"
14
+ boolean_filter_false_label: "ne"
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: Dátum od
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: Dátum do
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Inverzní výběr
23
+ # link to switch to show all records
24
+ show_all_records_label: Zobrazit všechno
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Zobrazí všechny záznamy v databáze
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: Určitě chceš zobrazit všechny záznamy v databáze?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: zpět na stránkové zobrazení
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Přepnout do stránkového zobrazení
33
+ # Title of the date string.
34
+ date_string_tooltip: Kliknutím zmažeš
35
+ saved_query_panel_title: Uložené filtry
36
+ save_query_button_label: Uložit aktuálni stav filtrů
37
+ saved_query_deletion_confirmation: Seš si jistej?
38
+ saved_query_deletion_link_title: Smazat uloženej filtr
39
+ saved_query_link_title: Použít uloženej filtr
40
+ validates_uniqueness_error: Filtr už existuje.
41
+ validates_presence_error: Prosím zadej název filtru.
42
+ query_deleted_message: Uložený filtr byl smazán.
43
+ query_saved_message: Filtr byl uložen.
44
+ select_all: Vyber všechno
45
+ deselect_all: Zrušit výběr
@@ -0,0 +1,47 @@
1
+ de:
2
+ date:
3
+ order:
4
+ - :year
5
+ - :month
6
+ - :day
7
+ wice_grid:
8
+ show_filter_tooltip: Filter einblenden
9
+ hide_filter_tooltip: Filter ausblenden
10
+ csv_export_tooltip: CSV Export
11
+ filter_tooltip: Filter
12
+ reset_filter_tooltip: Reset
13
+ boolean_filter_true_label: "Ja"
14
+ boolean_filter_false_label: "Nein"
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: Von
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: Bis
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Ausschließen
23
+ # link to switch to show all records
24
+ show_all_records_label: Alle anzeigen
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Alle anzeigen
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: Wollen Sie wirkliche alle Einträge anzeigen?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: Zurück zur seitenbasierten Ansicht
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Zurück zur seitenbasierten Ansicht
33
+ # Title of the date string.
34
+ date_string_tooltip: Löschen
35
+ saved_query_panel_title: Gespeicherte Abfragen
36
+ save_query_button_label: Filter speichern
37
+ saved_query_deletion_confirmation: Sind Sie sicher?
38
+ saved_query_deletion_link_title: Abfrage löschen
39
+ saved_query_link_title: Abfrage laden
40
+ validates_uniqueness_error: Eine Abfrage mit dieser Bezeichnung existiert bereits!
41
+ validates_presence_error: Bitte vergeben Sie einen Namen!
42
+ query_deleted_message: Abfrage gelöscht.
43
+ query_saved_message: Abfrage gespeichert.
44
+ select_all: Alle auswählen
45
+ deselect_all: Auswahl aufheben
46
+ expand: Ausklappen
47
+ collapse: Einklappen
@@ -0,0 +1,47 @@
1
+ en:
2
+ date:
3
+ order:
4
+ - :year
5
+ - :month
6
+ - :day
7
+ wice_grid:
8
+ show_filter_tooltip: Show filter
9
+ hide_filter_tooltip: Hide filter
10
+ csv_export_tooltip: Export to CSV
11
+ filter_tooltip: Filter
12
+ reset_filter_tooltip: Reset
13
+ boolean_filter_true_label: "yes"
14
+ boolean_filter_false_label: "no"
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: From
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: To
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Exclude
23
+ # link to switch to show all records
24
+ show_all_records_label: show all
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Show all records
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: Are you sure you want to display all records?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: back to paginated view
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Switch back to the view with pages
33
+ # Title of the date string.
34
+ date_string_tooltip: Click to delete
35
+ saved_query_panel_title: Saved Queries
36
+ save_query_button_label: Save the state of filters
37
+ saved_query_deletion_confirmation: Are you sure?
38
+ saved_query_deletion_link_title: Delete query
39
+ saved_query_link_title: Load query
40
+ validates_uniqueness_error: A query with this name already exists
41
+ validates_presence_error: Please submit the name of the custom query
42
+ query_deleted_message: Saved query deleted.
43
+ query_saved_message: Query saved.
44
+ select_all: Select all
45
+ deselect_all: Remove selection
46
+ expand: Expand
47
+ collapse: Collapse
@@ -0,0 +1,47 @@
1
+ es:
2
+ date:
3
+ order:
4
+ - :day
5
+ - :month
6
+ - :year
7
+ wice_grid:
8
+ show_filter_tooltip: Mostrar filtro
9
+ hide_filter_tooltip: Ocultar filtro
10
+ csv_export_tooltip: Exportar a CSV
11
+ filter_tooltip: Filtro
12
+ reset_filter_tooltip: Reset
13
+ boolean_filter_true_label: "Si"
14
+ boolean_filter_false_label: "No"
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: Desde
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: Hasta
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Excluir
23
+ # link to switch to show all records
24
+ show_all_records_label: mostrar todos
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Mostrar todos los registros
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: ¿Estás seguro que quieres mostrar todos los registros?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: volver a la vista paginada
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Cambiar atrás a la vista con páginas
33
+ # Title of the date string.
34
+ date_string_tooltip: Click en borrar
35
+ saved_query_panel_title: Consultas salvadas
36
+ save_query_button_label: Salvar el estado de los filtros
37
+ saved_query_deletion_confirmation: ¿Estás seguro?
38
+ saved_query_deletion_link_title: Borrar consulta
39
+ saved_query_link_title: Cargar consulta
40
+ validates_uniqueness_error: Una consulta con este nombre ya existe
41
+ validates_presence_error: Por favor tramita el nombre la consulta modificada
42
+ query_deleted_message: Salvada la consulta borrado.
43
+ query_saved_message: Consulta salvada.
44
+ select_all: Selecciona todo
45
+ deselect_all: Borra la selección
46
+ expand: Expandir
47
+ collapse: Contraer
@@ -0,0 +1,45 @@
1
+ fr:
2
+ date:
3
+ order:
4
+ - :year
5
+ - :month
6
+ - :day
7
+ wice_grid:
8
+ show_filter_tooltip: Afficher le filtre
9
+ hide_filter_tooltip: Cacher le filtrer
10
+ csv_export_tooltip: Exporter en CSV
11
+ filter_tooltip: Filtrer
12
+ reset_filter_tooltip: Effacer
13
+ boolean_filter_true_label: oui
14
+ boolean_filter_false_label: non
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: De
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: à
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Exclure
23
+ # link to switch to show all records
24
+ show_all_records_label: Voir tous
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Voir tous les enregistrements
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: Etes-vous certain de vouloir afficher tous les enregistrements?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: Retour à la vue paginée
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Retour à la vue par pages
33
+ # Title of the date string.
34
+ date_string_tooltip: Cliquez pour effacer
35
+ saved_query_panel_title: Requêtes sauvées
36
+ save_query_button_label: Sauver l'état des filtres
37
+ saved_query_deletion_confirmation: Etes vous sûr?
38
+ saved_query_deletion_link_title: Effacer la requête
39
+ saved_query_link_title: Charger la requête
40
+ validates_uniqueness_error: Un requête existante porte déjà ce nom
41
+ validates_presence_error: Veuillez indiquer le nom de la requête que vous souhaitez sauver
42
+ query_deleted_message: La requête a été effacée.
43
+ query_saved_message: La requête a été sauvée.
44
+ select_all: Sélectionner tout
45
+ deselect_all: Désélectionner tout