refinerycms-core 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/app/assets/javascripts/refinery/admin.js.erb +3 -0
  2. data/app/assets/javascripts/wymeditor/functions.js.erb +1 -1
  3. data/app/assets/javascripts/wymeditor/lang/{zh_cn.js → zh-CN.js} +1 -1
  4. data/app/assets/javascripts/wymeditor/prototypes.js.erb +1 -1
  5. data/app/assets/stylesheets/refinery/layout.css.scss +26 -0
  6. data/app/views/refinery/admin/_image_picker.html.erb +1 -1
  7. data/app/views/refinery/admin/_resource_picker.html.erb +19 -21
  8. data/config/locales/es.yml +2 -2
  9. data/config/locales/fr.yml +9 -1
  10. data/lib/generators/refinery/cms/cms_generator.rb +6 -4
  11. data/lib/generators/refinery/core/templates/config/initializers/refinery/core.rb.erb +1 -0
  12. data/lib/generators/refinery/engine/engine_generator.rb +9 -3
  13. data/lib/generators/refinery/engine/templates/Gemfile +1 -0
  14. data/lib/generators/refinery/engine/templates/config/locales/zh-CN.yml +30 -0
  15. data/lib/generators/refinery/form/form_generator.rb +11 -7
  16. data/lib/generators/refinery/form/templates/config/locales/da.yml +60 -63
  17. data/lib/generators/refinery/form/templates/config/locales/de.yml +68 -68
  18. data/lib/generators/refinery/form/templates/config/locales/es.yml +60 -64
  19. data/lib/generators/refinery/form/templates/config/locales/fr.yml +68 -68
  20. data/lib/generators/refinery/form/templates/config/locales/it.yml +60 -62
  21. data/lib/generators/refinery/form/templates/config/locales/lv.yml +67 -67
  22. data/lib/generators/refinery/form/templates/config/locales/nb.yml +68 -71
  23. data/lib/generators/refinery/form/templates/config/locales/nl.yml +65 -64
  24. data/lib/generators/refinery/form/templates/config/locales/pt-BR.yml +68 -68
  25. data/lib/generators/refinery/form/templates/config/locales/ru.yml +70 -73
  26. data/lib/generators/refinery/form/templates/config/locales/sl.yml +61 -63
  27. data/lib/generators/refinery/form/templates/config/locales/zh-CN.yml +77 -3
  28. data/lib/refinery/application_controller.rb +1 -1
  29. data/lib/refinery/cli.rb +1 -1
  30. data/lib/refinery/core/engine.rb +2 -1
  31. data/lib/refinery/crud.rb +1 -1
  32. data/lib/refinery/extension_generation.rb +26 -14
  33. data/lib/refinery/version.rb +1 -1
  34. data/refinerycms-core.gemspec +1 -1
  35. data/spec/lib/generators/refinery/engine/engine_generator_multiple_resources_spec.rb +51 -0
  36. data/spec/lib/generators/refinery/engine/engine_generator_sanity_check_spec.rb +47 -0
  37. data/spec/lib/generators/refinery/engine/engine_generator_spec.rb +0 -12
  38. data/spec/lib/refinery/crud_spec.rb +2 -2
  39. metadata +11 -8
@@ -1,77 +1,77 @@
1
1
  lv:
2
- plugins:
3
- <%= plural_name %>:
4
- title: <%= plural_name.titleize %>
5
- <%= namespacing.underscore %>:
6
- <%= plural_name %>:
7
- new:
8
- send: Sūtīt ziņu
9
- privacy_policy: Mēs cienam Jūsu privātumu
10
- admin:
2
+ refinery:
3
+ plugins:
11
4
  <%= plural_name %>:
