feat(api): Add new subscription properties and locale support for deduction ratios and reset cycles

This commit is contained in:
web@ppanel
2024-12-29 16:18:21 +07:00
parent a93db4eb9f
commit fec80f592d
29 changed files with 976 additions and 431 deletions
+17 -1
View File
@@ -19,9 +19,14 @@
"Hour": "Hour",
"Minute": "Minute",
"Month": "Month",
"NoLimit": "No Limit",
"Year": "Year",
"annualReset": "Annual Reset",
"basic": "Basic",
"cancel": "Cancel",
"confirm": "Confirm",
"deductionRatio": "Automatic/Manual Deduction Configuration",
"deductionRatioDescription": "Used for deduction. By default, the system adopts an automatic calculation algorithm. When a manual ratio is provided, the system calculates proportions based on the time and traffic ratio, ensuring the total equals 100%.",
"description": "Description",
"deviceLimit": "Device Limit",
"discount": "Discount",
@@ -31,14 +36,25 @@
"discount_price": "Discount Price",
"duration": "Duration (months)",
"inventory": "Inventory",
"monthlyReset": "Monthly Reset",
"name": "Name",
"noLimit": "No Limit",
"noReset": "No Reset",
"pricing": "Pricing",
"purchaseWithDiscount": "Allow Deduction",
"purchaseWithDiscountDescription": "Enable or disable the deduction feature. When enabled, the system will process deductions based on the configured rules and ratios",
"quota": "Purchase Limit",
"renewalReset": "Renewal Reset",
"renewalResetDescription": "Reset cycle upon renewal",
"replacement": "Reset Price (per time)",
"resetCycle": "Reset Cycle",
"resetOn1st": "Reset on the 1st",
"selectResetCycle": "Please select a reset cycle",
"selectSubscribeGroup": "Select Subscription Group",
"selectUnitTime": "Please select a unit of time",
"server": "Server",
"serverGroup": "Server Group",
"servers": "Servers",
"speedLimit": "Speed Limit (Mbps)",
"subscribeGroup": "Subscription Group",
"traffic": "Traffic",
@@ -83,6 +99,6 @@
"subscribeGroup": "Subscription Group"
},
"traffic": "Traffic",
"unitPrice": "Price/Month",
"unitPrice": "Unit Price",
"updateSuccess": "Update Successful"
}