@blocklet/payment-react 1.22.31 → 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 +4 -4
- package/es/locales/zh.js +4 -4
- package/lib/locales/en.js +4 -4
- package/lib/locales/zh.js +4 -4
- package/package.json +3 -3
- package/src/locales/en.tsx +4 -4
- package/src/locales/zh.tsx +4 -4
package/es/locales/en.js
CHANGED
|
@@ -235,10 +235,10 @@ export default flat({
|
|
|
235
235
|
},
|
|
236
236
|
credit: {
|
|
237
237
|
normal: {
|
|
238
|
-
oneTime: "
|
|
239
|
-
oneTimeWithExpiry: "
|
|
240
|
-
recurring: "
|
|
241
|
-
recurringWithExpiry: "
|
|
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: "\
|
|
276
|
-
oneTimeWithExpiry: "\
|
|
277
|
-
recurring: "
|
|
278
|
-
recurringWithExpiry: "
|
|
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: "
|
|
246
|
-
oneTimeWithExpiry: "
|
|
247
|
-
recurring: "
|
|
248
|
-
recurringWithExpiry: "
|
|
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: "\
|
|
283
|
-
oneTimeWithExpiry: "\
|
|
284
|
-
recurring: "
|
|
285
|
-
recurringWithExpiry: "
|
|
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.
|
|
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.
|
|
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": "
|
|
130
|
+
"gitHead": "d791ace5b095ff78f4b7328dac8a9575e6b2e265"
|
|
131
131
|
}
|
package/src/locales/en.tsx
CHANGED
|
@@ -241,10 +241,10 @@ export default flat({
|
|
|
241
241
|
},
|
|
242
242
|
credit: {
|
|
243
243
|
normal: {
|
|
244
|
-
oneTime: '
|
|
245
|
-
oneTimeWithExpiry: '
|
|
246
|
-
recurring: '
|
|
247
|
-
recurringWithExpiry: '
|
|
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:
|
package/src/locales/zh.tsx
CHANGED
|
@@ -275,10 +275,10 @@ export default flat({
|
|
|
275
275
|
},
|
|
276
276
|
credit: {
|
|
277
277
|
normal: {
|
|
278
|
-
oneTime: '
|
|
279
|
-
oneTimeWithExpiry: '
|
|
280
|
-
recurring: '
|
|
281
|
-
recurringWithExpiry: '
|
|
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} 数量。',
|