0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00

Update EmailRenderer.js

This commit is contained in:
Hannah Wolfe 2024-10-30 20:32:45 +00:00 committed by GitHub
parent fe9b01910d
commit 687b83ed39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,15 +12,18 @@ const {EmailAddressParser} = require('@tryghost/email-addresses');
const {registerHelpers} = require('./helpers/register-helpers');
const crypto = require('crypto');
// Wrapper function so that i18next-parser can find these strings
const t = (x) => return x;
const messages = {
subscriptionStatus: {
free: '',
expired: 'Your subscription has expired.',
canceled: 'Your subscription has been canceled and will expire on {date}. You can resume your subscription via your account settings.',
active: 'Your subscription will renew on {date}.',
trial: 'Your free trial ends on {date}, at which time you will be charged the regular price. You can always cancel before then.',
complimentaryExpires: 'Your subscription will expire on {date}.',
complimentaryInfinite: ''
free: t(''),
expired: t('Your subscription has expired.'),
canceled: t('Your subscription has been canceled and will expire on {date}. You can resume your subscription via your account settings.'),
active: t('Your subscription will renew on {date}.'),
trial: t('Your free trial ends on {date}, at which time you will be charged the regular price. You can always cancel before then.'),
complimentaryExpires: t('Your subscription will expire on {date}.'),
complimentaryInfinite: t('')
}
};