From 4dcc2a2e78dbb50695d9cd7dab5e6d501096711d Mon Sep 17 00:00:00 2001 From: remmymilkyway <94217071+remmymilkyway@users.noreply.github.com> Date: Tue, 9 May 2023 16:53:00 +0800 Subject: [PATCH] ui: fix grammar mistakes (#570) --- packages/hydrooj/locales/ko.yaml | 16 ++++++++-------- packages/hydrooj/locales/zh.yaml | 12 ++++++------ packages/hydrooj/locales/zh_TW.yaml | 8 ++++---- packages/hydrooj/src/check.ts | 4 ++-- packages/ui-default/locales/ko.yaml | 16 ++++++++-------- packages/ui-default/locales/zh.yaml | 16 ++++++++-------- packages/ui-default/locales/zh_TW.yaml | 8 ++++---- .../templates/partials/discussion_list.html | 2 +- .../ui-default/templates/partials/files.html | 2 +- .../ui-default/templates/partials/footer.html | 2 +- .../templates/partials/problem_list.html | 2 +- .../templates/partials/problem_lucky.html | 2 +- .../templates/partials/user_detail/activity.html | 2 +- .../templates/partials/user_detail/solution.html | 2 +- packages/ui-default/templates/problem_main.html | 2 +- packages/ui-default/templates/ranking.html | 2 +- packages/ui-default/templates/record_main.html | 2 +- packages/ui-default/templates/training_main.html | 4 ++-- packages/ui-default/templates/user_detail.html | 2 +- 19 files changed, 53 insertions(+), 53 deletions(-) diff --git a/packages/hydrooj/locales/ko.yaml b/packages/hydrooj/locales/ko.yaml index 988e69b7b..1042d0a07 100644 --- a/packages/hydrooj/locales/ko.yaml +++ b/packages/hydrooj/locales/ko.yaml @@ -435,7 +435,7 @@ New Password: 새 비밀번호 New Training Plan: 새 학습 계획 No comments so far...: 아직 댓글이 없네요... No dataset at present.: 데이터셋 없음 -no discussion yet...: 토론 없음 +No discussion yet...: 토론 없음 No Permission to Attend Contest: 대회에 참여할 권한이 없습니다. No Permission to Claim Homework: 과제를 할당받을 권한이 없습니다. No Permission to Create a Discussion: 토론을 시작할 권한이 없습니다. @@ -457,7 +457,7 @@ Oh, the user doesn't have any contributions!: 아직 기여가 없습니다. Oh, the user hasn't created any discussions yet!: 아직 토론을 시작하지 않았습니다. Oh, the user hasn't submitted yet!: 아직 제출하지 않았습니다 _(:зゝ∠) Oh, there is no task in the queue!: 대기열이 비었습니다. -Oh, there is no task that matches the filter!: 결과 없음 +Oh, there are no tasks that match the filter!: 결과 없음 Ok: OK Only A-Z, a-z, 0-9 and _ are accepted: A-Z, a-z, 0-9 와 _만 허용됨 Oops, there are no results.: 결과 없음 @@ -495,7 +495,7 @@ perm_record: 제출 perm_training: 학습 Permission: 권한 Permissions: 권한 -Pick a problem randomly based on current filter: 필터 기반 무작위 추천 +Pick a problem randomly based on the current filter.: 필터 기반 무작위 추천 Plan: 계획 Please attend contest to see the problems.: 문제를 보려면 대회에 참가하십시오. Please claim the assignment to see the problems.: 문제를 보려면 과제를 할당받으십시오 @@ -646,9 +646,9 @@ Solutions Liked: 연결된 해설 Solutions: 해설 Solve: 해결 Solved: 해결한 문제 -Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다. -Sorry, there is no training plan.: 학습 계획 없음 -Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다. +Sorry, there are no problems in the problem set.: 문제 모음에 문제가 없습니다. +Sorry, there are no training plans.: 학습 계획 없음 +Sorry, there are no users in this domain.: 그룹에 사용자가 없습니다. Sorry: 죄송합니다. Sort by: '정렬 기준' Source type: 소스 방식 @@ -799,7 +799,7 @@ Write Your Comment: 댓글 작성 Write Your Solution: 해설 작성 Year: 년 You are not allowed to join the domain. The link is either invalid or expired.: 그룹에 참여할 수 없습니다. 잘못되거나 만료된 링크입니다. -You can create your own training plans and share with others.: 자신의 학습 계획을 공유할 수 있습니다. +You can create your own training plans and share them with others.: 자신의 학습 계획을 공유할 수 있습니다. You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.: 대회가 끝났으므로 답안을 제출할 수 있습니다. "믄제에서 열기"를 누르세요. You cannot submit for this problem because the homework's deadline is due.: 과제 기한이 지나서 제출할 수 없습니다. You cannot visit this domain.: 이 그룹을 방문할 수 없습니다. @@ -807,7 +807,7 @@ You don't have the required permission ({0}) in this domain.: 그룹 권한이 You don't have the required privilege.: 권한이 없습니다. You don't own any domain and don't have privilege to create domain.: 그룹을 만들 권한이 없습니다. You have not submitted any solutions for this problem: 아직 답안을 제출하지 않았습니다. -You have permissions to create problems for this domain.: 이 그룹에서 문제를 만들기 위한 권한이 있습니다. +You have permission to create problems for this domain.: 이 그룹에서 문제를 만들기 위한 권한이 있습니다. You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 그룹 생성이 끝나지 않았습니다. "계속"을 눌러 생성을 완료하십시오. You haven't attended this contest yet.: 아직 대회에 참가하지 않음 You haven't claimed this homework yet.: 아직 숙제를 받지 않음 diff --git a/packages/hydrooj/locales/zh.yaml b/packages/hydrooj/locales/zh.yaml index 36935acf9..bf0b4010d 100644 --- a/packages/hydrooj/locales/zh.yaml +++ b/packages/hydrooj/locales/zh.yaml @@ -496,7 +496,7 @@ New Training Plan: 新训练计划 New: 创建 No comments so far...: 目前还没有评论... No dataset at present.: 暂无测试数据。 -no discussion yet...: 目前没有讨论… +No discussion yet...: 目前没有讨论… No Permission to Attend Contest: 您没有权限参加比赛 No Permission to Claim Homework: 您没有权限认领作业 No Permission to Create a Discussion: 您没有权限创建讨论 @@ -519,7 +519,7 @@ Oh, the user doesn't have any contributions!: 啊哦,这个用户还没贡献 Oh, the user hasn't created any discussions yet!: 这个用户还没有发布过讨论 Oh, the user hasn't submitted yet!: 这个用户还没有交过题 _(:зゝ∠)_ Oh, there is no task in the queue!: 喔,队列中目前没有任务。 -Oh, there is no task that matches the filter!: 喔,目前没有符合过滤条件的任务。 +Oh, there are no tasks that match the filter!: 喔,目前没有符合过滤条件的任务。 Ok: 确定 Only A-Z, a-z, 0-9 and _ are accepted: 只接受 A-Z, a-z, 0-9 和 _ Oops, there are no results.: 呀,没有结果。 @@ -564,7 +564,7 @@ perm_training: 训练 Permission: 权限 Permissions: 权限 Phone: 手机号 -Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题 +Pick a problem randomly based on the current filter.: 根据当前过滤条件随机选择一道题 pid: 题目 ID Pin discussions: 置顶讨论 Pin training plans: 置顶训练计划 @@ -781,7 +781,7 @@ This homework is not open.: 该作业还未开放递交。 This is the current session: 这是当前的会话 This message will be presented to those whose submissions are accepted.: 这条消息将会被展示给通过此题的用户。 This page needs JavaScript to work.: 这个页面需要 Javascript。 -This person is lazy and didn't wrote anything.: 该用户太懒,这里啥也没写 (´・ω・`) +This person is lazy and didn't write anything.: 该用户太懒,这里啥也没写 (´・ω・`) This section cannot be challenged at present, so please complete the following sections first: 该章节目前不可挑战,请先完成以下章节 This type of files are not allowed to be uploaded.: 不允许上传这种文件。 Time (Seconds): 耗时 (秒) @@ -900,7 +900,7 @@ Write Your Solution: 发表您的题解 WYSIWYG: 所见即所得 Year: 年 You are not allowed to join the domain. The link is either invalid or expired.: 您无法加入该域,链接无效或已过期。 -You can create your own training plans and share with others.: 您可以创建您自己的训练计划并且与他人分享。 +You can create your own training plans and share them with others.: 您可以创建您自己的训练计划并且与他人分享。 You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.: 该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。 You cannot submit for this problem because the homework's deadline is due.: 作业已超过截止时间,您无法递交本题目。 You cannot visit this domain.: 您不能访问此域。 @@ -908,7 +908,7 @@ You don't have the required permission ({0}) in this domain.: 您在该域中无 You don't have the required privilege.: 您没有相应的特权。 You don't own any domain and don't have privilege to create domain.: 您不拥有任何域也没有创建域的特权。 You have not submitted any solutions for this problem: 您在该题下没有递交过任何解答 -You have permissions to create problems for this domain.: 您有权限为此域创建题目。 +You have permission to create problems for this domain.: 您有权限为此域创建题目。 You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 您有未完成的创建域操作。您可以点击“继续”来完成创建。 You haven't attended this contest yet.: 您还没有参加本次比赛。 You haven't claimed this homework yet.: 您还未认领过该作业。 diff --git a/packages/hydrooj/locales/zh_TW.yaml b/packages/hydrooj/locales/zh_TW.yaml index 51b604ef2..428b273a0 100644 --- a/packages/hydrooj/locales/zh_TW.yaml +++ b/packages/hydrooj/locales/zh_TW.yaml @@ -274,7 +274,7 @@ New Password: 新密碼 New Training Plan: 新訓練計劃 New: 創建 No dataset at present.: 暫無測試資料。 -no discussion yet...: 目前沒有討論… +No discussion yet...: 目前沒有討論… No Permission to Attend Contest: 您沒有許可權參加比賽 No Permission to Claim Homework: 您沒有權限認領功課 No Permission to Create a Discussion: 您沒有許可權創建討論 @@ -435,7 +435,7 @@ Sign Up: 註冊 Solutions Liked: 題解被贊 Solutions: 題解 Solve: 解決 -Sorry, there is no problem in the problem set: 題庫中沒有題目 +Sorry, there are no problems in the problem set.: 題庫中沒有題目 Sorry: 對不起 Sort by: 排序 Star Topic: 收藏討論 @@ -543,13 +543,13 @@ Will be used as the domain icon.: 將被用作圖示。 Without slashes or backslashes: 不含斜槓和反斜槓 Write Your Comment: 發表您的評論 Write Your Solution: 發表您的題解 -You can create your own training plans and share with others.: 您可以創建您自己的訓練計劃並且與他人分享。 +You can create your own training plans and share them with others.: 您可以創建您自己的訓練計劃並且與他人分享。 You cannot submit for this problem because the homework's deadline is due.: 功課已到達截止時間,您無法遞交了。 You don't have the required permission ({0}) in this domain.: 您在該域中無相應許可權 ({0})。 You don't have the required privilege.: 您沒有相應的特權。 You don't own any domain and don't have privilege to create domain.: 您不擁有任何域也沒有創建域的特權。 You have not submitted any solutions for this problem: 您在該題下沒有遞交過任何解答 -You have permissions to create problems for this domain.: 您有許可權為此域創建題目。 +You have permission to create problems for this domain.: 您有許可權為此域創建題目。 You haven't attended this contest yet.: 您還沒有參加本次比賽。 You haven't claimed this homework yet.: 您還未認領該功課。 You're not logged in.: 您沒有登入。 diff --git a/packages/hydrooj/src/check.ts b/packages/hydrooj/src/check.ts index 04ed06c9e..ca9784b5d 100644 --- a/packages/hydrooj/src/check.ts +++ b/packages/hydrooj/src/check.ts @@ -31,11 +31,11 @@ const checks: Dictionary = { }, async checkMail(ctx, log, warn) { const from = system.get('smtp.from'); - if (!from) warn('SMTP account was not provided, email verification disabled.'); + if (!from) warn('SMTP account is not provided, email verification disabled.'); }, async checkSetting(ctx, log, warn) { const url = system.get('server.url'); - if (url === '/') warn("server.url wasn't set."); + if (url === '/') warn("server.url isn't set."); const header = system.get('server.xff'); if (header && !ctx.request.ip) warn('IP header seems incorrect.\nCheck dashboard>settings>server.'); }, diff --git a/packages/ui-default/locales/ko.yaml b/packages/ui-default/locales/ko.yaml index 2e8758716..8fdb15766 100644 --- a/packages/ui-default/locales/ko.yaml +++ b/packages/ui-default/locales/ko.yaml @@ -439,7 +439,7 @@ New Password: 새 비밀번호 New Training Plan: 새 학습 계획 No comments so far...: 아직 댓글이 없네요... No dataset at present.: 데이터셋 없음 -no discussion yet...: 토론 없음 +No discussion yet...: 토론 없음 No Permission to Attend Contest: 대회에 참여할 권한이 없습니다. No Permission to Claim Homework: 과제를 할당받을 권한이 없습니다. No Permission to Create a Discussion: 토론을 시작할 권한이 없습니다. @@ -461,7 +461,7 @@ Oh, the user doesn't have any contributions!: 아직 기여가 없습니다. Oh, the user hasn't created any discussions yet!: 아직 토론을 시작하지 않았습니다. Oh, the user hasn't submitted yet!: 아직 제출하지 않았습니다 _(:зゝ∠) Oh, there is no task in the queue!: 대기열이 비었습니다. -Oh, there is no task that matches the filter!: 결과 없음 +Oh, there are no tasks that match the filter!: 결과 없음 Ok: OK Only A-Z, a-z, 0-9 and _ are accepted: A-Z, a-z, 0-9 와 _만 허용됨 Oops, there are no results.: 결과 없음 @@ -499,7 +499,7 @@ perm_record: 제출 perm_training: 학습 Permission: 권한 Permissions: 권한 -Pick a problem randomly based on current filter: 필터 기반 무작위 추천 +Pick a problem randomly based on the current filter.: 필터 기반 무작위 추천 Plan: 계획 Please attend contest to see the problems.: 문제를 보려면 대회에 참가하십시오. Please claim the assignment to see the problems.: 문제를 보려면 과제를 할당받으십시오 @@ -649,9 +649,9 @@ Solutions Liked: 연결된 해설 Solutions: 해설 Solve: 해결 Solved: 해결한 문제 -Sorry, there is no problem in the problem set: 문제 모음에 문제가 없습니다. -Sorry, there is no training plan.: 학습 계획 없음 -Sorry, there is no user in this domain.: 그룹에 사용자가 없습니다. +Sorry, there are no problems in the problem set.: 문제 모음에 문제가 없습니다. +Sorry, there are no training plans.: 학습 계획 없음 +Sorry, there are no users in this domain.: 그룹에 사용자가 없습니다. Sorry: 죄송합니다. Sort by: '정렬 기준' Source type: 소스 방식 @@ -803,7 +803,7 @@ Write Your Comment: 댓글 작성 Write Your Solution: 해설 작성 Year: 년 You are not allowed to join the domain. The link is either invalid or expired.: 그룹에 참여할 수 없습니다. 잘못되거나 만료된 링크입니다. -You can create your own training plans and share with others.: 자신의 학습 계획을 공유할 수 있습니다. +You can create your own training plans and share them with others.: 자신의 학습 계획을 공유할 수 있습니다. You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.: 대회가 끝났으므로 답안을 제출할 수 있습니다. "믄제에서 열기"를 누르세요. You cannot submit for this problem because the homework's deadline is due.: 과제 기한이 지나서 제출할 수 없습니다. You cannot visit this domain.: 이 그룹을 방문할 수 없습니다. @@ -811,7 +811,7 @@ You don't have the required permission ({0}) in this domain.: 그룹 권한이 You don't have the required privilege.: 권한이 없습니다. You don't own any domain and don't have privilege to create domain.: 그룹을 만들 권한이 없습니다. You have not submitted any solutions for this problem: 아직 답안을 제출하지 않았습니다. -You have permissions to create problems for this domain.: 이 그룹에서 문제를 만들기 위한 권한이 있습니다. +You have permission to create problems for this domain.: 이 그룹에서 문제를 만들기 위한 권한이 있습니다. You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 그룹 생성이 끝나지 않았습니다. "계속"을 눌러 생성을 완료하십시오. You haven't attended this contest yet.: 아직 대회에 참가하지 않음 You haven't claimed this homework yet.: 아직 숙제를 받지 않음 diff --git a/packages/ui-default/locales/zh.yaml b/packages/ui-default/locales/zh.yaml index dc37f3c61..8d6bfe274 100644 --- a/packages/ui-default/locales/zh.yaml +++ b/packages/ui-default/locales/zh.yaml @@ -553,7 +553,7 @@ New Training Plan: 新训练计划 New: 创建 No {0} at current.: 当前没有{0}。 No comments so far...: 目前还没有评论... -no discussion yet...: 目前没有讨论… +No discussion yet...: 目前没有讨论… No Permission to Attend Contest: 您没有权限参加比赛 No Permission to Claim Homework: 您没有权限认领作业 No Permission to Create a Discussion: 您没有权限创建讨论 @@ -579,7 +579,7 @@ Oh, the user hasn't created any discussions yet!: 这个用户还没有发布过 Oh, the user hasn't submitted yet!: 这个用户还没有交过题 _(:зゝ∠)_ Oh, there is no submission!: 喔,还没有评测记录呢! Oh, there is no task in the queue!: 喔,队列中目前没有任务。 -Oh, there is no task that matches the filter!: 喔,目前没有符合过滤条件的任务。 +Oh, there are no tasks that match the filter!: 喔,目前没有符合过滤条件的任务。 Ok: 确定 Only A-Z, a-z, 0-9 and _ are accepted: 只接受 A-Z, a-z, 0-9 和 _ Oops, there are no results.: 呀,没有结果。 @@ -622,7 +622,7 @@ perm_training: 训练 Permission Control: 权限控制 Permission: 权限 Permissions: 权限 -Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题 +Pick a problem randomly based on the current filter.: 根据当前过滤条件随机选择一道题 Pin: 置顶 PingFang SC: 苹方简体 Plan: 计划 @@ -804,9 +804,9 @@ Solutions Liked: 题解被赞 Solutions: 题解 Solve: 解决 Solved: 解决 -Sorry, there is no problem in the problem set: 题库中没有题目 -Sorry, there is no training plan.: 目前没有训练计划。 -Sorry, there is no user in this domain.: 对不起,此域中没有用户。 +Sorry, there are no problems in the problem set.: 题库中没有题目 +Sorry, there are no training plans.: 目前没有训练计划。 +Sorry, there are no users in this domain.: 对不起,此域中没有用户。 Sorry: 对不起 Sort by: 排序 Source type: 来源类型 @@ -1000,7 +1000,7 @@ Write Your Solution: 发表您的题解 Year: 年 You are not allowed to join the domain. The link is either invalid or expired.: 您无法加入该域,链接无效或已过期。 You can also upload your avatar to Gravatar and it will be automatically updated here.: 你也可以将头像上传到 Gravatar,本站的头像将自动更新。 -You can create your own training plans and share with others.: 您可以创建您自己的训练计划并且与他人分享。 +You can create your own training plans and share them with others.: 您可以创建您自己的训练计划并且与他人分享。 You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.: 该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。 You cannot submit for this problem because the homework's deadline is due.: 作业已超过截止时间,您无法递交本题目。 You cannot visit this domain.: 您不能访问此域。 @@ -1009,7 +1009,7 @@ You don't have the required permission ({0}) in this domain.: 您在该域中无 You don't have the required privilege.: 您没有相应的特权。 You don't own any domain and don't have privilege to create domain.: 您不拥有任何域也没有创建域的特权。 You have not submitted any solutions for this problem: 您在该题下没有递交过任何解答 -You have permissions to create problems for this domain.: 您有权限为此域创建题目。 +You have permission to create problems for this domain.: 您有权限为此域创建题目。 You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 您有未完成的创建域操作。您可以点击“继续”来完成创建。 You haven't attended this contest yet.: 您还没有参加本次比赛。 You haven't claimed this homework yet.: 您还未认领过该作业。 diff --git a/packages/ui-default/locales/zh_TW.yaml b/packages/ui-default/locales/zh_TW.yaml index d9ce6715b..4de90c16e 100644 --- a/packages/ui-default/locales/zh_TW.yaml +++ b/packages/ui-default/locales/zh_TW.yaml @@ -275,7 +275,7 @@ New Email: 新電子郵件 New Password: 新密碼 New Training Plan: 新訓練計劃 New: 創建 -no discussion yet...: 目前沒有討論… +No discussion yet...: 目前沒有討論… No Permission to Attend Contest: 您沒有許可權參加比賽 No Permission to Claim Homework: 您沒有權限認領功課 No Permission to Create a Discussion: 您沒有許可權創建討論 @@ -436,7 +436,7 @@ Sign Up: 註冊 Solutions Liked: 題解被贊 Solutions: 題解 Solve: 解決 -Sorry, there is no problem in the problem set: 題庫中沒有題目 +Sorry, there are no problems in the problem set.: 題庫中沒有題目 Sorry: 對不起 Sort by: 排序 Star Topic: 收藏討論 @@ -545,13 +545,13 @@ Will be used as the domain icon.: 將被用作圖示。 Without slashes or backslashes: 不含斜槓和反斜槓 Write Your Comment: 發表您的評論 Write Your Solution: 發表您的題解 -You can create your own training plans and share with others.: 您可以創建您自己的訓練計劃並且與他人分享。 +You can create your own training plans and share them with others.: 您可以創建您自己的訓練計劃並且與他人分享。 You cannot submit for this problem because the homework's deadline is due.: 功課已到達截止時間,您無法遞交了。 You don't have the required permission ({0}) in this domain.: 您在該域中無相應許可權 ({0})。 You don't have the required privilege.: 您沒有相應的特權。 You don't own any domain and don't have privilege to create domain.: 您不擁有任何域也沒有創建域的特權。 You have not submitted any solutions for this problem: 您在該題下沒有遞交過任何解答 -You have permissions to create problems for this domain.: 您有許可權為此域創建題目。 +You have permission to create problems for this domain.: 您有許可權為此域創建題目。 You haven't attended this contest yet.: 您還沒有參加本次比賽。 You haven't claimed this homework yet.: 您還未認領該功課。 You're not logged in.: 您沒有登入。 diff --git a/packages/ui-default/templates/partials/discussion_list.html b/packages/ui-default/templates/partials/discussion_list.html index 4255f3c89..efb3a9c76 100644 --- a/packages/ui-default/templates/partials/discussion_list.html +++ b/packages/ui-default/templates/partials/discussion_list.html @@ -2,7 +2,7 @@ {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% if not ddocs.length %} - {{ nothing.render('no discussion yet...') }} + {{ nothing.render('No discussion yet...') }} {% else %}
    {%- for ddoc in ddocs -%} diff --git a/packages/ui-default/templates/partials/files.html b/packages/ui-default/templates/partials/files.html index b2cb16a43..0cc6cdc09 100644 --- a/packages/ui-default/templates/partials/files.html +++ b/packages/ui-default/templates/partials/files.html @@ -39,6 +39,6 @@ {% else %} - {{ nothing.render('No file at current.') }} + {{ nothing.render('There are no files currently.') }} {% endif %} \ No newline at end of file diff --git a/packages/ui-default/templates/partials/footer.html b/packages/ui-default/templates/partials/footer.html index 032bd0c3e..f2eb8e412 100644 --- a/packages/ui-default/templates/partials/footer.html +++ b/packages/ui-default/templates/partials/footer.html @@ -81,7 +81,7 @@ {%- for html in (model.system.get('ui-default.footer_extra_html')|default('')).split('\n') -%} {%- endfor -%} - + diff --git a/packages/ui-default/templates/partials/problem_list.html b/packages/ui-default/templates/partials/problem_list.html index ad6c49d33..254889fdf 100644 --- a/packages/ui-default/templates/partials/problem_list.html +++ b/packages/ui-default/templates/partials/problem_list.html @@ -4,7 +4,7 @@ {% import "components/nothing.html" as nothing with context %}
    {% if not pdocs.length %} - {{ nothing.render('Sorry, there is no problem in the problem set') }} + {{ nothing.render('Sorry, there are no problems in the problem set.') }} {% else %} {{ paginator.render(page, ppcount, position='top', add_qs=('q=' + qs if qs else '')) }} diff --git a/packages/ui-default/templates/partials/problem_lucky.html b/packages/ui-default/templates/partials/problem_lucky.html index 9413a2526..bc127a6b1 100644 --- a/packages/ui-default/templates/partials/problem_lucky.html +++ b/packages/ui-default/templates/partials/problem_lucky.html @@ -5,6 +5,6 @@

    -

    {{ _('Pick a problem randomly based on current filter') }}

    +

    {{ _('Pick a problem randomly based on the current filter.') }}

    diff --git a/packages/ui-default/templates/partials/user_detail/activity.html b/packages/ui-default/templates/partials/user_detail/activity.html index c866a9cfd..4c257f1bd 100644 --- a/packages/ui-default/templates/partials/user_detail/activity.html +++ b/packages/ui-default/templates/partials/user_detail/activity.html @@ -2,7 +2,7 @@

    {{ _('Recent Activities') }}

    {% if not tdocs.length %} - {{ nothing.render("This person is lazy and didn't join any contest or homework") }} + {{ nothing.render("This person is lazy and didn't join any contests or homework.") }} {% else %}
      diff --git a/packages/ui-default/templates/partials/user_detail/solution.html b/packages/ui-default/templates/partials/user_detail/solution.html index c8b755fee..7506d46ec 100644 --- a/packages/ui-default/templates/partials/user_detail/solution.html +++ b/packages/ui-default/templates/partials/user_detail/solution.html @@ -3,7 +3,7 @@

      {{ _('Recent Solutions') }}

      {% if not psdocs.length %} - {{ nothing.render("This person is lazy and didn't wrote any solution") }} + {{ nothing.render("This person is lazy and didn't write any solutions.") }} {% else %}
      diff --git a/packages/ui-default/templates/problem_main.html b/packages/ui-default/templates/problem_main.html index c4eb5355a..0343b4774 100644 --- a/packages/ui-default/templates/problem_main.html +++ b/packages/ui-default/templates/problem_main.html @@ -74,7 +74,7 @@
      -

      {{ _('You have permissions to create problems for this domain.') }}

      +

      {{ _('You have permission to create problems for this domain.') }}

      diff --git a/packages/ui-default/templates/ranking.html b/packages/ui-default/templates/ranking.html index 70bf8af72..bc5c64814 100644 --- a/packages/ui-default/templates/ranking.html +++ b/packages/ui-default/templates/ranking.html @@ -8,7 +8,7 @@
      {% if not udocs.length %} - {{ nothing.render('Sorry, there is no user in this domain.') }} + {{ nothing.render('Sorry, there are no users in this domain.') }} {% else %}
    diff --git a/packages/ui-default/templates/record_main.html b/packages/ui-default/templates/record_main.html index 9e86127b0..87a7902e0 100644 --- a/packages/ui-default/templates/record_main.html +++ b/packages/ui-default/templates/record_main.html @@ -69,7 +69,7 @@ {% if not filterUidOrName and not filterPid and not filterTid %} {{ nothing.render('Oh, there is no task in the queue!') }} {% else %} - {{ nothing.render('Oh, there is no task that matches the filter!') }} + {{ nothing.render('Oh, there are no tasks that match the filter!') }} {% endif %} {% else %}
    diff --git a/packages/ui-default/templates/training_main.html b/packages/ui-default/templates/training_main.html index 8e6cf0175..6634fbaae 100644 --- a/packages/ui-default/templates/training_main.html +++ b/packages/ui-default/templates/training_main.html @@ -7,7 +7,7 @@

    {{ _('All Training Plans') }}

    {% if not tdocs.length %} - {{ nothing.render('Sorry, there is no training plan.') }} + {{ nothing.render('Sorry, there are no training plans.') }} {% else %}
      {%- for tdoc in tdocs -%} @@ -88,7 +88,7 @@
    -

    {{ _('You can create your own training plans and share with others.') }}

    +

    {{ _('You can create your own training plans and share them with others.') }}

    diff --git a/packages/ui-default/templates/user_detail.html b/packages/ui-default/templates/user_detail.html index d7a2bd681..2a4f0e8d5 100644 --- a/packages/ui-default/templates/user_detail.html +++ b/packages/ui-default/templates/user_detail.html @@ -95,7 +95,7 @@

    {{ _('Bio') }}

    {% if not udoc.bio %} - {{ nothing.render("This person is lazy and didn't wrote anything.") }} + {{ nothing.render("This person is lazy and didn't write anything.") }} {% else %}
    {{ udoc.bio|default('')|markdown|safe }}