You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fxa-auth-server/lib/senders/emails/templates/subscriptionUpgrade/en.ftl
+34-7
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,40 @@ subscriptionUpgrade-title = Thank you for upgrading!
8
8
# $productName (String) - The name of the new subscribed product, e.g. Mozilla VPN
9
9
subscriptionUpgrade-upgrade-info-2 = You have successfully upgraded to {$productName}.
10
10
11
-
# Variables:
12
-
# $paymentAmountOld (String) - The amount of the previous subscription payment, including currency, e.g. $10.00
13
-
# $paymentAmountNew (String) - The amount of the new subscription payment, including currency, e.g. $10.00
14
-
# $productPaymentCycleNew (String) - The interval of time from the end of one payment statement date to the next payment statement date of the new subscription, e.g. month
15
-
# $productPaymentCycleOld (String) - The interval of time from the end of one payment statement date to the next payment statement date of the old subscription, e.g. month
16
-
# $paymentProrated (String) - The one time fee to reflect the higher charge for the remainder of the payment cycle, including currency, e.g. $10.00
17
-
subscriptionUpgrade-content-charge-info-different-cycle-2 = You have been charged a one-time fee of {$paymentProrated} to reflect your subscription’s higher price for the remainder of this {$productPaymentCycleOld}. Starting with your next bill, your charge will change from {$paymentAmountOld} per {$productPaymentCycleOld} to {$paymentAmountNew} per {$productPaymentCycleNew}.
11
+
## Variables:
12
+
## $paymentAmountOld (String) - The amount of the previous subscription payment, including currency, e.g. $10.00
13
+
## $paymentAmountNew (String) - The amount of the new subscription payment, including currency, e.g. $10.00
14
+
## $productPaymentCycleNew (String) - The interval of time from the end of one payment statement date to the next payment statement date of the new subscription, e.g. month
15
+
## $productPaymentCycleOld (String) - The interval of time from the end of one payment statement date to the next payment statement date of the old subscription, e.g. month
16
+
## $paymentProrated (String) - The one time fee to reflect the higher charge for the remainder of the payment cycle, including currency, e.g. $10.00
17
+
## $productPaymentCycleOldPronoun (String) - The pronoun of the old subscription payment cycle, e.g. this
18
+
subscriptionUpgrade-content-charge-prorated =
19
+
You have been charged a one-time fee of {$paymentProrated} to reflect your subscription’s higher price for the remainder of {$productPaymentCycleOldPronoun->
20
+
[masculine] this
21
+
[feminine] this
22
+
*[other] this
23
+
}{$productPaymentCycleOld->
24
+
[day] day
25
+
[month] month
26
+
[6-month] 6-month
27
+
[year] year
28
+
*[other] billing period
29
+
}.
30
+
subscriptionUpgrade-content-charge-credit = You have received an account credit in the amount of {$paymentProrated}.
31
+
subscriptionUpgrade-content-starting =
32
+
Starting with your next bill, your charge will change from {$paymentAmountOld} per {$productPaymentCycleOld->
33
+
[day] day
34
+
[month] month
35
+
[6-month] 6-month
36
+
[year] year
37
+
*[other] billing period
38
+
} to {$paymentAmountNew} per {$productPaymentCycleNew->
39
+
[day] day
40
+
[month] month
41
+
[6-month] 6-month
42
+
[year] year
43
+
*[other] billing period
44
+
}.
18
45
19
46
# Variables:
20
47
# $productName (String) - The name of the new subscribed product, e.g. Mozilla VPN
Copy file name to clipboardExpand all lines: packages/fxa-auth-server/lib/senders/emails/templates/subscriptionUpgrade/index.mjml
+6-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,12 @@
15
15
</mj-text>
16
16
17
17
<mj-textcss-class="text-body">
18
-
<spandata-l10n-id="subscriptionUpgrade-content-charge-info-different-cycle-2"data-l10n-args="<%= JSON.stringify({paymentAmountNew, paymentAmountOld, paymentProrated, productPaymentCycleNew, productPaymentCycleOld}) %>">You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of this <%- productPaymentCycleOld %>. Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>.</span>
18
+
<%if (locals.paymentProratedInCents <0) { %>
19
+
<span data-l10n-id="subscriptionUpgrade-content-charge-credit" data-l10n-args="<%= JSON.stringify({paymentProrated}) %>">You have received an account credit in the amount of <%- paymentProrated %>.</span>
<span data-l10n-id="subscriptionUpgrade-content-charge-prorated" data-l10n-args="<%= JSON.stringify({paymentProrated, productPaymentCycleOld, productPaymentCycleOldPronoun}) %>">You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of <%- productPaymentCycleOldPronoun %><%- productPaymentCycleOld %>.</span>
22
+
<% } %>
23
+
<spandata-l10n-id="subscriptionUpgrade-content-starting"data-l10n-args="<%= JSON.stringify({paymentAmountNew, paymentAmountOld, productPaymentCycleNew, productPaymentCycleOld}) %>">Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>.</span>
Copy file name to clipboardExpand all lines: packages/fxa-auth-server/lib/senders/emails/templates/subscriptionUpgrade/index.txt
+8-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,14 @@ subscriptionUpgrade-title = "Thank you for upgrading!"
4
4
5
5
subscriptionUpgrade-upgrade-info-2 = "You have successfully upgraded to <%- productName %>."
6
6
7
-
subscriptionUpgrade-content-charge-info-different-cycle-2 = "You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of this <%- productPaymentCycleOld %>. Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>."
7
+
<% if (locals.paymentProratedInCents < 0) { %>
8
+
subscriptionUpgrade-content-charge-credit = "You have received an account credit in the amount of <%- paymentProrated %>."
9
+
<% } else if (locals.paymentProratedInCents > 0) { %>
10
+
subscriptionUpgrade-content-charge-prorated = "You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of <%- productPaymentCycleOldPronoun %> <%- productPaymentCycleOld %>."
11
+
<% } %>
12
+
13
+
subscriptionUpgrade-content-starting = "Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>."
14
+
8
15
9
16
subscriptionUpgrade-existing = "If any of your existing subscriptions overlap with this upgrade, we’ll handle them and send you a separate email with the details. If your new plan includes products that require installation, we’ll send you a separate email with setup instructions."
0 commit comments