12
- delete: Dzēst šo pieprasījumu
13
- <%= singular_name %>:
14
- read_<%= singular_name %>: Lasīt pieprasījumu
15
- said: sacīja
16
- mark_as_spam: Atzīmēt kā spamu
17
- mark_as_ham: Pārvietot uz ienākošajiem
18
- submenu:
19
- inbox: Ienākošie
20
- spam: Spams
21
- update_notified: Atjaunot paziņojumu saņēmēju
22
- edit_confirmation_email: Labot apstiprinājuma epastu
23
- index:
24
- no_<%= plural_name %>: Nav saņemts neviens pieprasījums.
25
- spam:
26
- no_spam: Urā! Jums nav neviens pieprasījums, kas būtu spams.
27
- show:
28
- details: Detaļas
29
- age: Vecums
30
- actions: Darbības
31
- back_to_all_<%= plural_name %>: Atgriezties pie visiem pieprasījumiem
32
- spam: Spams
33
- spam_yes:
34
- <%= singular_name %>: <%= class_name.underscore.titleize %>
35
- to: Kam
5
+ title: <%= plural_name.titleize %>
6
+ <%= namespacing.underscore %>:
7
+ <%= plural_name %>:
8
+ new:
9
+ send: Sūtīt ziņu
10
+ privacy_policy: Mēs cienam Jūsu privātumu
11
+ admin:
12
+ <%= plural_name %>:
13
+ delete: Dzēst šo pieprasījumu
14
+ <%= singular_name %>:
15
+ read_<%= singular_name %>: Lasīt pieprasījumu
16
+ said: sacīja
17
+ mark_as_spam: Atzīmēt spamu
18
+ mark_as_ham: Pārvietot uz ienākošajiem
19
+ submenu:
20
+ inbox: Ienākošie
21
+ spam: Spams
22
+ update_notified: Atjaunot paziņojumu saņēmēju
23
+ edit_confirmation_email: Labot apstiprinājuma epastu
24
+ index:
25
+ no_<%= plural_name %>: Nav saņemts neviens pieprasījums.
26
+ spam:
27
+ no_spam: Urā! Jums nav neviens pieprasījums, kas būtu spams.
28
+ show:
29
+ details: Detaļas
30
+ age: Vecums
31
+ actions: Darbības
32
+ back_to_all_<%= plural_name %>: Atgriezties pie visiem pieprasījumiem
33
+ spam: Spams
34
+ spam_yes: jā
35
+ <%= singular_name %>: <%= class_name.underscore.titleize %>
36
+ to: Kam
37
+ from: 'No'
38
+ click_to_email: Click to email this address
39
+ phone: Tālrunis
40
+ date: Datums
41
+ message: Ziņa
42
+ settings:
43
+ notification_recipients_form:
44
+ settings_value_name: Sūtīt paziņojumu uz
45
+ explanation: Katru reizi, kad kāds ar tevi sazinās izmantojot kontaktformu, Refinery nosūta epastu par to, ka ir jauns pieprasījums.
46
+ hint: Kad tiek iesniegts jauns pieprasījums, tad Refinery nosūtīs paziņojumu uz šo epastu.
47
+ example: "Ievadi savu epasta(-u) adresi(-es) šādā formātā: janis.ozols@test.lv, juris@test.lv"
48
+ confirmation_email_form:
49
+ to: Saņēmējs
50
+ from: Adresāts
51
+ subject: Tēma
52
+ click_to_edit_subject: Spied šeit, lai labotu tēmu
53
+ explanation: Katru reizi, kad kāds sazinās ar tevi izmantojot kontakformu Refinery nosūta apstiprinājuma epastu personai, kura iesniegusi pieprasījumu.
54
+ below_edit_email_sent: Zemāk vari labot epasta saturu, kas tiek izsūtīts.
55
+ the_customer_making_<%= singular_name %>: Klients, kurš izveidoja pieprasījumu
56
+ message: Ziņa
57
+ note: "Piezīme: ievieto šo tektstu %name% tur, kur tu epastā vēlies norādīt klienta vārdu"
58
+ mailer:
59
+ notification:
60
+ greeting: Sveicināts(-a)
61
+ you_recieved_new_<%= singular_name %>: Jūs nupat saņēmāt jaunu piperasījumu Jūsu saitā.
62
+ <%= singular_name %>_starts: --- pieprasījuma sākums ---
63
+ <%= singular_name %>_ends: --- pieprasījuma beigas ---
36
64
  from: 'No'
37
- click_to_email: Click to email this address
65
+ email: Epasts
38
66
  phone: Tālrunis
39
- date: Datums
40
- message: Ziņa
41
- settings:
42
- notification_recipients_form:
43
- settings_value_name: Sūtīt paziņojumu uz
44
- explanation: Katru reizi, kad kāds ar tevi sazinās izmantojot kontaktformu, Refinery nosūta epastu par to, ka ir jauns pieprasījums.
45
- hint: Kad tiek iesniegts jauns pieprasījums, tad Refinery nosūtīs paziņojumu uz šo epastu.
46
- example: "Ievadi savu epasta(-u) adresi(-es) šādā formātā: janis.ozols@test.lv, juris@test.lv"
47
- confirmation_email_form:
48
- to: Saņēmējs
49
- from: Adresāts
50
- subject: Tēma
51
- click_to_edit_subject: Spied šeit, lai labotu tēmu
52
- explanation: Katru reizi, kad kāds sazinās ar tevi izmantojot kontakformu Refinery nosūta apstiprinājuma epastu personai, kura iesniegusi pieprasījumu.
53
- below_edit_email_sent: Zemāk vari labot epasta saturu, kas tiek izsūtīts.
54
- the_customer_making_<%= singular_name %>: Klients, kurš izveidoja pieprasījumu
55
67
  message: Ziņa
56
- note: "Piezīme: ievieto šo tektstu %name% tur, kur tu epastā vēlies norādīt klienta vārdu"
57
- mailer:
58
- notification:
59
- greeting: Sveicināts(-a)
60
- you_recieved_new_<%= singular_name %>: Jūs nupat saņēmāt jaunu piperasījumu Jūsu saitā.
61
- <%= singular_name %>_starts: --- pieprasījuma sākums ---
62
- <%= singular_name %>_ends: --- pieprasījuma beigas ---
63
- from: 'No'
64
- email: Epasts
65
- phone: Tālrunis
66
- message: Ziņa
67
- closing_line: Ar cieņu
68
- ps_html: 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
+ closing_line: Ar cieņu
69
+ ps_html: P.S. Ja vēlaties skatīt šo un citus pieprasījumus vēlāk, tad tos var atrast zem sadaļas "Pieprasījumi".
69
70
  activerecord:
70
71
  models:
71
72
  <%= singular_name %>: <%= class_name.underscore.titleize %>
72
73
  attributes:
73
74
  <%= singular_name %>:
74
- name: Vārds
75
- email: Epasts
76
- phone: Tālrunis
77
- message: Ziņa
75
+ <% attributes.each do |a| -%>
76
+ <%= a.name %>: <%= a.name.humanize %>
77
+ <% end -%>
@@ -1,78 +1,75 @@
1
1
  nb:
2
- plugins:
3
- <%= plural_name %>:
4
- title: <%= plural_name.titleize %>
2
+ refinery:
3
+ plugins:
4
+ <%= plural_name %>:
5
+ title: <%= plural_name.titleize %>
6
+ <%= namespacing.underscore %>:
7
+ <%= plural_name %>:
8
+ new:
9
+ header_message: "Ooops, det oppsto et lite problem"
10
+ message: "Følgende problemer må løses:"
11
+ send: Send melding
12
+ privacy_policy: "Vi respekterer ditt privatliv"
13
+ admin:
14
+ <%= plural_name %>:
15
+ <%= singular_name %>:
16
+ move_<%= singular_name %>_to_closed: Flytt denne forespørselen til lukket
17
+ move_<%= singular_name %>_to_open: Flytt denne forespørselen til åpen
18
+ read_<%= singular_name %>: Les forespørselen
19
+ remove_<%= singular_name %>: "Er du sikker på at du ønsker å slette denne forespørselen fra '%{name}'?"
20
+ title: <%= plural_name.titleize %>
21
+ said: sa
22
+ mark_as_spam: Merk som søppel
23
+ mark_as_ham: Flytt til innboksen
24
+ toggle_status:
25
+ closed: "Forespørselen '%{<%= singular_name %>}' er lukket"
26
+ reopened: "Forespørselen '%{<%= singular_name %>}' er gjenåpnet"
27
+ submenu:
28
+ update_notified: Oppdater hvem som blir informert
29
+ edit_confirmation_email: Rediger bekreftelses e-posten
30
+ index:
31
+ no_<%= plural_name %>: Du har ikke mottatt noen forespørsler enda.
32
+ spam:
33
+ no_spam: Hurra! Du har ikke noen søppelpost.
34
+ show:
35
+ details: Detaljer
36
+ click_to_email: Trykk for å sende e-post
37
+ status: Status
38
+ open: Åpen
39
+ closed: Lukket
40
+ age: Alder
41
+ actions: Handlinger
42
+ back_to_all_<%= plural_name %>: Tilbake til alle forespørslene
43
+ spam: Søppel
44
+ spam_yes: 'ja'
45
+ <%= singular_name %>: <%= class_name.underscore.titleize %>
46
+ title: <%= plural_name.titleize %>
47
+ settings:
48
+ update:
49
+ updated: "'%{setting}' ble endret."
50
+ notification_recipients_form:
51
+ settings_value_name: Send oppdateringer til
52
+ 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."
53
+ hint: "Når en ny forespørsel er lagt inn, så vil Refinery sende deg en e-post for å si i fra."
54
+ example: "Legg inn din(e) e-post adresse(r) slik: jack@jobb.no, jill@kontoret.no"
55
+ confirmation_email_form:
56
+ to: Til
57
+ from: Fra
58
+ subject: Emne
59
+ click_to_edit_subject: Trykk her for å redigere emnet
60
+ 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."
61
+ below_edit_email_sent: Du kan redigere e-posten som blir sendt ut nedenfor.
62
+ the_customer_making_<%= singular_name %>: Kunden som skrev forespørselen
63
+ message: Melding
64
+ note: "Merk: plasser teksten %name% der du ønsker at kundens navn skal vises i e-posten"
65
+ subject_form:
66
+ subject_value_name: Enme
5
67
  activerecord:
