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:
parent
fe9b01910d
commit
687b83ed39
1 changed files with 10 additions and 7 deletions
|
@ -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('')
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue