diff options
author | 2019-10-16 10:22:00 +0200 | |
---|---|---|
committer | 2019-10-16 10:22:00 +0200 | |
commit | ba578b8a6df8d31136fb170e78b70a71dad85e31 (patch) | |
tree | a8c980cc83e6014fd7befefd240b8364d40447d3 /src/components/auth | |
parent | plan selection polishing (diff) | |
download | ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.tar.gz ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.tar.zst ferdium-app-ba578b8a6df8d31136fb170e78b70a71dad85e31.zip |
polishing
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/Pricing.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/auth/Pricing.js b/src/components/auth/Pricing.js index 40ce49814..67af04470 100644 --- a/src/components/auth/Pricing.js +++ b/src/components/auth/Pricing.js | |||
@@ -32,6 +32,10 @@ const messages = defineMessages({ | |||
32 | id: 'pricing.trial.terms.automaticTrialEnd', | 32 | id: 'pricing.trial.terms.automaticTrialEnd', |
33 | defaultMessage: '!!!Your free trial ends automatically after 14 days', | 33 | defaultMessage: '!!!Your free trial ends automatically after 14 days', |
34 | }, | 34 | }, |
35 | trialWorth: { | ||
36 | id: 'pricing.trial.terms.trialWorth', | ||
37 | defaultMessage: '!!!Free trial (normally {currency}{price} per month)', | ||
38 | }, | ||
35 | activationError: { | 39 | activationError: { |
36 | id: 'pricing.trial.error', | 40 | id: 'pricing.trial.error', |
37 | defaultMessage: '!!!Sorry, we could not activate your trial!', | 41 | defaultMessage: '!!!Sorry, we could not activate your trial!', |
@@ -104,6 +108,8 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
104 | trialActivationError: PropTypes.bool.isRequired, | 108 | trialActivationError: PropTypes.bool.isRequired, |
105 | canSkipTrial: PropTypes.bool.isRequired, | 109 | canSkipTrial: PropTypes.bool.isRequired, |
106 | classes: PropTypes.object.isRequired, | 110 | classes: PropTypes.object.isRequired, |
111 | currency: PropTypes.string.isRequired, | ||
112 | price: PropTypes.number.isRequired, | ||
107 | }; | 113 | }; |
108 | 114 | ||
109 | static contextTypes = { | 115 | static contextTypes = { |
@@ -118,6 +124,8 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
118 | trialActivationError, | 124 | trialActivationError, |
119 | canSkipTrial, | 125 | canSkipTrial, |
120 | classes, | 126 | classes, |
127 | currency, | ||
128 | price, | ||
121 | } = this.props; | 129 | } = this.props; |
122 | const { intl } = this.context; | 130 | const { intl } = this.context; |
123 | 131 | ||
@@ -156,6 +164,13 @@ export default @observer @injectSheet(styles) class Signup extends Component { | |||
156 | {intl.formatMessage(messages.noStringsAttachedHeadline)} | 164 | {intl.formatMessage(messages.noStringsAttachedHeadline)} |
157 | </H2> | 165 | </H2> |
158 | <ul className={classes.keyTermsList}> | 166 | <ul className={classes.keyTermsList}> |
167 | <FeatureItem | ||
168 | icon="👉" | ||
169 | name={intl.formatMessage(messages.trialWorth, { | ||
170 | currency, | ||
171 | price, | ||
172 | })} | ||
173 | /> | ||
159 | <FeatureItem icon="👉" name={intl.formatMessage(messages.noCreditCard)} /> | 174 | <FeatureItem icon="👉" name={intl.formatMessage(messages.noCreditCard)} /> |
160 | <FeatureItem icon="👉" name={intl.formatMessage(messages.automaticTrialEnd)} /> | 175 | <FeatureItem icon="👉" name={intl.formatMessage(messages.automaticTrialEnd)} /> |
161 | </ul> | 176 | </ul> |