Skip to content

subscriptionRenewalReminder-content-charge uses hard-coded English values for subscription interval #19956

@bcolsson

Description

@bcolsson

The recently changed string has subscriptionRenewalReminder-content-charge highlighted an old issue (originally raised in #8889) in subscription renewal reminder emails. The following string has a variable hardcoded in English, so a localized string will display with a mix of English and translated text. The text itself also seems out of date - for example, our strings for subscription plans generally have patterns for daily, weekly, monthly, halfyearly (6-month), and yearly only.

Fluent string:
subscriptionRenewalReminder-content-charge = At that time, { -brand-mozilla } will renew your { $planIntervalCount } { $planInterval } subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

For example, the string will display the below Italian:
A quel punto, Mozilla rinnoverà il tuo abbonamento 1 month e verrà applicato un addebito di $20.00 al metodo di pagamento sul tuo account.

We should update the string for proper localization and to match our other subscription plan lengths, for example:

subscriptionRenewalReminder-content-charge-daily = At that time, { -brand-mozilla } will renew your daily subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

subscriptionRenewalReminder-content-charge-weekly = At that time, { -brand-mozilla } will renew your weekly subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

subscriptionRenewalReminder-content-charge-monthly = At that time, { -brand-mozilla } will renew your monthly subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

subscriptionRenewalReminder-content-charge-halfyearly = At that time, { -brand-mozilla } will renew your 6-monthly subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

subscriptionRenewalReminder-content-charge-yearly = At that time, { -brand-mozilla } will renew your yearly subscription and a charge of { $invoiceTotal } will be applied to the payment method on your account.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions