cama_contact_form 0.0.11 → 0.0.12

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: 78b78299666d958cd5d1a0911633431c173d6f48
4
- data.tar.gz: 38ca04249837810657cc3588ce56e199ffa57403
3
+ metadata.gz: 958e0958c802d18c8cdc6fb122c59ee1cbe9f9c2
4
+ data.tar.gz: 2e3356ddca2e8315498a47a2d6745d9c7b5d79ef
5
5
  SHA512:
6
- metadata.gz: 0d4139584a2bea29c6929a550308a378371ad4cd6a2dc9c957e0968315b433278b3c8811074b278fd90b5779da5e34e031c6a7c2876f089cb246854aea46f8a0
7
- data.tar.gz: c5745b33aba08642fbfa0ec3082f8041465ea5b7aee66d3229633ed0e5de253dcd6cf8015a2045cf197553c4268ecc467f7b67c9fb53d68f5675f5b9abae3807
6
+ metadata.gz: 189bbdcbb6bc4f41b9dfa959dcd425b484098103d552ddc807d2851b12e3420e68f43f50f0c3511b41e8af2504893a096e34a8bc30e8745ae08756be3240961b
7
+ data.tar.gz: 406aa5606a100b438fd724515a8dedc14972fa7926943327a7732bcc11c8ae77358d863544e66bb341fdea57a4c7461f3870f542d30baba0abf1a80ff52165fe
@@ -83,7 +83,7 @@ class Plugins::CamaContactForm::FrontController < CamaleonCms::Apps::PluginsFron
83
83
  values = {}
84
84
  form.fields.each do |field|
85
85
  cid = field[:cid].to_sym
86
- label = values.keys.include?(field[:label]) ? "#{field[:label]} (#{cid})" : field[:label]
86
+ label = values.keys.include?(field[:label]) ? "#{field[:label]} (#{cid})" : field[:label].to_s.translate
87
87
  values[label] = []
88
88
  if field[:field_type] == 'submit' || field[:field_type] == 'button'
89
89
  elsif field[:field_type] == 'file'
@@ -8,7 +8,7 @@
8
8
  <td style="width: 50%; float: left">
9
9
  <% fields.each do |key, value| %>
10
10
  <div class="data_field">
11
- <strong><%= key %>:</strong>
11
+ <strong><%= key.to_s.translate %>:</strong>
12
12
  <%= value[0] %>
13
13
  </div>
14
14
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module CamaContactForm
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cama_contact_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -167,3 +167,4 @@ test_files:
167
167
  - test/dummy/README.rdoc
168
168
  - test/integration/navigation_test.rb
169
169
  - test/test_helper.rb
170
+ has_rdoc: