diff --git a/packages/hydrooj/locales/ko.yaml b/packages/hydrooj/locales/ko.yaml index c105da958..292f8de38 100644 --- a/packages/hydrooj/locales/ko.yaml +++ b/packages/hydrooj/locales/ko.yaml @@ -648,7 +648,7 @@ Size: 크기 Solutions Liked: 연결된 해설 Solutions: 해설 Solve: 해결 -Solved Problems: 해결한 문제 +Solved: 해결한 문제 Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다. Sorry, there is no training plan.: 학습 계획 없음 Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다. diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 64d29362e..8d8df08f4 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -1,6 +1,6 @@ { "name": "hydrooj", - "version": "3.2.7", + "version": "3.2.8", "bin": "bin/hydrooj.js", "main": "src/loader", "module": "src/loader", diff --git a/packages/hydrooj/src/model/contest.ts b/packages/hydrooj/src/model/contest.ts index 4506dd641..e245f6743 100644 --- a/packages/hydrooj/src/model/contest.ts +++ b/packages/hydrooj/src/model/contest.ts @@ -74,7 +74,7 @@ const acm: ContestRule = { const columns: ScoreboardRow = [ { type: 'rank', value: _('Rank') }, { type: 'user', value: _('User') }, - { type: 'solved_problems', value: _('Solved Problems') }, + { type: 'solved_problems', value: _('Solved') }, ]; if (isExport) { columns.push( @@ -140,7 +140,7 @@ const acm: ContestRule = { const doc = tsddict[pid] || {}; const accept = doc.status === STATUS.STATUS_ACCEPTED; const rid = accept ? doc.rid : null; - const colAccepted = `${accept ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`; + const colAccepted = `${(accept && isExport) ? `${_('Accepted')} ` : ''}${doc.naccept ? ` (-${doc.naccept})` : ''}`; const colTime = accept ? doc.time : '-'; const colTimeStr = accept ? misc.formatSeconds(colTime) : '-'; if (isExport) { diff --git a/packages/ui-default/locales/ko.yaml b/packages/ui-default/locales/ko.yaml index a79478269..c4d9f2ed8 100644 --- a/packages/ui-default/locales/ko.yaml +++ b/packages/ui-default/locales/ko.yaml @@ -651,7 +651,7 @@ Size: 크기 Solutions Liked: 연결된 해설 Solutions: 해설 Solve: 해결 -Solved Problems: 해결한 문제 +Solved: 해결한 문제 Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다. Sorry, there is no training plan.: 학습 계획 없음 Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다. diff --git a/packages/ui-default/locales/zh.yaml b/packages/ui-default/locales/zh.yaml index bbd4777b2..2db00bc65 100644 --- a/packages/ui-default/locales/zh.yaml +++ b/packages/ui-default/locales/zh.yaml @@ -702,7 +702,7 @@ Size: 大小 Solutions Liked: 题解被赞 Solutions: 题解 Solve: 解决 -Solved Problems: 解决题目 +Solved: 解决 Sorry, there is no problem in the problem set: 题库中没有题目 Sorry, there is no training plan.: 目前没有训练计划。 Sorry, there is no user in this domain.: 对不起,此域中没有用户。 diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 4abe1500e..a9840f857 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -1,6 +1,6 @@ { "name": "@hydrooj/ui-default", - "version": "4.27.0", + "version": "4.27.1", "author": "undefined ", "license": "AGPL-3.0", "main": "hydro.js", diff --git a/packages/ui-default/pages/contest_scoreboard.page.styl b/packages/ui-default/pages/contest_scoreboard.page.styl index c04b1a89a..25ba4c23a 100644 --- a/packages/ui-default/pages/contest_scoreboard.page.styl +++ b/packages/ui-default/pages/contest_scoreboard.page.styl @@ -1,17 +1,17 @@ .page--contest_scoreboard .col--rank - width: rem(70px) + width: rem(60px) border-right: 1px solid $table-border-color .col--user - width: rem(140px) + min-width: rem(150px) .col--total_score, .col--total_time_str, .col--solved_problems width: rem(100px) text-align: center .col--problem_detail - min-width: rem(100px) + width: rem(80px) border-left: 1px solid $table-border-color text-align: center