generate API token in frontend page

This commit is contained in:
MaysWind
2025-11-03 01:27:45 +08:00
parent bb84e8af13
commit b0e01d36ab
38 changed files with 770 additions and 303 deletions
+16 -3
View File
@@ -107,6 +107,10 @@
"EndYY": "{EndYY}财年"
},
"misc": {
"nHour": "{n} 小时",
"nHours": "{n} 小时",
"nDay": "{n} 天",
"nDays": "{n} 天",
"multiTextJoinSeparator": "、",
"loginWithCustomProvider": "使用 {name} 登录",
"hoursBehindDefaultTimezone": "比默认时区晚{hours}小时",
@@ -1105,6 +1109,7 @@
"token is empty": "认证令牌为空",
"email verify token is invalid or expired": "邮箱验证令牌无效或已过期",
"password reset token is invalid or expired": "密码重置令牌无效或已过期",
"not allowed to generate api token": "不允许生成 API 认证令牌",
"passcode is invalid": "验证码无效",
"two-factor backup code is invalid": "两步验证备用码无效",
"two-factor is not enabled": "两步验证没有启用",
@@ -1307,7 +1312,8 @@
"page": "页码索引",
"count": "数量",
"templateType": "模板类型",
"comment": "描述"
"comment": "描述",
"expiredInSeconds": "过期时间(秒)"
},
"parameterizedError": {
"parameter invalid": "{parameter}无效",
@@ -2261,8 +2267,15 @@
"Show Hidden Transaction Templates": "显示隐藏的模板",
"Hide Hidden Transaction Templates": "不显示隐藏的模板",
"Template name cannot be blank": "模板名不能为空",
"Generate MCP token": "生成 MCP 令牌",
"Your MCP token does not expire, please keep it secure. When connecting to third-party apps, be aware that they and any large language models they use can access your private data.": "您的 MCP 令牌不会过期,请妥善保管。当连接到第三方应用时,请注意它们及其使用的大语言模型(LLM)可以获取到您的隐私数据。",
"Generate Token": "生成令牌",
"Token Type": "令牌类型",
"Expiration Time (Seconds)": "过期时间(秒)",
"Custom Expiration Time (Seconds)": "自定义过期时间(秒)",
"No Expiration": "永不过期",
"API Token": "API 令牌",
"MCP Token": "MCP 令牌",
"Your token does not expire, please keep it secure.": "您的令牌不会过期,请妥善保管。",
"When connecting to third-party apps, be aware that they and any large language models they use can access your private data.": "当连接到第三方应用时,请注意它们及其使用的大语言模型(LLM)可以获取到您的隐私数据。",
"Unable to generate token": "无法生成令牌",
"Are you sure you want to logout from this session?": "您确定要退出该会话?",
"Unable to logout from this session": "无法退出该会话",