Updated price description to sentence case

closes https://github.com/TryGhost/Team/issues/680

We use sentence case for labels everywhere, updating price descriptions to use the same.
This commit is contained in:
Rishabh 2021-05-10 18:48:24 +05:30
parent a1aa9be287
commit 76319c2717
2 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ export default class GhLaunchWizardSetPricingComponent extends Component {
nickname: 'Monthly',
amount: this.stripeMonthlyAmount * 100,
active: 1,
description: 'Full Access',
description: 'Full access',
currency: this.currency,
interval: 'month',
type: 'recurring'
@ -171,7 +171,7 @@ export default class GhLaunchWizardSetPricingComponent extends Component {
amount: this.stripeYearlyAmount * 100,
active: 1,
currency: this.currency,
description: yearlyDiscount > 0 ? `${yearlyDiscount}% discount` : 'Full Access',
description: yearlyDiscount > 0 ? `${yearlyDiscount}% discount` : 'Full access',
interval: 'month',
type: 'recurring'
}

View File

@ -5,7 +5,7 @@ export default EmberObject.extend({
stripe_price_id: 'ID of the Stripe Price',
stripe_product_id: 'ID of the Stripe Product the Stripe Price is associated with',
nickname: 'price nickname e.g. "Monthly"',
description: 'price description e.g. "Full Access"',
description: 'price description e.g. "Full access"',
amount: 'amount in smallest denomination e.g. cents, so value for 5 dollars would be 500',
currency: 'e.g. usd',
type: 'either one_time or recurring',