support Nextcloud OAuth 2.0 authentication

This commit is contained in:
MaysWind
2025-10-21 01:52:28 +08:00
parent 600ae2bd58
commit 53a8ad71c6
74 changed files with 2046 additions and 241 deletions
+19 -1
View File
@@ -108,6 +108,7 @@
},
"misc": {
"multiTextJoinSeparator": "、",
"loginWithCustomProvider": "使用 {name} 登录",
"hoursBehindDefaultTimezone": "比默认时区晚{hours}小时",
"hoursAheadOfDefaultTimezone": "比默认时区早{hours}小时",
"hoursMinutesBehindDefaultTimezone": "比默认时区晚{hours}小时{minutes}分",
@@ -129,7 +130,8 @@
"moveTransactionsInAccountTip": "您不能撤销该操作。该操作将会把 {fromAccount} 账户中所有的交易数据移动到 {toAccount}。",
"clearTransactionsInAccountTip": "您不能撤销该操作。该操作将会清除您在 {account} 账户中的交易数据。请输入您当前的密码以确认。",
"accountActivationAndResendValidationEmailTip": "账号激活链接已经发送到您的邮箱地址:{email},如果您没有收到邮件,请再次输入密码并点击下方的按钮重新发送验证邮件。",
"resendValidationEmailTip": "如果您没有收到邮件,请再次输入密码并点击下方的按钮重新发送验证邮件到:{email}"
"resendValidationEmailTip": "如果您没有收到邮件,请再次输入密码并点击下方的按钮重新发送验证邮件到:{email}",
"oauth2bindTip": "您正在使用 {providerName} 登录 \"{userName}\" 用户,请输入你的 ezBookkeeping 的密码进行验证。"
}
},
"dataExport": {
@@ -1086,6 +1088,7 @@
"user avatar file extension invalid": "用户头像文件扩展名无效",
"exceed the maximum size of user avatar file": "上传的用户头像超出了允许的最大文件大小",
"not permitted to perform this action": "您不能执行该操作",
"cannot login by password": "您不能使用密码登录",
"unauthorized access": "未授权的登录",
"current token is invalid": "当前认证令牌无效",
"current token is expired": "当前认证令牌已过期",
@@ -1238,6 +1241,17 @@
"image for AI recognition is empty": "用于AI识别的图片为空",
"exceed the maximum size of image file for AI recognition": "用于AI识别的图片超出了允许的最大文件大小",
"no transaction information detected": "没有检测到交易信息",
"user external auth is not found": "用户外部认证信息不存在",
"oauth 2.0 not enabled": "OAuth 2.0 没有启用",
"oauth 2.0 auto registration not enabled": "OAuth 2.0 自动注册没有启用",
"invalid oauth 2.0 login request": "无效的 OAuth 2.0 登录请求",
"invalid oauth 2.0 callback": "无效的 OAuth 2.0 回调请求",
"missing state in oauth 2.0 callback": "OAuth 2.0 回调中缺少 state 参数",
"missing code in oauth 2.0 callback": "OAuth 2.0 回调中缺少 code 参数",
"invalid state in oauth 2.0 callback": "OAuth 2.0 回调中的 state 参数无效",
"cannot retrieve oauth 2.0 token": "无法获取 OAuth 2.0 令牌",
"invalid oauth 2.0 token": "无效的 OAuth 2.0 令牌",
"cannot retrieve user info from oauth 2.0 provider": "无法从 OAuth 2.0 提供者获取用户信息",
"query items cannot be blank": "请求项目不能为空",
"query items too much": "请求项目过多",
"query items have invalid item": "请求项目中有非法项目",
@@ -1391,6 +1405,7 @@
"Operation": "操作",
"Open": "打开",
"Close": "关闭",
"or": "或",
"Submit": "提交",
"Add": "添加",
"Import": "导入",
@@ -1572,7 +1587,10 @@
"This month or later": "本月或更晚",
"This year or later": "今年或更晚",
"Log In": "登录",
"Log in with OAuth 2.0": "使用 OAuth 2.0 登录",
"Log in with Connect ID": "使用 Connect ID 登录",
"Click here to log in": "点击这里登录",
"Logging in...": "正在登录...",
"Back to login page": "返回登录页",
"Back to home page": "返回首页",
"Don't have an account?": "还没有账号?",