saucy 0.2.30 → 0.2.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,10 +20,10 @@ class BillingMailer < ActionMailer::Base
20
20
 
21
21
  def expiring_trial(account)
22
22
  @account = account
23
- mail(:to => account.customer.email,
24
- :subject => I18n.t(:subject,
25
- :scope => [:saucy, :mailers, :billing_mailer, :expiring_tiral],
26
- :default => "Your trial is expiring soon"),
27
- :from => Saucy::Configuration.mailer_sender)
23
+ mail(:to => account.customer.email,
24
+ :subject => I18n.t(:subject,
25
+ :scope => [:billing_mailer, :expiring_tiral],
26
+ :default => "Your trial is expiring soon"),
27
+ :from => Saucy::Configuration.mailer_sender)
28
28
  end
29
29
  end
@@ -1,16 +1,12 @@
1
- Thanks for giving us a try!
1
+ <%= t(".greeting") %>
2
2
 
3
- Your 30 day trial for <%= @account.name %> is expiring soon. We hope that
4
- you've enjoyed <%= t("app_name") %> enough to sign up for a paid subscription.
5
- If you'd like to continue using your account, please take a moment to choose
6
- a paid plan:
3
+ <%= t(".expiration_notice",
4
+ :account_name => @account.name,
5
+ :app_name => t("app_name")) %>
7
6
 
8
7
  <%= edit_account_plan_url(@account) %>
9
8
 
10
- If you need more time to evaluate <%= t("app_name") %> or you have any questions,
11
- please don't hesitate to contact us.
12
-
13
- <%= t("support_contact_info") %>
9
+ <%= t(".contact", :app_name => t("app_name")) %>
14
10
 
15
11
  ============================================================
16
12
 
@@ -2,7 +2,6 @@ en:
2
2
  app_name: App Name
3
3
  app_url: 'http://example.com'
4
4
  support_email: support@example.com
5
- supprt_contact_info: support@example.com
6
5
  saucy:
7
6
  billing_address: Billing Address
8
7
  errors:
@@ -12,4 +11,9 @@ en:
12
11
  expired:
13
12
  admin: Your account's trial has expired. Please upgrade to another plan.
14
13
  user: This account's trial has expired. Please have an administrator on the account upgrade to another plan.
14
+ billing_mailer:
15
+ expiring_trial:
16
+ greeting: Thanks for giving us a try!
17
+ expiration_notice: "Your 30 day trial for %{account_name} is expiring soon. I hope that you've enjoyed %{app_name} enough to sign up for a paid subscription. If you'd like to continue using your account, please take a moment to choose a paid plan:"
18
+ contact: "If you need more time to evaluate %{app_name} or you have any questions, please don't hesitate to contact me."
15
19
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 30
10
- version: 0.2.30
9
+ - 31
10
+ version: 0.2.31
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.