snaptable 0.8.3 → 0.8.4

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: 3ca709b5f71677d3c3881ed3ae1559b173603df3
4
- data.tar.gz: 6db36a035f86c8cbbbe9ee53075db7dc85551761
3
+ metadata.gz: 049fc1b3579cbc996fa74dcc6a63a3e54fa72f99
4
+ data.tar.gz: 9ed94b1927fcf00206d8dda1b0dc403457ccf4ca
5
5
  SHA512:
6
- metadata.gz: 2661abafa7389117a17e1d778aa859f3eb4ba628d2330c364edb43e852fa5ba781de0b3dd596f3fc2ed3388af762d6bb884c5153c123aa01087d25a3f4234854
7
- data.tar.gz: 756d6669a1f19c2408f381249b10b540b328bf62e843683c0acf649a900f827990e6b0658133524be514abd23b638ca2a8f98ae76d0698600072aa736d0a83e1
6
+ metadata.gz: f5a9c24924a754c94f30eb629598ffb152d6537d8b899fb2a6431deb475687a6b4f4a0323c87214c548fa7082fe0fc42c9283eb1f5f967065a35e45d29cf46bf
7
+ data.tar.gz: 595ceefccf1999e9a0c4375551f157e624d3294820ef733596a94ec97feaa953d552f307f71035d15422a0bcfd9cfbf12571920084f8f524de00f67c7f76ed84
@@ -2,18 +2,18 @@
2
2
  <p>Actions</p>
3
3
  <p>
4
4
  <% if add_button? %>
5
- <%= link_to "Ajouter", request.path + "/new", class: "add" %>
5
+ <%= link_to t("table.buttons.add"), request.path + "/new", class: "add" %>
6
6
  <% end %>
7
7
  <% if edit_button? %>
8
- <a class="edit" href="#">Editer</a>
8
+ <a class="edit" href="#"><%= t("table.buttons.edit") %></a>
9
9
  <% end %>
10
10
  <% if show_button? %>
11
- <a class="show" href="#">Voir</a>
11
+ <a class="show" href="#"><%= t("table.buttons.show") %></a>
12
12
  <% end %>
13
13
  <% if delete_button? %>
14
14
  <a class="delete" href="#" data-method="delete"
15
15
  rel="nofollow" data-confirm="Etes-vous sûr de vouloir supprimer cette entrée ?">
16
- Supprimer
16
+ <%= t("table.buttons.delete") %>
17
17
  </a>
18
18
  <% end %>
19
19
  </p>
@@ -4,4 +4,10 @@ en:
4
4
  snaptable: "%m.%d.%y %H:%M"
5
5
  date:
6
6
  formats:
7
- snaptable: "%m.%d.%y"
7
+ snaptable: "%m.%d.%y"
8
+ table:
9
+ buttons:
10
+ add: "Add"
11
+ edit: "Edit"
12
+ show: "Show"
13
+ delete: "Delete"
@@ -4,4 +4,10 @@ fr:
4
4
  snaptable: "%d.%m.%y %H:%M"
5
5
  date:
6
6
  formats:
7
- snaptable: "%d.%m.%y"
7
+ snaptable: "%d.%m.%y"
8
+ table:
9
+ buttons:
10
+ add: "Ajouter"
11
+ edit: "Editer"
12
+ show: "Voir"
13
+ delete: "Supprimer"
@@ -1,3 +1,3 @@
1
1
  module Snaptable
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - khcr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2015-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails