ui: fix typo & add stylus style (#1195)

This commit is contained in:
ILoveScratch authored and GitHub committed 2026-08-01 19:11:08 +08:00
1 parent a8ec204a04
commit 52f811cf98
10 files changed
+32 -20

No files matched your search

+4 -2
View File
@@ -6,7 +6,7 @@ __langname: 简体中文
'{0} {1} delete your discussion reply {2} in "{3}"({4}).': '{0} {1} 从讨论 {3}({4}) 删除了你的回复 {2}。'
'{0} comments': '{0} 条评论'
'{0} discussions': '{0} 条讨论'
'{0} is a moderator of this domain.': '{}是这个域的管理者之一。'
'{0} is a moderator of this domain.': '{0}是这个域的管理者之一。'
'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超过频率限制。限制:{1} 秒内最多 {2} 次操作。'
'{0} problems': '{0} 道题'
'{0} sections': '{0} 小节'
@@ -29,11 +29,12 @@ __langname: 简体中文
'Current dataset: {0}': '当前测试数据: {0}'
'Discussion: Terms Of Service': 讨论区服务条款
'First Blood Notice\n{0} solved problem {1} ({2})': '题目一血提示\n{0} 解决了题目 {1} ({2})'
'Format: category 1, sub category 1.1, sub category 1.2, ..., sub category 1.x, ..., category n, sub category n.1, sub category n.2, ..., sub category n.m, ...': 格式:分类1, 子分类1.1, 子分类1.2, ..., 子分类1.x, ..., 分类n, 子分类n.1, 子分类n.2, ..., 子分类n.m, ...
'Format: category 1, sub category 1.1, sub category 1.2, ..., sub category 1.x, ..., category n, sub category n.1, sub category n.2, ..., sub category n.m, ...': 格式:分类 1, 子分类 1.1, 子分类 1.2, ..., 子分类 1.x, ..., 分类 n, 子分类 n.1, 子分类 n.2, ..., 子分类 n.m, ...
'Format: one group per line, CSV: groupName,uid1,uid2,...': '格式:每行一个小组,CSV:组名,UID1,UID2,...'
'Join {0}': '加入 {0}'
'No': 否
'Note: Problem title may not be hidden.': 注意:题目标题可能不会被隐藏。
'On line {0}: Read {1}, expect {2}.': 第 {0} 行的答案错误,读取到 {1},但期望 {2}。
'Or upload a file:': 或者上传一个文件:
'Original score: {0}': '原得分: {0}'
'Role {1} already exists in domain {0}.': '域 {0} 中已存在角色 {1}。'
@@ -764,6 +765,7 @@ Sorry: 对不起
Sort by: 排序
Source type: 来源类型
Split View: 分屏预览
Standard answer longer than user output.: 答案比您的输出长。
Star Topic: 收藏讨论
Star: 收藏
Starred Problems: 收藏的题目
+2 -2
View File
@@ -486,7 +486,7 @@ class OauthCallbackHandler extends Handler {
if (this.session.oauthBind === args.type) {
delete this.session.oauthBind;
if (existing.some((id) => id && id !== this.user._id)) {
throw new BadRequestError('Already binded to another account');
throw new BadRequestError('Already bound to another account');
}
this.response.redirect = this.session.oauthRedirect || this.url('home_security');
delete this.session.oauthRedirect;
@@ -508,7 +508,7 @@ class OauthCallbackHandler extends Handler {
delete this.session.oauthRedirect;
return;
}
if (!provider.canRegister) throw new ForbiddenError('No binded account found');
if (!provider.canRegister) throw new ForbiddenError('No bound account found');
this.checkPriv(PRIV.PRIV_REGISTER_USER);
let username = '';
r.uname ||= [];