@meterbox/react 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/TrialBanner.js +1 -1
- package/src/i18n.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meterbox/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Embeddable React components for Meterbox: pricing tables, subscription preview, credit balance and usage charts. Presentational by default, with data fetched by your backend via @meterbox/node.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://meterbox.ai",
|
package/src/TrialBanner.js
CHANGED
|
@@ -97,7 +97,7 @@ function TrialBanner({
|
|
|
97
97
|
const remaining = daysRemaining(data.trial_ends_at);
|
|
98
98
|
const expired = remaining <= 0;
|
|
99
99
|
const text = expired
|
|
100
|
-
? "Your trial has ended
|
|
100
|
+
? "Your trial has ended. Upgrade now to keep your plan active."
|
|
101
101
|
: `Your trial ends in ${remaining} day${remaining === 1 ? "" : "s"}.`;
|
|
102
102
|
|
|
103
103
|
return React.createElement(
|
package/src/i18n.js
CHANGED
|
@@ -41,7 +41,7 @@ const en = {
|
|
|
41
41
|
"plans.loading": "Loading plans…",
|
|
42
42
|
"plans.error": "Could not load plans.",
|
|
43
43
|
"plans.annualNote":
|
|
44
|
-
"Cost preview isn't available for annual billing yet
|
|
44
|
+
"Cost preview isn't available for annual billing yet. The amount due will be confirmed at checkout.",
|
|
45
45
|
"plans.noFixedPrice": "{plan} has no fixed price. Get in touch to move to it.",
|
|
46
46
|
|
|
47
47
|
"cancel.button": "Cancel subscription",
|