feat(payment): enhance payment method configuration with icons and improve UI interactions

This commit is contained in:
CaIon
2026-06-17 20:47:24 +08:00
parent a2f3ac02e4
commit 2154fce094
17 changed files with 1437 additions and 904 deletions
+22
View File
@@ -20,6 +20,7 @@
"(Override all channels' models)": "(Override all channels' models)",
"[{\"ChatGPT\":\"https://chat.openai.com\"},{\"Lobe Chat\":\"https://chat-preview.lobehub.com/?settings={...}\"}]": "[{\"ChatGPT\":\"https://chat.openai.com\"},{\"Lobe Chat\":\"https://chat-preview.lobehub.com/?settings={...}\"}]",
"[{\"name\":\"支付宝\",\"type\":\"alipay\",\"color\":\"#1677FF\"}]": "[{\"name\":\"Alipay\",\"type\":\"alipay\",\"color\":\"#1677FF\"}]",
"[{\"name\":\"支付宝\",\"type\":\"alipay\",\"icon\":\"SiAlipay\"}]": "[{\"name\":\"Alipay\",\"type\":\"alipay\",\"icon\":\"SiAlipay\"}]",
"{\"original-model\": \"replacement-model\"}": "{\"original-model\": \"replacement-model\"}",
"{{category}} Models": "{{category}} Models",
"{{completed}}/{{total}} completed": "{{completed}}/{{total}} completed",
@@ -876,6 +877,7 @@
"Configure Waffo payment aggregation platform integration": "Configure Waffo payment aggregation platform integration",
"Configure your account behavior preferences": "Configure your account behavior preferences",
"Configure your account preferences and integrations": "Configure your account preferences and integrations",
"Configured as PayMethods JSON. The type value decides which payment flow is used: stripe for Stripe, waffo_pancake for Waffo Pancake, and other values are sent to Epay as the type parameter.": "Configured as PayMethods JSON. The type value decides which payment flow is used: stripe for Stripe, waffo_pancake for Waffo Pancake, and other values are sent to Epay as the type parameter.",
"Configured routes and latency checks": "Configured routes and latency checks",
"Confirm": "Confirm",
"Confirm Action": "Confirm Action",
@@ -1081,6 +1083,7 @@
"Custom Currency Symbol": "Custom Currency Symbol",
"Custom currency symbol is required": "Custom currency symbol is required",
"Custom database driver detected.": "Custom database driver detected.",
"Custom Epay method": "Custom Epay method",
"Custom Error Response": "Custom Error Response",
"Custom Home Page": "Custom Home Page",
"Custom message shown when access is denied": "Custom message shown when access is denied",
@@ -1349,6 +1352,7 @@
"e.g., preview": "e.g., preview",
"e.g., prod_xxx": "e.g., prod_xxx",
"e.g., Recommended for China Mainland Users": "e.g., Recommended for China Mainland Users",
"e.g., SiAlipay": "e.g., SiAlipay",
"e.g., us-central1 or JSON format for model-specific regions": "e.g., us-central1 or JSON format for model-specific regions",
"e.g., v2.1": "e.g., v2.1",
"Each backup code can only be used once.": "Each backup code can only be used once.",
@@ -1471,6 +1475,7 @@
"Enter a name": "Enter a name",
"Enter a new name": "Enter a new name",
"Enter a positive or negative amount to adjust the quota": "Enter a positive or negative amount to adjust the quota",
"Enter a react-icons component name. Invalid names show no icon.": "Enter a react-icons component name. Invalid names show no icon.",
"Enter a valid email or leave blank": "Enter a valid email or leave blank",
"Enter a value and press Enter": "Enter a value and press Enter",
"Enter amount in {{currency}}": "Enter amount in {{currency}}",
@@ -1505,6 +1510,7 @@
"Enter one API key per line for batch creation": "Enter one API key per line for batch creation",
"Enter one key per line for batch creation": "Enter one key per line for batch creation",
"Enter one keyword per line": "Enter one keyword per line",
"Enter only a top-level callback domain, for example https://api.example.com, without any path.": "Enter only a top-level callback domain, for example https://api.example.com, without any path.",
"Enter password": "Enter password",
"Enter password (8-20 characters)": "Enter password (8-20 characters)",
"Enter password (min 8 characters)": "Enter password (min 8 characters)",
@@ -1541,10 +1547,14 @@
"Env (JSON object)": "Env (JSON object)",
"Environment variables": "Environment variables",
"Environment variables (JSON)": "Environment variables (JSON)",
"Epay Alipay": "Epay Alipay",
"Epay endpoint": "Epay endpoint",
"Epay Gateway": "Epay Gateway",
"Epay is a payment protocol, not a specific official website. Verify the provider yourself and do not trust random third-party Epay deployments.": "Epay is a payment protocol, not a specific official website. Verify the provider yourself and do not trust random third-party Epay deployments.",
"Epay merchant ID": "Epay merchant ID",
"Epay safety reminder": "Epay safety reminder",
"Epay secret key": "Epay secret key",
"Epay WeChat Pay": "Epay WeChat Pay",
"Equals": "Equals",
"Error": "Error",
"Error Code (optional)": "Error Code (optional)",
@@ -2763,6 +2773,7 @@
"Only allow specific email domains": "Only allow specific email domains",
"Only available for admins. When enabled, you will receive a summary notification via your selected method when the scheduled model check detects upstream model changes or check failures.": "Only available for admins. When enabled, you will receive a summary notification via your selected method when the scheduled model check detects upstream model changes or check failures.",
"Only configured combinations are overridden. All other calls keep the token group base ratio.": "Only configured combinations are overridden. All other calls keep the token group base ratio.",
"Only enter the site origin, for example https://api.example.com. Do not include any path such as /api/user/epay/notify. Leave blank to use the server address.": "Only enter the site origin, for example https://api.example.com. Do not include any path such as /api/user/epay/notify. Leave blank to use the server address.",
"Only selected fields will be overwritten. You can re-run the sync wizard if new conflicts appear.": "Only selected fields will be overwritten. You can re-run the sync wizard if new conflicts appear.",
"Only successful requests": "Only successful requests",
"Only successful requests count toward this limit.": "Only successful requests count toward this limit.",
@@ -2921,6 +2932,8 @@
"Payment Gateway": "Payment Gateway",
"Payment initiated": "Payment initiated",
"Payment Method": "Payment Method",
"Payment method identifier": "Payment method identifier",
"Payment method identifier is required": "Payment method identifier is required",
"Payment method name": "Payment method name",
"Payment method name is required": "Payment method name is required",
"Payment method type": "Payment method type",
@@ -2931,6 +2944,8 @@
"Payment request failed": "Payment request failed",
"Payment return URL": "Payment return URL",
"Payment return URL is empty. Create the product without a SuccessURL redirect?": "Payment return URL is empty. Create the product without a SuccessURL redirect?",
"Payment type key": "Payment type key",
"Payment type key is required": "Payment type key is required",
"Payment, redemption codes, subscription plans, and invitation rewards are locked until the root administrator confirms the compliance terms.": "Payment, redemption codes, subscription plans, and invitation rewards are locked until the root administrator confirms the compliance terms.",
"Peak": "Peak",
"Peak throughput": "Peak throughput",
@@ -3189,6 +3204,7 @@
"Queued": "Queued",
"Quick actions": "Quick actions",
"Quick insert common payment methods": "Quick insert common payment methods",
"Quick insert payment entries": "Quick insert payment entries",
"Quick Range": "Quick Range",
"Quick Setup from Preset": "Quick Setup from Preset",
"Quota": "Quota",
@@ -3546,6 +3562,7 @@
"Search feature in development": "Search feature in development",
"Search group names...": "Search group names...",
"Search groups...": "Search groups...",
"Search method identifiers...": "Search method identifiers...",
"Search missing models": "Search missing models",
"Search model name, provider, endpoint, or tag...": "Search model name, provider, endpoint, or tag...",
"Search model name...": "Search model name...",
@@ -3553,6 +3570,7 @@
"Search models or fields...": "Search models or fields...",
"Search models...": "Search models...",
"Search payment methods...": "Search payment methods...",
"Search payment type keys...": "Search payment type keys...",
"Search payment types...": "Search payment types...",
"Search products...": "Search products...",
"Search rules...": "Search rules...",
@@ -3621,8 +3639,10 @@
"Select models to process. Unselected \"add\" models will be ignored.": "Select models to process. Unselected \"add\" models will be ignored.",
"Select models to run batch tests.": "Select models to run batch tests.",
"Select or enter color value": "Select or enter color value",
"Select or enter method identifier": "Select or enter method identifier",
"Select or enter model name": "Select or enter model name",
"Select or enter payment type": "Select or enter payment type",
"Select or enter payment type key": "Select or enter payment type key",
"Select payment method": "Select payment method",
"Select preset or enter custom CSS color value.": "Select preset or enter custom CSS color value.",
"Select publish date": "Select publish date",
@@ -4021,6 +4041,7 @@
"This expression is too complex for the visual editor. Please switch to expression mode to edit.": "This expression is too complex for the visual editor. Please switch to expression mode to edit.",
"This feature is experimental. Configuration format and behavior may change.": "This feature is experimental. Configuration format and behavior may change.",
"This feature requires server-side WeChat configuration": "This feature requires server-side WeChat configuration",
"This identifier is sent to the payment backend when creating an order. Use alipay for Alipay, wxpay for WeChat Pay, stripe for Stripe. Custom values must be supported by your payment provider.": "This identifier is sent to the payment backend when creating an order. Use alipay for Alipay, wxpay for WeChat Pay, stripe for Stripe. Custom values must be supported by your payment provider.",
"This may cause cache failures.": "This may cause cache failures.",
"This may take a few moments while we validate the request and update your session.": "This may take a few moments while we validate the request and update your session.",
"This model has both fixed price and ratio billing conflicts": "This model has both fixed price and ratio billing conflicts",
@@ -4357,6 +4378,7 @@
"Used Quota": "Used Quota",
"Used to authenticate with io.net deployment API": "Used to authenticate with io.net deployment API",
"Used to authenticate with the worker. Leave blank to keep the existing secret.": "Used to authenticate with the worker. Leave blank to keep the existing secret.",
"Used to decide the payment flow. Built-in keys include stripe for Stripe and waffo_pancake for Waffo Pancake; other values are sent to Epay as the type parameter.": "Used to decide the payment flow. Built-in keys include stripe for Stripe and waffo_pancake for Waffo Pancake; other values are sent to Epay as the type parameter.",
"Used:": "Used:",
"User": "User",
"User {{id}}": "User {{id}}",