refinerycms-inquiries 0.9.9.5 → 0.9.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,77 @@
1
+ lt:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Užklausos
5
+ description: Suteikia kontaktų formą ir saugo užklausas
6
+ inquiries:
7
+ new:
8
+ send: Siųsti žinutę
9
+ privacy_policy: Mes vertiname jūsų privatumą
10
+ admin:
11
+ inquiries:
12
+ delete: Pašalinti šią užklausą visam laikui
13
+ inquiry:
14
+ read_inquiry: Skaityti užklausą
15
+ said: pasakė
16
+ mark_as_spam: Pažymėti kaip šlamštą
17
+ mark_as_ham: Perkelti prie Gautų laiškų
18
+ submenu:
19
+ inbox: Gautieji
20
+ spam: Šlamštas
21
+ update_notified: Pakeiskite, kas gauna pranešimus
22
+ edit_confirmation_email: Redaguoti patvirtinimo laišką
23
+ index:
24
+ no_inquiries: Kol kas nėra jokių užklausų.
25
+ spam:
26
+ no_spam: Valio! Jūs neturite jokio spamo.
27
+ show:
28
+ details: Smulkesnė informacija
29
+ age: Amžius
30
+ actions: Veiksmai
31
+ back_to_all_inquiries: Grįžti į visas užklausas
32
+ spam: Šlamštas
33
+ spam_yes: 'taip'
34
+ inquiry: Užklausa
35
+ to: Kam
36
+ from: Nuo
37
+ click_to_email: Paspauskite norėdami siųsti laišką šiuo adresu
38
+ phone: Telefonas
39
+ date: Data
40
+ message: Žinutė
41
+ inquiry_settings:
42
+ notification_recipients_form:
43
+ inquiry_settings_value_name: Siųsti pranešimus į
44
+ hint: Kai užpildoma nauja užklausa, Refinery jums atsiųs pranešimą.
45
+ example: "Įveskite savo el. pašto adresą(us) pvz: jonas@imone.lt, petras@office.com"
46
+ confirmation_email_form:
47
+ to: Kam
48
+ from: Nuo
49
+ subject: Tema
50
+ click_to_edit_subject: Norėdami keisti temą spauskite čia
51
+ explanation: Kas kart kai kas nors kontaktuos su Jumis svetainėje, Refinery išsiųs patvirtinimo laišką užklausos siuntėjui.
52
+ below_edit_email_sent: Žemiau galite redaguoti laišką kuris bus siunčiamas.
53
+ the_customer_making_inquiry: Klientas siunčiantis užklausą
54
+ message: Message
55
+ note: "Note: place the text %name% where you'd like the customer's name to appear in the email"
56
+ note: "Pastaba: įterpkite tekstą %name% kur norėtumėte matyti kliento vardą laiške"
57
+ inquiry_mailer:
58
+ notification:
59
+ greeting: Sveiki
60
+ you_recieved_new_inquiry: Jūs katik gavote naują užklausą savo svetainėje.
61
+ inquiry_starts: --- užklausa prasideda ---
62
+ inquiry_ends: --- užklausa baigiasi ---
63
+ from: Nuo
64
+ email: El. paštas
65
+ phone: Telefonas
66
+ message: Žinutė
67
+ closing_line: Pagarbiai
68
+ ps: P.S. Visos užklausos yra saugomos skiltyje "Užklausos", jei kada vėliau norėsite jas peržiūrėti.
69
+ activerecord:
70
+ models:
71
+ inquiry: užklausa
72
+ attributes:
73
+ inquiry:
74
+ name: Vardas
75
+ email: El. paštas
76
+ phone: Telefonas
77
+ message: Žinutė
@@ -0,0 +1,32 @@
1
+ class CreateInquiries < ActiveRecord::Migration
2
+ def self.up
3
+ create_table ::Inquiry.table_name, :force => true do |t|
4
+ t.string "name"
5
+ t.string "email"
6
+ t.string "phone"
7
+ t.text "message"
8
+ t.integer "position"
9
+ t.boolean "open", :default => true
10
+ t.datetime "created_at"
11
+ t.datetime "updated_at"
12
+ t.boolean "spam", :default => false
13
+ end
14
+
15
+ # todo: remove at 1.0
16
+ create_table ::InquirySetting.table_name, :force => true do |t|
17
+ t.string "name"
18
+ t.text "value"
19
+ t.boolean "destroyable"
20
+ t.datetime "created_at"
21
+ t.datetime "updated_at"
22
+ end
23
+
24
+ add_index ::Inquiry.table_name, :id
25
+ end
26
+
27
+ def self.down
28
+ remove_table ::Inquiry.table_name
29
+ # todo: remove at 1.0
30
+ remove_table ::InquirySetting.table_name
31
+ end
32
+ end
@@ -0,0 +1,44 @@
1
+ contact_us_page = Page.create({
2
+ :title => "Contact",
3
+ :link_url => "/contact",
4
+ :menu_match => "^/(inquiries|contact).*$",
5
+ :deletable => false,
6
+ :position => (page_position += 1)
7
+ })
8
+ contact_us_page.parts.create({
9
+ :title => "Body",
10
+ :body => "<p>Get in touch with us. Just use the form below and we'll get back to you as soon as we can.</p>",
11
+ :position => 0
12
+ })
13
+ contact_us_page.parts.create({
14
+ :title => "Side Body",
15
+ :body => "<p>163 Evergreen Terrace<br/>Happyville<br/>USA.<br/>Phone: 1-800 CALLUSNOW</p>",
16
+ :position => 1
17
+ })
18
+ contact_us_page_position = -1
19
+
20
+ thank_you_page = contact_us_page.children.create({
21
+ :title => "Thank You",
22
+ :link_url => "/contact/thank_you",
23
+ :menu_match => "^/(inquiries|contact)/thank_you$",
24
+ :show_in_menu => false,
25
+ :deletable => false,
26
+ :position => (contact_us_page_position += 1)
27
+ })
28
+ thank_you_page.parts.create({
29
+ :title => "Body",
30
+ :body => "<p>We've received your inquiry and will get back to you with a response shortly.</p><p><a href='/'>Return to the home page</a></p>",
31
+ :position => 0
32
+ })
33
+
34
+ privacy_policy_page = contact_us_page.children.create({
35
+ :title => "Privacy Policy",
36
+ :deletable => true,
37
+ :show_in_menu => false,
38
+ :position => (contact_us_page_position += 1)
39
+ })
40
+ privacy_policy_page.parts.create({
41
+ :title => "Body",
42
+ :body => "<p>We respect your privacy. We do not market, rent or sell our email list to any outside parties.</p><p>We need your e-mail address so that we can ensure that the people using our forms are bona fide. It also allows us to send you e-mail newsletters and other communications, if you opt-in. Your postal address is required in order to send you information and pricing, if you request it.</p><p>Please call us at 123 456 7890 if you have any questions or concerns.</p>",
43
+ :position => 0
44
+ })
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.9.5'
2
+ version = '0.9.9.6'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem$/
@@ -0,0 +1,6 @@
1
+ class RefinerycmsInquiries < Refinery::Generators::EngineInstaller
2
+
3
+ source_root File.expand_path('../../', __FILE__)
4
+ engine_name "refinery_inquiries"
5
+
6
+ end
@@ -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.5}
4
- s.date = %q{2010-11-19}
3
+ s.version = %q{0.9.9.6}
4
+ s.date = %q{2010-11-30}
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}
@@ -50,6 +50,7 @@ Gem::Specification.new do |s|
50
50
  'config/locales/fr.yml',
