snaptable 0.8.4 → 0.8.5

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: 049fc1b3579cbc996fa74dcc6a63a3e54fa72f99
4
- data.tar.gz: 9ed94b1927fcf00206d8dda1b0dc403457ccf4ca
3
+ metadata.gz: 771f7b73d9fdefb0822b71a9c248e0abd84f3f32
4
+ data.tar.gz: 6ecd6cf32d0c2f5d0f17bea7b0a43db31f63d7de
5
5
  SHA512:
6
- metadata.gz: f5a9c24924a754c94f30eb629598ffb152d6537d8b899fb2a6431deb475687a6b4f4a0323c87214c548fa7082fe0fc42c9283eb1f5f967065a35e45d29cf46bf
7
- data.tar.gz: 595ceefccf1999e9a0c4375551f157e624d3294820ef733596a94ec97feaa953d552f307f71035d15422a0bcfd9cfbf12571920084f8f524de00f67c7f76ed84
6
+ metadata.gz: ee2912b1c6aa684255d249f7fa479beaa41d280b7f3b14b419f20dbe6c2eef343507733add2eeb4d0cc1ade852e65ea6498c8ac80b64f4c7ad397129a279693d
7
+ data.tar.gz: 803874912e43a992fe0330a14e4252e9165d31e198a7aa4359a9704cd9b7ac1d97a14d2c1a39a6db5fb80b3a218344490de77261857ae507e11773eb8df645e6
@@ -1,5 +1,5 @@
1
1
  <div class="table_buttons">
2
- <p>Actions</p>
2
+ <p><%= t("table.buttons.title") %></p>
3
3
  <p>
4
4
  <% if add_button? %>
5
5
  <%= link_to t("table.buttons.add"), request.path + "/new", class: "add" %>
@@ -1,7 +1,7 @@
1
1
  <div class="search">
2
- <p>Rechercher</p>
2
+ <p><%= t("table.search.title") %></p>
3
3
  <%= form_tag nil, method: :get, remote: true do %>
4
4
  <%= search_field_tag :query, params[:query] %>
5
- <%= submit_tag "Chercher" %>
5
+ <%= submit_tag t("table.search.submit") %>
6
6
  <% end %>
7
7
  </div>
@@ -26,7 +26,7 @@
26
26
  </tr>
27
27
  <% end %>
28
28
  <% else %>
29
- <tr><td class="none" colspan="<%= presenter.column_names.count %>">Il n'y a aucun élément à afficher.</td></tr>
29
+ <tr><td class="none" colspan="<%= presenter.column_names.count %>"><%= t("table.nothing") %></td></tr>
30
30
  <% end %>
31
31
  </tbody>
32
32
  </table>
@@ -6,7 +6,12 @@ en:
6
6
  formats:
7
7
  snaptable: "%m.%d.%y"
8
8
  table:
9
+ nothing: "Nothing to display"
10
+ search:
11
+ title: "Seach"
12
+ submit: "Search"
9
13
  buttons:
14
+ title: "Actions"
10
15
  add: "Add"
11
16
  edit: "Edit"
12
17
  show: "Show"
@@ -6,7 +6,12 @@ fr:
6
6
  formats:
7
7
  snaptable: "%d.%m.%y"
8
8
  table:
9
+ nothing: "Il n'y a aucun élément à afficher"
10
+ search:
11
+ title: "Rechercher"
12
+ submit: "Chercher"
9
13
  buttons:
14
+ title: "Actions"
10
15
  add: "Ajouter"
11
16
  edit: "Editer"
12
17
  show: "Voir"
@@ -1,3 +1,3 @@
1
1
  module Snaptable
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - khcr