@blocklet/payment-react 1.22.32 → 1.23.0

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/es/locales/en.js CHANGED
@@ -235,10 +235,10 @@ export default flat({
235
235
  },
236
236
  credit: {
237
237
  normal: {
238
- oneTime: "You will receive {amount} {symbol} after payment.",
239
- oneTimeWithExpiry: "You will receive {amount} {symbol} after payment, valid for {duration} {unit}.",
240
- recurring: "You will receive {amount} {symbol} {period}.",
241
- recurringWithExpiry: "You will receive {amount} {symbol} {period}, valid for {duration} {unit}."
238
+ oneTime: "Top up {amount} {symbol} credit.",
239
+ oneTimeWithExpiry: "Top up {amount} {symbol} credit, valid for {duration} {unit}.",
240
+ recurring: "Top up {amount} {symbol} credit {period}.",
241
+ recurringWithExpiry: "Top up {amount} {symbol} credit {period}, valid for {duration} {unit}."
242
242
  },
243
243
  pending: {
244
244
  notEnough: "Your outstanding balance is {amount} {symbol}. To settle it, a minimum purchase of {quantity} units is required.",
package/es/locales/zh.js CHANGED
@@ -272,10 +272,10 @@ export default flat({
272
272
  },
273
273
  credit: {
274
274
  normal: {
275
- oneTime: "\u4ED8\u6B3E\u5B8C\u6210\u540E\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\u3002",
276
- oneTimeWithExpiry: "\u4ED8\u6B3E\u5B8C\u6210\u540E\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002",
277
- recurring: "\u4ED8\u6B3E\u5B8C\u6210\u540E\uFF0C{period}\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\u3002",
278
- recurringWithExpiry: "\u4ED8\u6B3E\u5B8C\u6210\u540E\uFF0C{period}\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002"
275
+ oneTime: "\u5145\u503C {amount} {symbol} \u989D\u5EA6\u3002",
276
+ oneTimeWithExpiry: "\u5145\u503C {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002",
277
+ recurring: "{period}\u5145\u503C {amount} {symbol} \u989D\u5EA6\u3002",
278
+ recurringWithExpiry: "{period}\u5145\u503C {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002"
279
279
  },
280
280
  pending: {
281
281
  notEnough: "\u60A8\u5F53\u524D\u6B20\u8D39 {amount} {symbol}\uFF0C\u81F3\u5C11\u9700\u8981\u8D2D\u4E70 {quantity} \u6570\u91CF\u3002",
package/lib/locales/en.js CHANGED
@@ -242,10 +242,10 @@ module.exports = (0, _flat.default)({
242
242
  },
243
243
  credit: {
244
244
  normal: {
245
- oneTime: "You will receive {amount} {symbol} after payment.",
246
- oneTimeWithExpiry: "You will receive {amount} {symbol} after payment, valid for {duration} {unit}.",
247
- recurring: "You will receive {amount} {symbol} {period}.",
248
- recurringWithExpiry: "You will receive {amount} {symbol} {period}, valid for {duration} {unit}."
245
+ oneTime: "Top up {amount} {symbol} credit.",
246
+ oneTimeWithExpiry: "Top up {amount} {symbol} credit, valid for {duration} {unit}.",
247
+ recurring: "Top up {amount} {symbol} credit {period}.",
248
+ recurringWithExpiry: "Top up {amount} {symbol} credit {period}, valid for {duration} {unit}."
249
249
  },
250
250
  pending: {
251
251
  notEnough: "Your outstanding balance is {amount} {symbol}. To settle it, a minimum purchase of {quantity} units is required.",
package/lib/locales/zh.js CHANGED
@@ -279,10 +279,10 @@ module.exports = (0, _flat.default)({
279
279
  },
280
280
  credit: {
281
281
  normal: {
282
- oneTime: "\u4ED8\u6B3E\u5B8C\u6210\u540E\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\u3002",
283
- oneTimeWithExpiry: "\u4ED8\u6B3E\u5B8C\u6210\u540E\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002",
284
- recurring: "\u4ED8\u6B3E\u5B8C\u6210\u540E\uFF0C{period}\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\u3002",
285
- recurringWithExpiry: "\u4ED8\u6B3E\u5B8C\u6210\u540E\uFF0C{period}\u60A8\u5C06\u83B7\u5F97 {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002"
282
+ oneTime: "\u5145\u503C {amount} {symbol} \u989D\u5EA6\u3002",
283
+ oneTimeWithExpiry: "\u5145\u503C {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002",
284
+ recurring: "{period}\u5145\u503C {amount} {symbol} \u989D\u5EA6\u3002",
285
+ recurringWithExpiry: "{period}\u5145\u503C {amount} {symbol} \u989D\u5EA6\uFF0C\u6709\u6548\u671F {duration} {unit}\u3002"
286
286
  },
287
287
  pending: {
288
288
  notEnough: "\u60A8\u5F53\u524D\u6B20\u8D39 {amount} {symbol}\uFF0C\u81F3\u5C11\u9700\u8981\u8D2D\u4E70 {quantity} \u6570\u91CF\u3002",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.22.32",
3
+ "version": "1.23.0",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -96,7 +96,7 @@
96
96
  "@babel/core": "^7.27.4",
97
97
  "@babel/preset-env": "^7.27.2",
98
98
  "@babel/preset-react": "^7.27.1",
99
- "@blocklet/payment-types": "1.22.32",
99
+ "@blocklet/payment-types": "1.23.0",
100
100
  "@storybook/addon-essentials": "^7.6.20",
101
101
  "@storybook/addon-interactions": "^7.6.20",
102
102
  "@storybook/addon-links": "^7.6.20",
@@ -127,5 +127,5 @@
127
127
  "vite-plugin-babel": "^1.3.1",
128
128
  "vite-plugin-node-polyfills": "^0.23.0"
129
129
  },
130
- "gitHead": "4b5eac2af9a6a10a4f971f7dcbe220e8049d0cc7"
130
+ "gitHead": "d791ace5b095ff78f4b7328dac8a9575e6b2e265"
131
131
  }
@@ -241,10 +241,10 @@ export default flat({
241
241
  },
242
242
  credit: {
243
243
  normal: {
244
- oneTime: 'You will receive {amount} {symbol} after payment.',
245
- oneTimeWithExpiry: 'You will receive {amount} {symbol} after payment, valid for {duration} {unit}.',
246
- recurring: 'You will receive {amount} {symbol} {period}.',
247
- recurringWithExpiry: 'You will receive {amount} {symbol} {period}, valid for {duration} {unit}.',
244
+ oneTime: 'Top up {amount} {symbol} credit.',
245
+ oneTimeWithExpiry: 'Top up {amount} {symbol} credit, valid for {duration} {unit}.',
246
+ recurring: 'Top up {amount} {symbol} credit {period}.',
247
+ recurringWithExpiry: 'Top up {amount} {symbol} credit {period}, valid for {duration} {unit}.',
248
248
  },
249
249
  pending: {
250
250
  notEnough:
@@ -275,10 +275,10 @@ export default flat({
275
275
  },
276
276
  credit: {
277
277
  normal: {
278
- oneTime: '付款完成后您将获得 {amount} {symbol} 额度。',
279
- oneTimeWithExpiry: '付款完成后您将获得 {amount} {symbol} 额度,有效期 {duration} {unit}。',
280
- recurring: '付款完成后,{period}您将获得 {amount} {symbol} 额度。',
281
- recurringWithExpiry: '付款完成后,{period}您将获得 {amount} {symbol} 额度,有效期 {duration} {unit}。',
278
+ oneTime: '充值 {amount} {symbol} 额度。',
279
+ oneTimeWithExpiry: '充值 {amount} {symbol} 额度,有效期 {duration} {unit}。',
280
+ recurring: '{period}充值 {amount} {symbol} 额度。',
281
+ recurringWithExpiry: '{period}充值 {amount} {symbol} 额度,有效期 {duration} {unit}。',
282
282
  },
283
283
  pending: {
284
284
  notEnough: '您当前欠费 {amount} {symbol},至少需要购买 {quantity} 数量。',