51
51
  'config/locales/it.yml',
52
52
  'config/locales/lolcat.yml',
53
+ 'config/locales/lt.yml',
53
54
  'config/locales/lv.yml',
54
55
  'config/locales/nb.yml',
55
56
  'config/locales/nl.yml',
@@ -59,6 +60,11 @@ Gem::Specification.new do |s|
59
60
  'config/locales/sv.yml',
60
61
  'config/locales/zh-CN.yml',
61
62
  'config/routes.rb',
63
+ 'db',
64
+ 'db/migrate',
65
+ 'db/migrate/create_inquiries.rb',
66
+ 'db/seeds',
67
+ 'db/seeds/inquiries.rb',
62
68
  'features',
63
69
  'features/create_inquiries.feature',
64
70
  'features/manage_inquiries.feature',
@@ -69,6 +75,8 @@ Gem::Specification.new do |s|
69
75
  'features/support/paths.rb',
70
76
  'lib',
71
77
  'lib/gemspec.rb',
78
+ 'lib/generators',
79
+ 'lib/generators/refinerycms_inquiries_generator.rb',
72
80
  'lib/inquiries.rb',
73
81
  'lib/refinerycms-inquiries.rb',
74
82
  'license.md',
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 9
9
- - 5
10
- version: 0.9.9.5
9
+ - 6
10
+ version: 0.9.9.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-19 00:00:00 +13:00
18
+ date: 2010-11-30 00:00:00 +13:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -67,6 +67,7 @@ files:
67
67
  - config/locales/fr.yml
68
68
  - config/locales/it.yml
69
69
  - config/locales/lolcat.yml
70
+ - config/locales/lt.yml
70
71
  - config/locales/lv.yml
71
72
  - config/locales/nb.yml
72
73
  - config/locales/nl.yml
@@ -76,12 +77,15 @@ files:
76
77
  - config/locales/sv.yml
77
78
  - config/locales/zh-CN.yml
78
79
  - config/routes.rb
80
+ - db/migrate/create_inquiries.rb
81
+ - db/seeds/inquiries.rb
79
82
  - features/create_inquiries.feature
80
83
  - features/manage_inquiries.feature
81
84
  - features/step_definitions/inquiry_steps.rb
82
85
  - features/support/factories.rb
83
86
  - features/support/paths.rb
84
87
  - lib/gemspec.rb
88
+ - lib/generators/refinerycms_inquiries_generator.rb
85
89
  - lib/inquiries.rb
86
90
  - lib/refinerycms-inquiries.rb
87
91
  - license.md