refinerycms-inquiries 0.9.9.3 → 0.9.9.4
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.
- data/app/views/admin/inquiries/show.html.erb +2 -2
- data/config/locales/it.yml +48 -50
- data/config/locales/sv.yml +76 -0
- data/lib/gemspec.rb +1 -1
- data/readme.md +1 -1
- data/refinerycms-inquiries.gemspec +3 -2
- data/spec/models/inquiry_spec.rb +3 -3
- metadata +5 -4
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
admin_inquiry_url(@inquiry),
|
|
19
19
|
:class => 'delete_icon no-tooltip confirm-delete',
|
|
20
20
|
:title => t('admin.inquiries.delete'),
|
|
21
|
-
:
|
|
22
|
-
:
|
|
21
|
+
:confirm => t('shared.admin.delete.message', :title => @inquiry.name),
|
|
22
|
+
:method => :delete %>
|
|
23
23
|
</li>
|
|
24
24
|
</ul>
|
|
25
25
|
</div>
|
data/config/locales/it.yml
CHANGED
|
@@ -1,80 +1,78 @@
|
|
|
1
1
|
it:
|
|
2
2
|
plugins:
|
|
3
3
|
refinery_inquiries:
|
|
4
|
-
title:
|
|
4
|
+
title: Richieste
|
|
5
5
|
description: Fornisce un modulo di contatto e memorizza le richieste
|
|
6
6
|
inquiries:
|
|
7
7
|
new:
|
|
8
|
-
header_message:
|
|
8
|
+
header_message: si è verificato un problema
|
|
9
9
|
message: "I seguenti problemi devono essere corretti:"
|
|
10
10
|
send: Invia messaggio
|
|
11
11
|
privacy_policy: "Noi diamo valore alla tua privacy"
|
|
12
12
|
admin:
|
|
13
13
|
inquiries:
|
|
14
|
+
delete: Rimuovi per sempre questa richiesta
|
|
14
15
|
inquiry:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
read_inquiry: Leggi la richiesta
|
|
17
|
+
said: dice
|
|
18
|
+
mark_as_spam: Segnala come spam
|
|
19
|
+
mark_as_ham: Sposta nella inbox
|
|
20
|
+
submenu:
|
|
21
|
+
inbox: Inbox
|
|
22
|
+
spam: Spam
|
|
23
|
+
update_notified: Aggiorna i destinatari della notifica
|
|
24
|
+
edit_confirmation_email: Modifica la mail di conferma
|
|
23
25
|
index:
|
|
24
26
|
no_inquiries: Non hai ancora ricevuto alcuna richiesta.
|
|
27
|
+
spam:
|
|
28
|
+
no_spam: Evviva! Non hai alcuno spam
|
|
25
29
|
show:
|
|
26
30
|
details: Dettagli
|
|
27
|
-
click_to_email: Clicca per inviare una e-mail a questo indirizzo
|
|
28
|
-
status: Stato
|
|
29
|
-
open: Aperto
|
|
30
|
-
closed: Chiuso
|
|
31
31
|
age: Età
|
|
32
32
|
actions: Azioni
|
|
33
33
|
back_to_all_inquiries: Torna a tutte le richieste
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
spam: Spam
|
|
35
|
+
spam_yes: 'si'
|
|
36
|
+
inquiry: Domanda
|
|
37
|
+
to: A
|
|
38
|
+
from: Da
|
|
39
|
+
click_to_email: Fare click per inviare una email a questo indirizzo
|
|
40
|
+
phone: Telefono
|
|
41
|
+
date: Data
|
|
42
|
+
message: Messaggio
|
|
38
43
|
inquiry_settings:
|
|
39
|
-
update:
|
|
40
|
-
updated: "'%{setting}' è stato aggiornato con successo."
|
|
41
44
|
notification_recipients_form:
|
|
42
|
-
inquiry_settings_value_name:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
example: "E.g. me@domain.com, friend@msn.com, workmate@work.com"
|
|
45
|
+
inquiry_settings_value_name: Inviare notifiche a
|
|
46
|
+
hint: Quando una nuova richiesta viene inviata, Refinery ti invierà una email di notifica.
|
|
47
|
+
example: "Inserisci i tuoi indirizzi email come: jack@work.com, jill@office.com"
|
|
46
48
|
confirmation_email_form:
|
|
47
|
-
to:
|
|
48
|
-
from:
|
|
49
|
+
to: Da
|
|
50
|
+
from: A
|
|
49
51
|
subject: Oggetto
|
|
50
|
-
click_to_edit_subject:
|
|
51
|
-
explanation:
|
|
52
|
+
click_to_edit_subject: Fare clic qui per modificare l'oggetto
|
|
53
|
+
explanation: Ogni volta che qualcuno ti contatta attraverso il tuo sito web, Refinery invia una mail per confermare la richiesta alla persona che l'ha fatta
|
|
52
54
|
below_edit_email_sent: Qui di seguito è possibile modificare l'e-mail che viene inviata.
|
|
53
|
-
the_customer_making_inquiry: Chi
|
|
55
|
+
the_customer_making_inquiry: Chi invia il messaggio
|
|
54
56
|
message: Messaggio
|
|
55
57
|
note: "Nota: inserire nella email il testo %name% dove si vuole che compiaia il nome di chi invia la richiesta"
|
|
56
|
-
subject_form:
|
|
57
|
-
subject_value_name: Oggetto
|
|
58
58
|
inquiry_mailer:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
notification:
|
|
60
|
+
greeting: Ciao a tutti
|
|
61
|
+
you_recieved_new_inquiry: Hai appena ricevuto una nuova richiesta sul tuo sito.
|
|
62
|
+
inquiry_starts: --- inizio del messaggio ---
|
|
63
|
+
inquiry_ends: --- fine del messaggio ---
|
|
64
|
+
from: Da
|
|
65
|
+
email: Email
|
|
66
|
+
phone: Telefono
|
|
67
|
+
message: Messaggio
|
|
68
|
+
closing_line: Saluti
|
|
69
|
+
ps: P.S. Tutte le richiesta ricevute sono salvate nella sezione "Richieste" di Refinery così da poter esser viste in un secondo momento.
|
|
70
|
+
activerecord:
|
|
71
|
+
models:
|
|
72
|
+
inquiry: inquiry
|
|
73
|
+
attributes:
|
|
74
|
+
inquiry:
|
|
75
|
+
name: Nome
|
|
65
76
|
email: Email
|
|
66
77
|
phone: Telefono
|
|
67
78
|
message: Messaggio
|
|
68
|
-
closing_line: Saluti
|
|
69
|
-
ps: P.S. Tutte le richiesta ricevute sono salvate nella sezione "Richieste" di Refinery così da poter esser viste in un secondo momento.
|
|
70
|
-
activerecord:
|
|
71
|
-
models:
|
|
72
|
-
inquiry: Domanda
|
|
73
|
-
attributes:
|
|
74
|
-
inquiry:
|
|
75
|
-
to: A
|
|
76
|
-
from: Da
|
|
77
|
-
click_to_email: Clicca per inviare una e-mail a questo indirizzo
|
|
78
|
-
phone: Telefono
|
|
79
|
-
date: Data
|
|
80
|
-
message: Messaggio
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
sv:
|
|
2
|
+
plugins:
|
|
3
|
+
refinery_inquiries:
|
|
4
|
+
title: Förfrågningar
|
|
5
|
+
description: Tillhandahåller ett formulär och sparar förfrågningar
|
|
6
|
+
inquiries:
|
|
7
|
+
new:
|
|
8
|
+
send: Skicka meddelande
|
|
9
|
+
privacy_policy: Vi värderar ditt privatliv
|
|
10
|
+
admin:
|
|
11
|
+
inquiries:
|
|
12
|
+
delete: Ta bort den här förfrågningen för alltid
|
|
13
|
+
inquiry:
|
|
14
|
+
read_inquiry: Läs förfrågningen
|
|
15
|
+
said: said
|
|
16
|
+
mark_as_spam: Märk som skräppost
|
|
17
|
+
mark_as_ham: Flytta till inkorg
|
|
18
|
+
submenu:
|
|
19
|
+
inbox: Inkorg
|
|
20
|
+
spam: Skräppost
|
|
21
|
+
update_notified: Redigera vem som får notifikation
|
|
22
|
+
edit_confirmation_email: Redigera bekräftelse
|
|
23
|
+
index:
|
|
24
|
+
no_inquiries: Du har inte fått några förfrågningar ännu.
|
|
25
|
+
spam:
|
|
26
|
+
no_spam: Hurra! Du har ingen skräppost.
|
|
27
|
+
show:
|
|
28
|
+
details: Detaljer
|
|
29
|
+
age: Ålder
|
|
30
|
+
actions: Handlingar
|
|
31
|
+
back_to_all_inquiries: Tillbaka till alla Förfrågningar
|
|
32
|
+
spam: Skräppost
|
|
33
|
+
spam_yes: 'ja'
|
|
34
|
+
inquiry: Förfrågning
|
|
35
|
+
to: Till
|
|
36
|
+
from: Från
|
|
37
|
+
click_to_email: Klicka för att skicka e-post till den här adressen
|
|
38
|
+
phone: Telefon
|
|
39
|
+
date: Datum
|
|
40
|
+
message: Meddelande
|
|
41
|
+
inquiry_settings:
|
|
42
|
+
notification_recipients_form:
|
|
43
|
+
inquiry_settings_value_name: Skicka notifikationer till
|
|
44
|
+
hint: När en ny förfrågan skickas in, skickar Refinery en notifikation till dig.
|
|
45
|
+
example: "Fyll i din/dina e-postadresser så här: jack@work.com, jill@office.com"
|
|
46
|
+
confirmation_email_form:
|
|
47
|
+
to: Till
|
|
48
|
+
from: Från
|
|
49
|
+
subject: Ämne
|
|
50
|
+
click_to_edit_subject: Klicka här för att ändra ämne
|
|
51
|
+
explanation: Varje gång någon kontaktar dig på din webbplats, skickar Refinery ut ett bekräftelsebrev till personen som kontaktade dig.
|
|
52
|
+
below_edit_email_sent: Nedanför är det brev som skickas ut
|
|
53
|
+
the_customer_making_inquiry: Besökaren som skickat förfrågan
|
|
54
|
+
message: Meddelande
|
|
55
|
+
note: "Notis: placera texten %name% där du vill att besökarens namn ska visas i brevet"
|
|
56
|
+
inquiry_mailer:
|
|
57
|
+
notification:
|
|
58
|
+
greeting: Hej!
|
|
59
|
+
you_recieved_new_inquiry: Du har just mottagit en ny förfrågan på din webbplats.
|
|
60
|
+
inquiry_starts: --- förfrågan börjar ---
|
|
61
|
+
inquiry_ends: --- förfrågan slutar ---
|
|
62
|
+
from: Från
|
|
63
|
+
email: E-postadress
|
|
64
|
+
phone: Telefon
|
|
65
|
+
message: Meddelande
|
|
66
|
+
closing_line: Vänliga hälsningar
|
|
67
|
+
ps: P.S. Alla dina förfrågningar sparas i "Förfrågningar"-sektionen av Refinery. Där kan du visa dem senare.
|
|
68
|
+
activerecord:
|
|
69
|
+
models:
|
|
70
|
+
inquiry: förfrågning
|
|
71
|
+
attributes:
|
|
72
|
+
inquiry:
|
|
73
|
+
name: Namn
|
|
74
|
+
email: E-postadress
|
|
75
|
+
phone: Telefon
|
|
76
|
+
message: Meddelande
|
data/lib/gemspec.rb
CHANGED
data/readme.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Include the latest [gem](http://rubygems.org/gems/refinerycms-inquiries) into your Refinery CMS application's Gemfile:
|
|
8
8
|
|
|
9
|
-
gem "refinerycms-inquiries", '~> 0.9.9.
|
|
9
|
+
gem "refinerycms-inquiries", '~> 0.9.9.4'
|
|
10
10
|
|
|
11
11
|
Then type the following at command line inside your Refinery CMS application's root directory:
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{refinerycms-inquiries}
|
|
3
|
-
s.version = %q{0.9.9.
|
|
4
|
-
s.date = %q{2010-11-
|
|
3
|
+
s.version = %q{0.9.9.4}
|
|
4
|
+
s.date = %q{2010-11-16}
|
|
5
5
|
s.summary = %q{Inquiry handling functionality for the Refinery CMS project.}
|
|
6
6
|
s.description = %q{Inquiry handling functionality extracted from Refinery CMS to allow you to have a contact form and manage inquiries in the Refinery backend.}
|
|
7
7
|
s.homepage = %q{http://refinerycms.com}
|
|
@@ -56,6 +56,7 @@ Gem::Specification.new do |s|
|
|
|
56
56
|
'config/locales/pt-BR.yml',
|
|
57
57
|
'config/locales/ru.yml',
|
|
58
58
|
'config/locales/sl.yml',
|
|
59
|
+
'config/locales/sv.yml',
|
|
59
60
|
'config/locales/zh-CN.yml',
|
|
60
61
|
'config/routes.rb',
|
|
61
62
|
'features',
|
data/spec/models/inquiry_spec.rb
CHANGED
|
@@ -41,19 +41,19 @@ describe Inquiry do
|
|
|
41
41
|
it "returns latest 7 non-spam inquiries by default" do
|
|
42
42
|
8.times { Factory(:inquiry) }
|
|
43
43
|
Inquiry.last.toggle!(:spam)
|
|
44
|
-
Inquiry.latest.
|
|
44
|
+
Inquiry.latest.length.should == 7
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
it "returns latest 7 inquiries including spam ones" do
|
|
48
48
|
4.times { Factory(:inquiry) }
|
|
49
49
|
3.times { Factory(:inquiry) }
|
|
50
50
|
Inquiry.all[0..2].each { |inquiry| inquiry.toggle!(:spam) }
|
|
51
|
-
Inquiry.latest(7, true).
|
|
51
|
+
Inquiry.latest(7, true).length.should == 7
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
it "returns latest n inquiries" do
|
|
55
55
|
4.times { Factory(:inquiry) }
|
|
56
|
-
Inquiry.latest(3).
|
|
56
|
+
Inquiry.latest(3).length.should == 3
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: refinerycms-inquiries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 43
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
9
|
- 9
|
|
10
|
-
-
|
|
11
|
-
version: 0.9.9.
|
|
10
|
+
- 4
|
|
11
|
+
version: 0.9.9.4
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Resolve Digital
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-11-
|
|
19
|
+
date: 2010-11-16 00:00:00 +13:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -75,6 +75,7 @@ files:
|
|
|
75
75
|
- config/locales/pt-BR.yml
|
|
76
76
|
- config/locales/ru.yml
|
|
77
77
|
- config/locales/sl.yml
|
|
78
|
+
- config/locales/sv.yml
|
|
78
79
|
- config/locales/zh-CN.yml
|
|
79
80
|
- config/routes.rb
|
|
80
81
|
- features/create_inquiries.feature
|