6
68
  models:
7
69
  <%= singular_name %>: <%= class_name.underscore.titleize %>
8
70
  setting: Innstillinger for Forespørsler
9
71
  attributes:
10
72
  <%= singular_name %>:
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
- <%= namespacing.underscore %>:
18
- <%= plural_name %>:
19
- new:
20
- header_message: "Ooops, det oppsto et lite problem"
21
- message: "Følgende problemer må løses:"
22
- send: Send melding
23
- privacy_policy: "Vi respekterer ditt privatliv"
24
- admin:
25
- <%= plural_name %>:
26
- <%= singular_name %>:
27
- move_<%= singular_name %>_to_closed: Flytt denne forespørselen til lukket
28
- move_<%= singular_name %>_to_open: Flytt denne forespørselen til åpen
29
- read_<%= singular_name %>: Les forespørselen
30
- remove_<%= singular_name %>: "Er du sikker på at du ønsker å slette denne forespørselen fra '%{name}'?"
31
- title: <%= plural_name.titleize %>
32
- said: sa
33
- mark_as_spam: Merk som søppel
34
- mark_as_ham: Flytt til innboksen
35
- toggle_status:
36
- closed: "Forespørselen '%{<%= singular_name %>}' er lukket"
37
- reopened: "Forespørselen '%{<%= singular_name %>}' er gjenåpnet"
38
- submenu:
39
- update_notified: Oppdater hvem som blir informert
40
- edit_confirmation_email: Rediger bekreftelses e-posten
41
- index:
42
- search_results_for: Søkeresultater for %{query}
43
- no_<%= plural_name %>: Du har ikke mottatt noen forespørsler enda.
44
- spam:
45
- no_spam: Hurra! Du har ikke noen søppelpost.
46
- show:
47
- details: Detaljer
48
- click_to_email: Trykk for å sende e-post
49
- status: Status
50
- open: Åpen
51
- closed: Lukket
52
- age: Alder
53
- actions: Handlinger
54
- back_to_all_<%= plural_name %>: Tilbake til alle forespørslene
55
- spam: Søppel
56
- spam_yes: 'ja'
57
- <%= singular_name %>: <%= class_name.underscore.titleize %>
58
- title: <%= plural_name.titleize %>
59
- settings:
60
- update:
61
- updated: "'%{setting}' ble endret."
62
- notification_recipients_form:
63
- settings_value_name: Send oppdateringer til
64
- 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."
65
- hint: "Når en ny forespørsel er lagt inn, så vil Refinery sende deg en e-post for å si i fra."
66
- example: "Legg inn din(e) e-post adresse(r) slik: jack@jobb.no, jill@kontoret.no"
67
- confirmation_email_form:
68
- to: Til
69
- from: Fra
70
- subject: Emne
71
- click_to_edit_subject: Trykk her for å redigere emnet
72
- 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."
73
- below_edit_email_sent: Du kan redigere e-posten som blir sendt ut nedenfor.
74
- the_customer_making_<%= singular_name %>: Kunden som skrev forespørselen
75
- message: Melding
76
- note: "Merk: plasser teksten %name% der du ønsker at kundens navn skal vises i e-posten"
77
- subject_form:
78
- subject_value_name: Enme
73
+ <% attributes.each do |a| -%>
74
+ <%= a.name %>: <%= a.name.humanize %>
75
+ <% end -%>
@@ -1,71 +1,72 @@
1
1
  nl:
