@automattic/calypso-products
Version:
This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.
38 lines • 1.91 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPlanCommerceTrialTitle = exports.getPlanBusinessTrialTagline = exports.getPlanBusinessTrialTitle = exports.getPlanEcommerceTitle = exports.getPlanBusinessTitle = exports.getPlanPremiumTitle = exports.getPlanPersonalTitle = void 0;
const tslib_1 = require("tslib");
const i18n_calypso_1 = tslib_1.__importDefault(require("i18n-calypso"));
/**
* Extracted functions to avoid Calypso apps from depending on the PLANS_LIST object.
* See: p7H4VZ-4S4-p2
*/
const getPlanPersonalTitle = () =>
// translators: Personal is a plan name
i18n_calypso_1.default.translate('Personal');
exports.getPlanPersonalTitle = getPlanPersonalTitle;
const getPlanPremiumTitle = () =>
// translators: Premium is a plan name
i18n_calypso_1.default.translate('Premium');
exports.getPlanPremiumTitle = getPlanPremiumTitle;
const getPlanBusinessTitle = () =>
// translators: Business is a plan name
i18n_calypso_1.default.translate('Business');
exports.getPlanBusinessTitle = getPlanBusinessTitle;
const getPlanEcommerceTitle = () =>
// translators: Commerce is a plan name
i18n_calypso_1.default.translate('Commerce');
exports.getPlanEcommerceTitle = getPlanEcommerceTitle;
const getPlanBusinessTrialTitle = () =>
// translators: Business Trial is a plan name
i18n_calypso_1.default.translate('Business Trial');
exports.getPlanBusinessTrialTitle = getPlanBusinessTrialTitle;
const getPlanBusinessTrialTagline = () =>
// translators: Business is a plan name
i18n_calypso_1.default.translate('Try all the features of our Business plan.');
exports.getPlanBusinessTrialTagline = getPlanBusinessTrialTagline;
const getPlanCommerceTrialTitle = () =>
// translators: Commerce Trial is a plan name
i18n_calypso_1.default.translate('Commerce Trial');
exports.getPlanCommerceTrialTitle = getPlanCommerceTrialTitle;
//# sourceMappingURL=plans.js.map