refinerycms-inquiries 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/app/controllers/admin/inquiries_controller.rb +32 -0
  2. data/app/controllers/admin/inquiry_settings_controller.rb +22 -0
  3. data/app/controllers/inquiries_controller.rb +47 -0
  4. data/app/helpers/inquiries_helper.rb +2 -0
  5. data/app/mailers/inquiry_mailer.rb +20 -0
  6. data/app/models/inquiry.rb +25 -0
  7. data/app/models/inquiry_setting.rb +25 -0
  8. data/app/views/admin/inquiries/_inquiry.html.erb +24 -0
  9. data/app/views/admin/inquiries/_submenu.html.erb +27 -0
  10. data/app/views/admin/inquiries/index.html.erb +26 -0
  11. data/app/views/admin/inquiries/show.html.erb +74 -0
  12. data/app/views/admin/inquiries/spam.html.erb +26 -0
  13. data/app/views/admin/inquiry_settings/_confirmation_email_form.html.erb +57 -0
  14. data/app/views/admin/inquiry_settings/_notification_recipients_form.html.erb +24 -0
  15. data/app/views/admin/inquiry_settings/edit.html.erb +5 -0
  16. data/app/views/inquiries/new.html.erb +34 -0
  17. data/app/views/inquiries/thank_you.html.erb +1 -0
  18. data/app/views/inquiry_mailer/confirmation.html.erb +1 -0
  19. data/app/views/inquiry_mailer/notification.html.erb +18 -0
  20. data/config/locales/da.yml +68 -0
  21. data/config/locales/de.yml +71 -0
  22. data/config/locales/en.yml +76 -0
  23. data/config/locales/es.yml +69 -0
  24. data/config/locales/fr.yml +66 -0
  25. data/config/locales/it.yml +67 -0
  26. data/config/locales/lv.yml +76 -0
  27. data/config/locales/nb.yml +77 -0
  28. data/config/locales/nl.yml +76 -0
  29. data/config/locales/pt-BR.yml +86 -0
  30. data/config/locales/ru.yml +79 -0
  31. data/config/locales/sl.yml +68 -0
  32. data/config/locales/zh-CN.yml +73 -0
  33. data/config/routes.rb +20 -0
  34. data/lib/inquiries.rb +24 -0
  35. data/license.md +21 -0
  36. data/readme.md +23 -0
  37. metadata +135 -0
@@ -0,0 +1,76 @@
1
+ lv:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Pieprasījumi
5
+ inquiries:
6
+ new:
7
+ send: Sūtīt ziņu
8
+ privacy_policy: Mēs cienam Jūsu privātumu
9
+ admin:
10
+ inquiries:
11
+ delete: Dzēst šo pieprasījumu
12
+ inquiry:
13
+ read_inquiry: Lasīt pieprasījumu
14
+ said: sacīja
15
+ mark_as_spam: Atzīmēt kā spamu
16
+ mark_as_ham: Pārvietot uz ienākošajiem
17
+ submenu:
18
+ inbox: Ienākošie
19
+ spam: Spams
20
+ update_notified: Atjaunot paziņojumu saņēmēju
21
+ edit_confirmation_email: Labot apstiprinājuma epastu
22
+ index:
23
+ no_inquiries: Nav saņemts neviens pieprasījums.
24
+ spam:
25
+ no_spam: Urā! Jums nav neviens pieprasījums, kas būtu spams.
26
+ show:
27
+ details: Detaļas
28
+ age: Vecums
29
+ actions: Darbības
30
+ back_to_all_inquiries: Atgriezties pie visiem pieprasījumiem
31
+ spam: Spams
32
+ spam_yes: jā
33
+ inquiry: Pieprasījums
34
+ to: Kam
35
+ from: 'No'
36
+ click_to_email: Click to email this address
37
+ phone: Tālrunis
38
+ date: Datums
39
+ message: Ziņa
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: Sūtīt paziņojumu uz
43
+ explanation: Katru reizi, kad kāds ar tevi sazinās izmantojot kontaktformu, Refinery nosūta epastu par to, ka ir jauns pieprasījums.
44
+ hint: Kad tiek iesniegts jauns pieprasījums, tad Refinery nosūtīs paziņojumu uz šo epastu.
45
+ example: "Ievadi savu epasta(-u) adresi(-es) šādā formātā: janis.ozols@test.lv, juris@test.lv"
46
+ confirmation_email_form:
47
+ to: Saņēmējs
48
+ from: Adresāts
49
+ subject: Tēma
50
+ click_to_edit_subject: Spied šeit, lai labotu tēmu
51
+ explanation: Katru reizi, kad kāds sazinās ar tevi izmantojot kontakformu Refinery nosūta apstiprinājuma epastu personai, kura iesniegusi pieprasījumu.
52
+ below_edit_email_sent: Zemāk vari labot epasta saturu, kas tiek izsūtīts.
53
+ the_customer_making_inquiry: Klients, kurš izveidoja pieprasījumu
54
+ message: Ziņa
55
+ note: "Piezīme: ievieto šo tektstu %name% tur, kur tu epastā vēlies norādīt klienta vārdu"
56
+ inquiry_mailer:
57
+ notification:
58
+ greeting: Sveicināts(-a)
59
+ you_recieved_new_inquiry: Jūs nupat saņēmāt jaunu piperasījumu Jūsu saitā.
60
+ inquiry_starts: --- pieprasījuma sākums ---
61
+ inquiry_ends: --- pieprasījuma beigas ---
62
+ from: 'No'
63
+ email: Epasts
64
+ phone: Tālrunis
65
+ message: Ziņa
66
+ closing_line: Ar cieņu
67
+ ps: P.S. Ja vēlaties skatīt šo un citus pieprasījumus vēlāk, tad tos var atrast zem sadaļas "Pieprasījumi".
68
+ activerecord:
69
+ models:
70
+ inquiry: pieprasījums
71
+ attributes:
72
+ inquiry:
73
+ name: Vārds
74
+ email: Epasts
75
+ phone: Tālrunis
76
+ message: Ziņa
@@ -0,0 +1,77 @@
1
+ nb:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Forespørsler
5
+ activerecord:
6
+ models:
7
+ inquiry: Forespørsel
8
+ inquiry_setting: Innstillinger for Forespørsler
9
+ attributes:
10
+ inquiry:
11
+ to: Til
12
+ from: Fra
13
+ click_to_email: Trykk for å sende en e-post til denne adressen
14
+ phone: Telefon
15
+ date: Dato
16
+ message: Melding
17
+ inquiries:
18
+ new:
19
+ header_message: "Ooops, det oppsto et lite problem"
20
+ message: "Følgende problemer må løses:"
21
+ send: Send melding
22
+ privacy_policy: "Vi respekterer ditt privatliv"
23
+ admin:
24
+ inquiries:
25
+ inquiry:
26
+ move_inquiry_to_closed: Flytt denne forespørselen til lukket
27
+ move_inquiry_to_open: Flytt denne forespørselen til åpen
28
+ read_inquiry: Les forespørselen
29
+ remove_inquiry: "Er du sikker på at du ønsker å slette denne forespørselen fra '%{name}'?"
30
+ title: Fjern denne forespørselen permanent.
31
+ said: sa
32
+ mark_as_spam: Merk som søppel
33
+ mark_as_ham: Flytt til innboksen
34
+ toggle_status:
35
+ closed: "Forespørselen '%{inquiry}' er lukket"
36
+ reopened: "Forespørselen '%{inquiry}' er gjenåpnet"
37
+ submenu:
38
+ update_notified: Oppdater hvem som blir informert
39
+ edit_confirmation_email: Rediger bekreftelses e-posten
40
+ index:
41
+ search_results_for: Søkeresultater for %{query}
42
+ no_inquiries: Du har ikke mottatt noen forespørsler enda.
43
+ spam:
44
+ no_spam: Hurra! Du har ikke noen søppelpost.
45
+ show:
46
+ details: Detaljer
47
+ click_to_email: Trykk for å sende e-post
48
+ status: Status
49
+ open: Åpen
50
+ closed: Lukket
51
+ age: Alder
52
+ actions: Handlinger
53
+ back_to_all_inquiries: Tilbake til alle forespørslene
54
+ spam: Søppel
55
+ spam_yes: 'ja'
56
+ inquiry: Forespørsel
57
+ title: Fjern denne forespørselen permanent
58
+ inquiry_settings:
59
+ update:
60
+ updated: "'%{setting}' ble endret."
61
+ notification_recipients_form:
62
+ inquiry_settings_value_name: Send oppdateringer til
63
+ explanation: "Hver gang noen kontakter deg på websiden din, så vil Refinery sende ut en e-post for å si ifra at det er ny forespørsel."
64
+ hint: "Når en ny forespørsel er lagt inn, så vil Refinery sende deg en e-post for å si i fra."
65
+ example: "Legg inn din(e) e-post adresse(r) slik: jack@jobb.no, jill@kontoret.no"
66
+ confirmation_email_form:
67
+ to: Til
68
+ from: Fra
69
+ subject: Emne
70
+ click_to_edit_subject: Trykk her for å redigere emnet
71
+ explanation: "Hver gang noen sender inn en forespørsel gjennom din webside, så sender Refinery en e-post til personen som la inn forespørselen for å bekrefte at forespørselen er mottatt."
72
+ below_edit_email_sent: Du kan redigere e-posten som blir sendt ut nedenfor.
73
+ the_customer_making_inquiry: Kunden som skrev forespørselen
74
+ message: Melding
75
+ note: "Merk: plasser teksten %name% der du ønsker at kundens navn skal vises i e-posten"
76
+ subject_form:
77
+ subject_value_name: Enme
@@ -0,0 +1,76 @@
1
+ nl:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Contact aanvragen
5
+ inquiries:
6
+ new:
7
+ send: Verstuur uw vraag
8
+ privacy_policy: Wij respecteren uw privacy
9
+ admin:
10
+ inquiries:
11
+ delete: Verwijder deze vraag voorgoed
12
+ inquiry:
13
+ read_inquiry: Lees de vraag
14
+ said: zei
15
+ mark_as_spam: Markeer als spam
16
+ mark_as_ham: Verplaats naar de inbox
17
+ submenu:
18
+ inbox: Inbox
19
+ spam: Spam
20
+ update_notified: Wijzig wie op de hoogte wordt gesteld van vragen
21
+ edit_confirmation_email: Bewerk bevestigings email
22
+ index:
23
+ no_inquiries: Je hebt nog geen vragen ontvangen.
24
+ spam:
25
+ no_spam: Jeej! Je hebt geen spam.
26
+ show:
27
+ details: Details
28
+ age: Leeftijd
29
+ actions: Acties
30
+ back_to_all_inquiries: Terug naar alle vragen
31
+ spam: Spam
32
+ spam_yes: ja
33
+ inquiry: Vraag
34
+ to: Aan
35
+ from: Van
36
+ click_to_email: Klik hier om een e-mail te sturen
37
+ phone: Telefoonnummer
38
+ date: Datum
39
+ message: Bericht
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: Stuur notificaties naar
43
+ explanation: "Iedere keer wanneer iemand het vraag formulier invult op uw website, stuurt Refinery een email waarin staat dat er een nieuwe vraag ontvangen is."
44
+ hint: "Vul hierboven een email adres in. Wilt u naar meerdere adressen notificaties sturen? Vul dan meerdere email adressen in gescheiden door comma's"
45
+ example: "Bijvoorbeeld: ik@domein.com, vrienden@msn.com, collegas@werk.com"
46
+ confirmation_email_form:
47
+ to: Aan
48
+ from: Van
49
+ subject: Onderwerp
50
+ click_to_edit_subject: Klik hier om het onderwerp bewerken
51
+ explanation: "Iedere keer wanneer iemand het vraag formulier invult op uw website, stuurt Refinery een email naar die persoon waarin staat dat de vraag ontvangen is."
52
+ below_edit_email_sent: Hieronder kun je de email die verzonden wordt bewerken.
53
+ the_customer_making_inquiry: De persoon die de heeft vraag gesteld
54
+ message: Bericht
55
+ note: "Notitie: plaats de tekst %name% overal in je email waar je de naam van de vragende persoon wilt invoegen"
56
+ inquiry_mailer:
57
+ notification:
58
+ greeting: Hallo
59
+ you_recieved_new_inquiry: Je hebt een nieuwe vraag via de website ontvangen.
60
+ inquiry_starts: --- begin van de vraag---
61
+ inquiry_ends: --- einde van de vraag---
62
+ from: Van
63
+ email: Email
64
+ phone: Telefoon
65
+ message: Bericht
66
+ closing_line: Vriendelijke groeten,
67
+ ps: P.S. Alle vragen woren opgeslagen in de "vragen" sectie van uw website.All your inquiries are stored in the "Inquiries" section of Refinery.
68
+ activerecord:
69
+ models:
70
+ inquiry: Vraag
71
+ attributes:
72
+ inquiry:
73
+ name: Naam
74
+ email: 'Email'
75
+ phone: Telefoon
76
+ message: Bericht
@@ -0,0 +1,86 @@
1
+ pt-BR:
2
+ plugins:
3
+ inquiries:
4
+ title: Contatos
5
+ refinery_inquiries:
6
+ title: Contatos
7
+ activerecord:
8
+ models:
9
+ inquiry: Contatos
10
+ attributes:
11
+ inquiry:
12
+ name: Nome
13
+ phone: Fone
14
+ to: Para
15
+ from: De
16
+ click_to_email: Clique para enviar um email para este endereço
17
+ phone: Fone
18
+ date: Data
19
+ message: Mensagem
20
+ inquiries:
21
+ new:
22
+ header_message: "Ops, houve um pequeno problema"
23
+ message: "Os problemas seguintes precisam ser corrigidos:"
24
+ send: Enviar mensagem
25
+ privacy_policy: "Nós valorizamos sua privacidade"
26
+ admin:
27
+ inquiries:
28
+ inquiry:
29
+ move_inquiry_to_closed: Mover esta mensagem para fechadas
30
+ move_inquiry_to_open: Mover este mensagem para abertas
31
+ read_inquiry: Ler a mensagem
32
+ remove_inquiry: "Tem certeza que deseja remover a mensagem de '%{name}'?"
33
+ title: Remover esta mensagem para sempre
34
+ said: disse
35
+ mark_as_spam: Marcado como spam
36
+ mark_as_ham: Mover para o inbox
37
+ toggle_status:
38
+ closed: "Mensagem '%{inquiry}' está fechado"
39
+ reopened: "Mensagem '%{inquiry}' está reaberto"
40
+ submenu:
41
+ update_notified: Atualizar quem recebe a notificação
42
+ edit_confirmation_email: Editar email de confirmação
43
+ inbox: Caixa de Entrada
44
+ spam: Spam
45
+ index:
46
+ search_results_for: Resultados da busca por %{query}
47
+ open_inquiries: Mensagens abertas
48
+ no_inquiries: "Urra! Não exitem mensagens abertas porque você lidou com todas elas."
49
+ closed_inquiries: Mensagens fechadas
50
+ havent_closed_any_inquiries: "Você ainda não fechou nenhuma mensagem."
51
+ spam:
52
+ no_spam: Urra! Não existem mensagens de spam.
53
+ show:
54
+ details: Detalhes
55
+ click_to_email: Clique para enviar email
56
+ status: Estado
57
+ open: Aberta
58
+ closed: Fechada
59
+ age: Quando
60
+ actions: Ações
61
+ back_to_all_inquiries: Voltar para todas as Mensagens
62
+ inquiry: Contato
63
+ spam: Spam
64
+ spam_yes: 'sim'
65
+ title: Remover esta mensagem para sempre
66
+ inquiry_settings:
67
+ update:
68
+ updated: "'%{setting}' foi atualizada com sucesso."
69
+ notification_recipients_form:
70
+ inquiry_settings_value_name: Enviar notificações para
71
+ explanation: "Toda vez que alguém contactar você no seu website, o Refinery envia um email para notificar a essa pessoa o recebimento de uma mensagem."
72
+ hint: "Digite um endereço de email acima. Deseja que a notificação vá para mais de uma pessoa? Digite vários endereços de email separados por vírgulas."
73
+ example: "P.e. eu@dominio.com, amigo@msn.com, colegadetrabalho@trabalho.com"
74
+ confirmation_email_form:
75
+ click_to_edit_subject: Clique aqui para editar o assunto
76
+ explanation: "Toda vez que alguém contatar você no seu website, o Refinery envia um email para confirmar o recebimento da mensagem para esta pessoa."
77
+ below_edit_email_sent: Abaixo você pode editar o e-mail que é enviado para fora.
78
+ the_customer_making_inquiry: O cliente fazendo o contato
79
+ to: Para
80
+ from: De
81
+ subject: Assunto
82
+ thankyou: Obrigado pelo seu contato
83
+ message: Mensagem
84
+ note: "Nota: posicione o texto %name% onde você desejar que o nome do cliente apareça no email"
85
+ subject_form:
86
+ subject_value_name: Assunto
@@ -0,0 +1,79 @@
1
+ ru:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: "Запросы"
5
+ activerecord:
6
+ models:
7
+ inquiry: "Запрос"
8
+ inquiry_setting: "Настройки запроса"
9
+ attributes:
10
+ inquiry:
11
+ to: "Кому"
12
+ from: "От"
13
+ click_to_email: "Нажмите, чтобы отправить по этому адресу"
14
+ phone: "Телефон"
15
+ date: "Дата"
16
+ message: "Сообщение"
17
+ inquiries:
18
+ new:
19
+ header_message: "Упс. Возникла небольшая проблемка."
20
+ message: "Нужно исправить следующие ошибки:"
21
+ send: "Отправить сообщение"
22
+ privacy_policy: "Мы относимся с уважением к вашим личным данным"
23
+ admin:
24
+ inquiries:
25
+ inquiry:
26
+ move_inquiry_to_closed: "Переместить этот запрос в закрытые"
27
+ move_inquiry_to_open: "Переместить этот запрос в открытые"
28
+ read_inquiry: "Прочитать запрос"
29
+ remove_inquiry: "Вы уверены, что хотите удалить запрос от '{{name}}'?"
30
+ title: "Удалить этот запрос навсегда"
31
+ said: "пишет"
32
+ mark_as_spam: "Пометить как спам"
33
+ mark_as_ham: "Переместить во Входящие"
34
+ toggle_status:
35
+ closed: "Запрос '{{inquiry}}' закрыт"
36
+ reopened: "Запрос '{{inquiry}}' открыт заново"
37
+ submenu:
38
+ inbox: "Входящие"
39
+ spam: "Спам"
40
+ update_notified: Изменить получателей уведомлений
41
+ edit_confirmation_email: "Редактировать письмо-подтверждение"
42
+ index:
43
+ search_results_for: "Найти результаты для {{query}}"
44
+ no_inquiries: "Вы еще не получили ни одного запроса."
45
+ spam:
46
+ no_spam: "Ура! Вы не получили спам."
47
+ show:
48
+ details: "Подробности"
49
+ click_to_email: "Нажмите, чтобы отправить"
50
+ status: "Статус"
51
+ open: "Открыт"
52
+ closed: "Закрыт"
53
+ age: "Срок"
54
+ actions: "Действия"
55
+ back_to_all_inquiries: "Назад ко всем запросам"
56
+ spam: "Спам"
57
+ spam_yes: 'да'
58
+ inquiry: "Запрос"
59
+ title: "Удалить этот запрос навсегда"
60
+ inquiry_settings:
61
+ update:
62
+ updated: "'{{setting}}' были успешно обновлены."
63
+ notification_recipients_form:
64
+ inquiry_settings_value_name: "Отправить уведомления"
65
+ explanation: "Каждый раз, когда кто-то связывается с вами посредством вашего сайта, Refinery CMS отправляет уведомление на электронную почту."
66
+ hint: "Когда поступит новый запрос, Refinery CMS отправит вам уведомление на электронную почту."
67
+ example: "Введите адрес(а) электронной почты через запятую: anna@mail.ru, ivanov@yandex.ru"
68
+ confirmation_email_form:
69
+ to: "Кому"
70
+ from: "От"
71
+ subject: "Тема сообщения"
72
+ click_to_edit_subject: "Редактировать тему сообщения"
73
+ explanation: "Каждый раз, когда кто-то связывается с вами посредством вашего сайта, Refinery CMS отправляет ему письмо, подтверждающее принятие запроса."
74
+ below_edit_email_sent: Ниже вы можете отредактировать отсылаемое письмо
75
+ the_customer_making_inquiry: "Клиент, делающий запрос"
76
+ message: "Сообщение"
77
+ note: "Примечание: поместите текст %name% там, где вы хотите, чтобы появилось имя клиента."
78
+ subject_form:
79
+ subject_value_name: "Тема сообщения"
@@ -0,0 +1,68 @@
1
+ sl:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Povpraševanja
5
+ activerecord:
6
+ models:
7
+ inquiry: Povpraševanje
8
+ attributes:
9
+ inquiry:
10
+ to: Za
11
+ from: Od
12
+ click_to_email: Pošlji email sporočilo
13
+ phone: Telefon
14
+ date: Datum
15
+ message: Sporočilo
16
+ inquiries:
17
+ new:
18
+ header_message: "Ups prišlo je do majhnega problema"
19
+ message: "Prosimo odpravite sledeče napake:"
20
+ send: Pošlji sporočilo
21
+ privacy_policy: "Cenimo vašo zasebnost"
22
+ admin:
23
+ inquiries:
24
+ inquiry:
25
+ said: pravi
26
+ move_inquiry_to_closed: Premakni povpraševanje v zaprto
27
+ move_inquiry_to_open: Premakni povpraševanje v odprto
28
+ read_inquiry: Preberi povpraševanje
29
+ remove_inquiry: "Ali ste prepričani da želite odstraniti povpraševanje od '%{name}'?"
30
+ title: Odstrani povpraševanje.
31
+ toggle_status:
32
+ closed: "Povpraševanje '%{inquiry}' je zaprto"
33
+ reopened: "Povpraševanje '%{inquiry}' je ponovno odprto"
34
+ index:
35
+ no_inquiries: Trenutno še ni nobenega povpraševanja.
36
+ submenu:
37
+ update_notified: Uredi prejemnike obvestila
38
+ edit_confirmation_email: Uredni potrditveni email
39
+ show:
40
+ details: Podrobnosti
41
+ click_to_email: Pošlji email sporočilo
42
+ status: Status
43
+ open: Odprto
44
+ closed: Zaprto
45
+ age: Starost
46
+ actions: Možnosti
47
+ back_to_all_inquiries: Nazaj na vsa povpraševanja
48
+ inquiry: Povpraševanje
49
+ inquiry_settings:
50
+ update:
51
+ updated: "'%{setting}' je bila uspešno posodobljena."
52
+ notification_recipients_form:
53
+ inquiry_settings_value_name: Pošlji obvestilo na
54
+ explanation: "Vedno ko vas nekdo kontaktira na vaši spletni strani, vam Refinery pošlje email obvestilo o novem povpraševanju."
55
+ hint: "V zgornje polje vnesite email naslov. Želite da obvestila prejme več oseb? Vnesite več email naslovov ločenih z vejicami."
56
+ example: "Primer: jaz@domena.com, prijatelj@msn.com, sodelavec@work.com"
57
+ confirmation_email_form:
58
+ to: Za
59
+ from: Od
60
+ subject: Zadeva
61
+ click_to_edit_subject: Uredi zadevo
62
+ explanation: "Vedno ko vas nekdo kontaktira na vaši spletni strani mu Refinery pošlje email obvestilo o prejetem povpraševanju."
63
+ below_edit_email_sent: Spodaj lahko uredite vsebino email sporočila.
64
+ the_customer_making_inquiry: Stranka, ki je poslala povpraševanje
65
+ message: Sporočilo
66
+ note: "Opomba: vstavite tekst %name% kjer želite, da se pojavi ime stranke v email sporočilu."
67
+ subject_form:
68
+ subject_value_name: Zadeva