diff --git a/frontend/src/pages/agent/cards/create.vue b/frontend/src/pages/agent/cards/create.vue index 9d4aeb7..039ca49 100644 --- a/frontend/src/pages/agent/cards/create.vue +++ b/frontend/src/pages/agent/cards/create.vue @@ -1,189 +1,285 @@ + \ No newline at end of file diff --git a/frontend/src/plugins/i18n/en.json b/frontend/src/plugins/i18n/en.json index 9220d33..4e8fa69 100644 --- a/frontend/src/plugins/i18n/en.json +++ b/frontend/src/plugins/i18n/en.json @@ -1322,8 +1322,11 @@ "passwordMinLength": "Password must be at least 6 characters", "createSuccess": "Agent created successfully", "createFailed": "Failed to create agent", - "cancel": "Cancel" + "cancel": "Cancel", + "saveBtn": "Save Changes" }, + "editSuccess": "Agent updated successfully", + "editFailed": "Failed to update agent", "enable": "Enable", "disable": "Disable", "deleteAgent": "Delete Agent", @@ -1341,7 +1344,8 @@ "save": "Save", "usernameHint": "Username cannot be changed", "passwordPlaceholder": "Leave empty to keep current password", - "passwordHint": "Enter new password to change, leave empty to keep current" + "passwordHint": "Enter new password to change, leave empty to keep current", + "saveBtn": "Save Changes" } }, "announcements": { @@ -2857,7 +2861,27 @@ "estimatedCost": "Estimated Cost", "cancel": "Cancel", "generating": "Generating...", - "generateBtn": "Generate Cards" + "generateBtn": "Generate Cards", + "selectAppFirst": "Please select an application first", + "selectCardTypeFirst": "Please select a card type first", + "countRange": "Quantity must be between 1 and 100", + "config": "Generation Config", + "configDesc": "Select authorized application and available card type, set quantity", + "application": "Select Application", + "selectApplication": "Please select an application", + "cardType": "Select Card Type", + "selectCardType": "Please select a card type", + "noCardType": "No available card types for this application", + "count": "Quantity", + "maxCount": "Maximum 100 cards per generation", + "preview": "Generation Preview", + "app": "Application", + "type": "Card Type", + "unitPrice": "Unit Price", + "quantity": "Quantity", + "units": "cards", + "totalAmount": "Estimated Cost", + "generateNow": "Generate Now" } } }, diff --git a/frontend/src/plugins/i18n/zh.json b/frontend/src/plugins/i18n/zh.json index cd567da..335860f 100644 --- a/frontend/src/plugins/i18n/zh.json +++ b/frontend/src/plugins/i18n/zh.json @@ -1280,8 +1280,23 @@ "passwordMinLength": "密码长度至少6位", "createSuccess": "创建代理成功", "createFailed": "创建代理失败", - "cancel": "取消" + "cancel": "取消", + "saveBtn": "保存修改" }, + "edit": { + "title": "编辑代理", + "description": "修改代理信息", + "fetchFailed": "获取代理信息失败", + "saveSuccess": "保存成功", + "saveFailed": "保存失败", + "save": "保存", + "usernameHint": "用户名不可修改", + "passwordPlaceholder": "留空则不修改密码", + "passwordHint": "输入新密码以修改,留空保持原密码", + "saveBtn": "保存修改" + }, + "editSuccess": "更新代理成功", + "editFailed": "更新代理失败", "enable": "启用", "disable": "禁用", "deleteAgent": "删除代理", @@ -2847,7 +2862,27 @@ "estimatedCost": "预计费用", "cancel": "取消", "generating": "生成中...", - "generateBtn": "生成卡密" + "generateBtn": "生成卡密", + "selectAppFirst": "请先选择应用", + "selectCardTypeFirst": "请先选择卡类", + "countRange": "生成数量需要在 1-100 之间", + "config": "生成配置", + "configDesc": "选择授权应用和可用卡类,设置生成数量", + "application": "选择应用", + "selectApplication": "请选择应用", + "cardType": "选择卡类", + "selectCardType": "请选择卡类", + "noCardType": "该应用暂无可用卡类", + "count": "生成数量", + "maxCount": "单次最多生成 100 张卡密", + "preview": "生成预览", + "app": "应用", + "type": "卡类", + "unitPrice": "单价", + "quantity": "数量", + "units": "张", + "totalAmount": "预计费用", + "generateNow": "立即生成" } } },