2
- plugins:
3
- <%= plural_name %>:
4
- title: <%= plural_name.titleize %>
5
- <%= namespacing.underscore %>:
6
- <%= plural_name %>:
7
- new:
8
- send: Verstuur uw vraag
9
- privacy_policy: Wij respecteren uw privacy
10
- admin:
2
+ refinery:
3
+ plugins:
11
4
  <%= plural_name %>:
12
- delete: Verwijder deze vraag voorgoed
13
- <%= singular_name %>:
14
- read_<%= singular_name %>: Lees de vraag
15
- said: zei
16
- mark_as_spam: Markeer als spam
17
- mark_as_ham: Verplaats naar de inbox
18
- submenu:
19
- inbox: Inbox
20
- spam: Spam
21
- update_notified: Wijzig wie op de hoogte wordt gesteld van vragen
22
- edit_confirmation_email: Bewerk bevestigings email
23
- index:
24
- no_<%= plural_name %>: Je hebt nog geen vragen ontvangen.
25
- spam:
26
- no_spam: Jeej! Je hebt geen spam.
27
- show:
28
- details: Details
29
- age: Leeftijd
30
- actions: Acties
31
- back_to_all_<%= plural_name %>: Terug naar alle vragen
32
- spam: Spam
33
- spam_yes: ja
34
- <%= singular_name %>: <%= class_name.underscore.titleize %>
35
- to: Aan
36
- from: Van
37
- click_to_email: Klik hier om een e-mail te sturen
38
- phone: Telefoonnummer
39
- date: Datum
40
- message: Bericht
41
- settings:
42
- notification_recipients_form:
43
- settings_value_name: Stuur notificaties naar
44
- 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."
45
- hint: "Vul hierboven een email adres in. Wilt u naar meerdere adressen notificaties sturen? Vul dan meerdere email adressen in gescheiden door comma's"
46
- example: "Bijvoorbeeld: ik@domein.com, vrienden@msn.com, collegas@werk.com"
47
- confirmation_email_form:
48
- to: Aan
5
+ title: <%= plural_name.titleize %>
6
+ <%= namespacing.underscore %>:
7
+ <%= plural_name %>:
8
+ new:
9
+ send: Verstuur uw vraag
10
+ privacy_policy: Wij respecteren uw privacy
11
+ admin:
12
+ <%= plural_name %>:
13
+ delete: Verwijder deze vraag voorgoed
14
+ <%= singular_name %>:
15
+ read_<%= singular_name %>: Lees de vraag
16
+ said: zei
17
+ mark_as_spam: Markeer als spam
18
+ mark_as_ham: Verplaats naar de inbox
19
+ submenu:
20
+ inbox: Inbox
21
+ spam: Spam
22
+ update_notified: Wijzig wie op de hoogte wordt gesteld van vragen
23
+ edit_confirmation_email: Bewerk bevestigings email
24
+ index:
25
+ no_<%= plural_name %>: Je hebt nog geen vragen ontvangen.
26
+ spam:
27
+ no_spam: Jeej! Je hebt geen spam.
28
+ show:
29
+ details: Details
30
+ age: Leeftijd
31
+ actions: Acties
32
+ back_to_all_<%= plural_name %>: Terug naar alle vragen
33
+ spam: Spam
34
+ spam_yes: ja
35
+ <%= singular_name %>: <%= class_name.underscore.titleize %>
36
+ to: Aan
37
+ from: Van
38
+ click_to_email: Klik hier om een e-mail te sturen
39
+ phone: Telefoonnummer
40
+ date: Datum
41
+ message: Bericht
42
+ settings:
43
+ notification_recipients_form:
44
+ settings_value_name: Stuur notificaties naar
45
+ 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."
46
+ hint: "Vul hierboven een email adres in. Wilt u naar meerdere adressen notificaties sturen? Vul dan meerdere email adressen in gescheiden door comma's"
47
+ example: "Bijvoorbeeld: ik@domein.com, vrienden@msn.com, collegas@werk.com"
48
+ confirmation_email_form:
49
+ to: Aan
50
+ from: Van
51
+ subject: Onderwerp
52
+ click_to_edit_subject: Klik hier om het onderwerp bewerken
53
+ 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."
54
+ below_edit_email_sent: Hieronder kun je de email die verzonden wordt bewerken.
55
+ the_customer_making_<%= singular_name %>: De persoon die de heeft vraag gesteld
56
+ message: Bericht
57
+ note: "Notitie: plaats de tekst %name% overal in je email waar je de naam van de vragende persoon wilt invoegen"
58
+ mailer:
59
+ notification:
60
+ greeting: Hallo
61
+ you_recieved_new_<%= singular_name %>: Je hebt een nieuwe vraag via de website ontvangen.
62
+ <%= singular_name %>_starts: --- begin van de vraag---
63
+ <%= singular_name %>_ends: --- einde van de vraag---
49
64
  from: Van
50
- subject: Onderwerp
51
- click_to_edit_subject: Klik hier om het onderwerp bewerken
52
- 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."
53
- below_edit_email_sent: Hieronder kun je de email die verzonden wordt bewerken.
54
- the_customer_making_<%= singular_name %>: De persoon die de heeft vraag gesteld
65
+ email: Email
66
+ phone: Telefoon
55
67
  message: Bericht
56
- note: "Notitie: plaats de tekst %name% overal in je email waar je de naam van de vragende persoon wilt invoegen"
57
- mailer:
58
- notification:
59
- greeting: Hallo
60
- you_recieved_new_<%= singular_name %>: Je hebt een nieuwe vraag via de website ontvangen.
61
- <%= singular_name %>_starts: --- begin van de vraag---
62
- <%= singular_name %>_ends: --- einde van de vraag---
63
- from: Van
64
- email: Email
65
- phone: Telefoon
66
- message: Bericht
67
- closing_line: Vriendelijke groeten,
68
- ps_html: P.S. Alle vragen woren opgeslagen in de "vragen" sectie van uw website.All your <%= plural_name.humanize.downcase %> are stored in the "<%= plural_name.titleize %>" section of Refinery.
68
+ closing_line: Vriendelijke groeten,
69
+ ps_html: P.S. Alle vragen woren opgeslagen in de "vragen" sectie van uw website.All your <%= plural_name.humanize.downcase %> are stored in the "<%= plural_name.titleize %>" section of Refinery.
69
70
  activerecord:
70
71
  models:
71
72
  <%= singular_name %>: <%= class_name.underscore.titleize %>
@@ -1,78 +1,78 @@
1
1
  pt-BR:
2
- plugins:
3
- <%= plural_name %>:
4
- title: <%= plural_name.titleize %>
5
- description: Gerenciar contatos
6
- <%= namespacing.underscore %>:
7
- <%= plural_name %>:
8
- new:
9
- send: Enviar mensagem
10
- privacy_policy: "Nós valorizamos sua privacidade"
11
- admin:
2
+ refinery:
3
+ plugins:
12
4
  <%= plural_name %>:
13
- delete: Remover esta mensagem para sempre
14
- <%= singular_name %>:
15
- read_<%= singular_name %>: Ler a mensagem
16
- said: disse
17
- mark_as_spam: Marcar como spam
18
- mark_as_ham: Marcar como segura
19
- submenu:
20
- inbox: Caixa de Entrada
21
- spam: Spam
22
- update_notified: Atualizar quem recebe a notificação
23
- edit_confirmation_email: Editar email de confirmação
24
- index:
25
- no_<%= plural_name %>: "Não exitem mensagens."
26
- spam:
27
- no_spam: Não existem mensagens de spam.
28
- show:
29
- details: Detalhes
30
- age: Quando
31
- actions: Ações
32
- back_to_all_<%= plural_name %>: Voltar para todas as Mensagens
33
- spam: Spam
34
- spam_yes: 'sim'
35
- <%= singular_name %>: <%= class_name.underscore.titleize %>
36
- to: Para
5
+ title: <%= plural_name.titleize %>
6
+ description: Gerenciar contatos
7
+ <%= namespacing.underscore %>:
8
+ <%= plural_name %>:
9
+ new:
10
+ send: Enviar mensagem
11
+ privacy_policy: "Nós valorizamos sua privacidade"
12
+ admin:
13
+ <%= plural_name %>:
14
+ delete: Remover esta mensagem para sempre
15
+ <%= singular_name %>:
16
+ read_<%= singular_name %>: Ler a mensagem
17
+ said: disse
18
+ mark_as_spam: Marcar como spam
19
+ mark_as_ham: Marcar como segura
20
+ submenu:
21
+ inbox: Caixa de Entrada
22
+ spam: Spam
23
+ update_notified: Atualizar quem recebe a notificação
24
+ edit_confirmation_email: Editar email de confirmação
25
+ index:
26
+ no_<%= plural_name %>: "Não exitem mensagens."
27
+ spam:
28
+ no_spam: Não existem mensagens de spam.
29
+ show:
30
+ details: Detalhes
31
+ age: Quando
32
+ actions: Ações
33
+ back_to_all_<%= plural_name %>: Voltar para todas as Mensagens
34
+ spam: Spam
35
+ spam_yes: 'sim'
36
+ <%= singular_name %>: <%= class_name.underscore.titleize %>
37
+ to: Para
38
+ from: De
39
+ click_to_email: Clique para enviar email
40
+ phone: Telefone
41
+ date: Data
42
+ message: Mensagem
43
+ settings:
44
+ notification_recipients_form:
45
+ settings_value_name: Enviar notificações para
46
+ explanation: "Toda vez que alguém contactar você no seu website, enviamos um email para notificar a essa pessoa o recebimento de uma mensagem."
47
+ 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."
48
+ example: "Digite os endereços da seguinte forma: eu@dominio.com, amigo@msn.com, colegadetrabalho@trabalho.com"
49
+ confirmation_email_form:
50
+ to: Para
51
+ from: De
52
+ subject: Assunto
53
+ click_to_edit_subject: Clique aqui para editar o assunto
54
+ explanation: "Toda vez que alguém contatar você no seu website, enviamos um email para confirmar o recebimento da mensagem para esta pessoa."
55
+ below_edit_email_sent: Abaixo você pode editar o texto a ser enviado no e-mail.
56
+ the_customer_making_<%= singular_name %>: O cliente fazendo o contato
57
+ message: Mensagem
58
+ note: "Nota: posicione o texto %name% onde você desejar que o nome do cliente apareça no email."
59
+ mailer:
60
+ notification:
61
+ greeting: Olá
62
+ you_recieved_new_<%= singular_name %>: Você recebeu um novo contato pelo website.
63
+ <%= singular_name %>_starts: --- começo da mensagem ---
64
+ <%= singular_name %>_ends: --- fim da mensagem ---
37
65
  from: De
38
- click_to_email: Clique para enviar email
66
+ email: Email
39
67
  phone: Telefone
40
- date: Data
41
- message: Mensagem
42
- settings:
43
- notification_recipients_form:
44
- settings_value_name: Enviar notificações para
45
- explanation: "Toda vez que alguém contactar você no seu website, enviamos um email para notificar a essa pessoa o recebimento de uma mensagem."
46
- 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."
47
- example: "Digite os endereços da seguinte forma: eu@dominio.com, amigo@msn.com, colegadetrabalho@trabalho.com"
48
- confirmation_email_form:
49
- to: Para
50
- from: De
51
- subject: Assunto
52
- click_to_edit_subject: Clique aqui para editar o assunto
53
- explanation: "Toda vez que alguém contatar você no seu website, enviamos um email para confirmar o recebimento da mensagem para esta pessoa."
54
- below_edit_email_sent: Abaixo você pode editar o texto a ser enviado no e-mail.
55
- the_customer_making_<%= singular_name %>: O cliente fazendo o contato
56
68
  message: Mensagem
57
- note: "Nota: posicione o texto %name% onde você desejar que o nome do cliente apareça no email."
58
- mailer:
59
- notification:
60
- greeting: Olá
61
- you_recieved_new_<%= singular_name %>: Você recebeu um novo contato pelo website.
62
- <%= singular_name %>_starts: --- começo da mensagem ---
63
- <%= singular_name %>_ends: --- fim da mensagem ---
64
- from: De
65
- email: Email
66
- phone: Telefone
67
- message: Mensagem
68
- closing_line: Atenciosamente
69
- ps_html: OBS. Todos os contatos são armazenados na seção "Contatos" do website.
69
+ closing_line: Atenciosamente
70
+ ps_html: OBS. Todos os contatos são armazenados na seção "Contatos" do website.
70
71
  activerecord:
71
72
  models:
72
73
  <%= singular_name %>: <%= class_name.underscore.titleize %>
73
74
  attributes:
74
75
  <%= singular_name %>:
75
- name: Nome
76
- email: Email
77
- phone: Telefone
78
- message: Mensagem
76
+ <% attributes.each do |a| -%>
77
+ <%= a.name %>: <%= a.name.humanize %>
78
+ <% end -%>