From 2d3cee77538f71b39992f78d2ca601000c699049 Mon Sep 17 00:00:00 2001 From: undefined Date: Sat, 20 Jun 2020 12:05:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- hydro/handler/home.js | 6 +- hydro/handler/record.js | 4 +- hydro/lib/markdown.js | 6 +- hydro/lib/useragent.js | 12 +- hydro/service/server.js | 29 +- locales/en.yaml | 93 +- locales/zh_CN.yaml | 1308 +++++++++++++++-------------- locales/zh_TW.yaml | 844 +++++++++---------- module/module-pastebin/handler.js | 4 +- templates/home_security.html | 4 +- ui/build/runWebpack.js | 3 - ui/components/time/time.page.js | 5 +- 13 files changed, 1174 insertions(+), 1146 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e40aaf21..15f10111 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ "files.autoSave": "onFocusChange", "files.encoding": "utf8", "files.eol": "\n", - "editor.detectIndentation": false, + "editor.detectIndentation": true, "editor.tabSize": 4, "editor.formatOnSave": true, "editor.renderWhitespace": "boundary" diff --git a/hydro/handler/home.js b/hydro/handler/home.js index 28e913bb..702c504b 100644 --- a/hydro/handler/home.js +++ b/hydro/handler/home.js @@ -103,7 +103,6 @@ class HomeSecurityHandler extends Handler { async get() { // TODO(iceboy): pagination? or limit session count for uid? const sessions = await token.getSessionListByUid(this.user._id); - const parsed = []; for (const session of sessions) { session.isCurrent = session._id === this.session._id; session._id = md5(session._id); @@ -111,7 +110,8 @@ class HomeSecurityHandler extends Handler { if (geoip) session.updateGeoip = geoip.lookup(session.updateIp || session.createIp); } this.response.template = 'home_security.html'; - this.response.body = { sessions: parsed, geoipProvider: (geoip || {}).provider }; + this.response.body = { sessions, geoipProvider: (geoip || {}).provider }; + if (useragent) this.response.body.icon = useragent.icon; } async postChangePassword({ current, password, verifyPassword }) { @@ -160,6 +160,8 @@ class HomeSettingsHandler extends Handler { } async get({ category }) { + // eslint-disable-next-line prefer-destructuring + category = category[0]; // Category would be splitted into array const path = [ ['Hydro', 'homepage'], [`home_${category}`, null], diff --git a/hydro/handler/record.js b/hydro/handler/record.js index 88a080b7..e2a1e22d 100644 --- a/hydro/handler/record.js +++ b/hydro/handler/record.js @@ -127,9 +127,9 @@ class RecordMainConnectionHandler extends RecordConnectionHandler { // eslint-disable-next-line prefer-const let [udoc, pdoc] = await Promise.all([ user.getById(this.domainId, rdoc.uid), - problem.get(this.domainId, rdoc.pid), + problem.get(this.domainId, rdoc.pid, null, false), ]); - if (pdoc.hidden && !this.user.hasPerm(PERM_VIEW_PROBLEM_HIDDEN)) pdoc = null; + if (pdoc && pdoc.hidden && !this.user.hasPerm(PERM_VIEW_PROBLEM_HIDDEN)) pdoc = null; this.send({ html: await this.renderHTML('record_main_tr.html', { rdoc, udoc, pdoc }) }); } } diff --git a/hydro/lib/markdown.js b/hydro/lib/markdown.js index c885fefc..cfc05031 100644 --- a/hydro/lib/markdown.js +++ b/hydro/lib/markdown.js @@ -23,8 +23,10 @@ const Mark = require('markdown-it-mark'); // :::warn This page requires javascript. ::: // :::record-pass Accepted ::: const Container = require('markdown-it-container'); -// FIXME doesn't work for webpack -const Anchor = require('markdown-it-anchor'); +let Anchor = require('markdown-it-anchor'); +// For webpack +if (Anchor.default) Anchor = Anchor.default; + const TOC = require('markdown-it-table-of-contents'); require('prismjs/components/index'); diff --git a/hydro/lib/useragent.js b/hydro/lib/useragent.js index eb8cf76b..90d38f44 100644 --- a/hydro/lib/useragent.js +++ b/hydro/lib/useragent.js @@ -1,9 +1,11 @@ const browser = require('detect-browser'); -function get(str) { - const ua = browser.parseUserAgent(str); - console.log(ua); - return ua; +function parse(str) { + return browser.parseUserAgent(str); } -global.Hydro.lib.useragent = module.exports = get; +function icon(str) { + return str.split(' ')[0].toLowerCase(); +} + +global.Hydro.lib.useragent = module.exports = { parse, icon }; diff --git a/hydro/service/server.js b/hydro/service/server.js index f44b4145..e8bb403e 100644 --- a/hydro/service/server.js +++ b/hydro/service/server.js @@ -1,7 +1,7 @@ const assert = require('assert'); const path = require('path'); const os = require('os'); -const cluster = require('cluster'); +const _ = require('lodash'); const { ObjectID } = require('bson'); const Koa = require('koa'); const yaml = require('js-yaml'); @@ -32,7 +32,10 @@ const _validateObjectId = (id, key) => { throw new ValidationError(key); }; const _bool = (val) => !!val; -const _splitAndTrim = (val) => val.split(',').map((i) => i.trim()); +const _splitAndTrim = (val) => { + const t = val.split(',').map((i) => i.trim().split('+')); + return _.flatten(t); +}; const _date = (val) => { const d = val.split('-'); assert(d.length === 3); @@ -412,10 +415,31 @@ class ConnectionHandler { for (const i in p) this.request.params[p[i][0]] = decodeURIComponent(p[i][1]); } + url(name, kwargs = {}) { // eslint-disable-line class-methods-use-this + let res = '#'; + try { + delete kwargs.__keywords; + if (this.args.domainId !== 'system') { + name += '_with_domainId'; + kwargs.domainId = kwargs.domainId || this.args.domainId; + } + const { anchor, query } = kwargs; + delete kwargs.anchor; + delete kwargs.query; + if (query) res = router.url(name, kwargs, { query }); + else res = router.url(name, kwargs); + if (anchor) return `${res}#${anchor}`; + } catch (e) { + console.error(e.message); + } + return res; + } + async renderHTML(name, context) { this.hasPerm = (perm) => this.user.hasPerm(perm); const res = await template.render(name, Object.assign(context, { handler: this, + url: (...args) => this.url(...args), _: (str) => (str ? str.toString().translate(this.user.viewLang || this.session.viewLang) : ''), user: this.user, })); @@ -450,6 +474,7 @@ function Connection(name, prefix, RouteConnHandler, permission) { const h = new RouteConnHandler(conn); try { const args = { domainId: 'system', ...h.request.params }; + h.args = args; if (h.___prepare) await h.___prepare(args); if (permission) h.checkPerm(permission); let checking = ''; diff --git a/locales/en.yaml b/locales/en.yaml index bae17ba2..752fb1c1 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -1,83 +1,82 @@ -#English ---- -contest_main: Contest +__langname: English +Can be Extended For: Extension contest_create: Contest Create +contest_detail_problem_submit: Submit Contest Problem contest_edit: Contest Edit +contest_main: Contest contest_scoreboard: Scoreboard -contest_detail_problem_submit: Submit Contest Problem discussion_create: Create Discussion +discussion_edit: Discussion Edit discussion_main: Discussion discussion_node: Discussion +display_name: Display Name +domain_main: Main +fs_upload: File Upload home_account: Account Settings home_domain_account: Profile @ Domain -home_preference: Preference +home_domain_create: Create Domain +home_domain: My Domains +home_file: My Files home_messages: Messages +home_preference: Preference home_security: Security -home_domain: My Domains -homework_main: Homework homework_create: Homework Create +homework_detail_problem_submit: Submit Homework Problem homework_edit: Homework Edit +homework_main: Homework homework_scoreboard: Scoreboard -homework_detail_problem_submit: Submit Homework Problem judge_playground: Judge Playground main: Home +manage_dashboard: Dashboard +manage_discussion: Discussion Nodes +manage_edit: Edit Info +manage_join_applications: Join Applications +manage_module: Module Management +manage_permission: System Permission +manage_role: System Role +manage_setting: System Settings +manage_user: System User +manage: System Manage +no_translation_warn:
This part of content is under translation.
+page.problem_detail.sidebar.show_category: Click to Show +page.training_detail.invalid_when_not_enrolled: You cannot view problem details unless enrolled. pager_first: « First pager_last: Last » pager_next: Next › pager_previous: ‹ Previous +perm_contest: Contests +perm_discussion: Discussions +perm_general: General +perm_problem_solution: Problem Solutions +perm_problem: Problems +perm_record: Records +perm_training: Trainings problem_create: Problem Create problem_edit: Problem Edit problem_main: Problem Set -problem_solution: Problem Solution -problem_submit: Problem Submit problem_settings: Problem Settings +problem_solution: Problem Solution problem_statistics: Problem Statistics +problem_submit: Problem Submit +problem-category-delim: '|' +problem-subcategory-delim: ', ' record_detail: Record Detail record_main: Judging Queue +setting_customize: Customize +setting_display: Display Preference setting_function: Function +setting_info_domain: Personal Info setting_info: Personal Info setting_preference: Preference setting_privacy: Privacy -setting_customize: Customize -training_main: Training -training_edit: Training Edit +setting_usage: Usage Preference +timeago_locale: en training_create: Training Create +training_edit: Training Edit +training_main: Training user_detail: User Detail user_login: Login user_logout: Logout user_lostpass: Lost Password user_register: Register -home_domain_create: Create Domain -domain_main: Main -manage: System Manage -manage_dashboard: Dashboard -manage_discussion: Discussion Nodes -manage_edit: Edit Info -manage_join_applications: Join Applications -manage_role: System Role -manage_user: System User -manage_permission: System Permission -manage_module: Module Management -manage_setting: System Settings -timeago_locale: en -perm_general: General -perm_problem: Problems -perm_record: Records -perm_problem_solution: Problem Solutions -perm_discussion: Discussions -perm_contest: Contests -perm_training: Trainings -discussion_edit: Discussion Edit -wiki_help: Help -no_translation_warn:
This part of content is under translation.
-problem-category-delim: '|' -problem-subcategory-delim: ', ' -setting_display: Display Preference -setting_usage: Usage Preference -home_file: My Files -fs_upload: File Upload -page.training_detail.invalid_when_not_enrolled: You cannot view problem details unless enrolled. -page.problem_detail.sidebar.show_category: Click to Show -setting_info_domain: Personal Info -display_name: Display Name -Can be Extended For: Extension +wiki_help: Help \ No newline at end of file diff --git a/locales/zh_CN.yaml b/locales/zh_CN.yaml index 58f67a79..f5316a85 100644 --- a/locales/zh_CN.yaml +++ b/locales/zh_CN.yaml @@ -1,790 +1,794 @@ -#简体中文 ---- +__langname: 简体中文 +'"{data}" copied to clipboard!': “{data}”已复制到剪贴板! +'{} is a moderator of this domain.': '{}是这个域的管理者之一。' +'{0} comments': '{0} 条评论' +'{0} discussions': '{0} 条讨论' +'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超过频率限制。限制:{1} 秒内最多 {2} 次操作。' +'{0} problems': '{0} 道题' +'{0} sections': '{0} 小节' +'{0} solutions': '{0} 条题解' +'{0} views': '{0} 次查看' +'{0}: Permissions': '{0}: 权限' +'{0}: Roles': '{0}: 角色' +'{0}: Users': '{0}: 用户' +'# My Submissions': '我的递交数' +'# Submissions': '递交数' +'↓ # Comments': '↓ 评论数' +'↓ # Enrollees': '↓ 参与人数' +'↓ # Likes': '↓ 赞数' +'↓ # Stars': '↓ 收藏数' +'↓ Create Time': '↓ 创建时间' +'↓ Update Time': '↓ 更新时间' +'A domain ID cannot be changed after creation. It is supposed to be:': '创建后将无法更改 ID。ID 必须满足以下条件:' +'Copy "{data}" failed :(': '复制“{data}”失败 :(' +'Copy failed :(': '复制失败 :(' +'Current dataset: {0}': '当前测试数据: {0}' +'Discussion: Terms Of Service': 讨论区服务条款 +'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, ... +'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以点击以下链接来激活您 Hydro 账户的新电子邮件地址: +'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以点击以下链接来重置您 Hydro 账户的密码: +'Hello! You can click following link to sign up your Hydro account:': 您好!您可以点击以下链接来注册您的 Hydro 账户: +'Join {0}': '加入 {0}' +'No': 否 +'Note: Problem title may not be hidden.': 注意:题目标题可能不会被隐藏。 +'Role {1} already exists in domain {0}.': '域 {0} 中已存在角色 {1}。' +'Solved {0} problems, RP: {1} (No. {2})': '解决了 {0} 道题目,RP: {1} (No. {2})' +'The value `{1}` of {0} already exists.': '{0} 的值 `{1}` 已经存在。' +'We use Gravatar to present your avatar icon.': '我们使用 Gravatar 服务来呈现您的头像。' +'Yes': 是 +"Effects only when Difficulty is not 'Use algorithm calculated'.": 仅当难度不为“使用算法计算”时才起效。 +"Splitted by ', '.": 由“, ”或“,”分隔。 +"What's file?": 什么是文件? +(All Problems): (所有题目) (None): (无) -API: API +Aborted: 已放弃 +About Hydro: 关于 Hydro +About Markdown: 关于 Markdown +About test data: 关于测试数据 about: 关于 About: 关于 -About Hydro: 关于 Hydro -Accepted: 已通过 +AC Message: 通过消息 Accepted Ratio: 通过率 +Accepted: 已通过 +Access Control: 访问控制 +Action: 动作 Active Sessions: 活动会话 +Add new data: 添加新数据 +Add User: 添加用户 +Add: 添加 +All {0} Contests: 所有 {0} 比赛 +All Contests: 所有比赛 +All Homeworks: 所有作业 +All Submissions: 所有递交 +All Training Plans: 所有训练计划 +All: 全部 +Always granted all privileges: 总是拥有所有权限 +An error has occurred.: 发生了一个错误。 +An example of dataset: 测试数据集的一个例子 +Any user is allowed to join this domain with an invitation code: 任意用户都可以通过邀请码加入此域 +Any user is allowed to join this domain: 任意用户都可以加入此域 +API: API +Argument {0} is invalid.: 非法的参数 {0} 。 Arguments: 参数 +At least 4 characters: 至少 4 个字符 Attend Contest: 参加比赛 +Attend contests: 参加比赛 Attended: 已参加 -Login to Attend Contest: 登录后参加比赛 -No Permission to Attend Contest: 您没有权限参加比赛 +author: 作者 +Be Copied: 被复制 +Begin at: 开始于 Begin Date: 开始日期 Begin Time: 开始时间 Belongs to: 属于 -Bio: 个人简介 Bio Visibility: 个人简介可见性 +Bio: 个人简介 Blog: 博客 +Bold: 加粗 Boom!: 炸了! Browser: 浏览器 +Built-in: 内置 +Bulletin: 公告 +By clicking the button, you will become a member of the domain {0}.: 点击按钮,您将成为域 {0} 的成员。 +By Contest: 由比赛 +By Problem: 由题目 By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.: 注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。 -CLOSE: 关闭 +By Username / UID: 由用户名或 UID +Calendar View: 日历视图 +Calendar: 日历 +Can be Extended For: 可延期 +Cancel Score: 取消成绩 Cancel: 取消 -Ok: 确定 +Categories: 分类 Category: 分类 Change Email: 修改电子邮件 Change Password: 修改密码 +Chinese: 中文 +Choose the background image in your profile page.: 选择您资料页面的背景图片。 +Claim homework: 认领作业 +Claim Homework: 认领作业 +Claimed: 已认领 +Clear Marks: 清除标记 +Click here to chat with me: 点击这里与我聊天 +click to add: 点击添加 +CLOSE: 关闭 +Code blocks: 代码区块 +Code copied to clipboard!: 代码已复制到剪贴板! +Code language: 代码语言 Code: 代码 +collapse: 收缩 +Comment: 评论 Comments: 评论 +CommonMark Syntax: CommonMark 语法 +Compile Error: 编译错误 +Compilers' Version and Parameters: 编译器版本及参数 +Complete: 完成 +Completed: 已完成 +Confirm deleting the selected roles?: 您确定删除所选角色吗? +Confirm deleting this comment? Its replies will be deleted as well.: 确认删除这个评论吗?回复会被同时删除。 +Confirm deleting this reply?: 确认删除这个回复吗? +Confirm removing the selected users?: 您确定将所选用户移除吗? +Confirmation mail has been sent to your new email.: 确认邮件已经发送到您的新电子邮箱。 +Congratulations! Your submission is accepted.: 恭喜!您的递交已评测通过。 Contact Us: 联系我们 +Contact: 联系 +content: 内容 Content: 内容 +Contest scoreboard is not visible.: 当前比赛成绩表隐藏,暂不可显示。 Contest Scoreboard: 比赛成绩表 -contest_main: 比赛 contest_create: 创建比赛 +contest_detail_problem_submit: 递交比赛题目 contest_edit: 编辑比赛 +contest_main: 比赛 contest_scoreboard: 比赛成绩表 -contest_detail_problem_submit: 递交比赛题目 -Create: 创建 -Create Contest: 创建比赛 -Create Discussion: 创建讨论 -Create Discussion in {0}: 在 {0} 下创建讨论 -Create Problem: 创建题目 +Contest: 比赛 +Continue: 继续 +Contributed Problems: 贡献的题目 +Contributions: 贡献 +Copy Email: 复制电子邮件 +Copy from: 复制自 +Copy QQ Number: 复制QQ号 +Copy WeChat Account: 复制微信号 +Copy: 复制 +Copyright Complaint: 版权申诉 Create a contest: 创建一个比赛 Create a Discussion: 创建一个讨论 -Login to Create a Discussion: 登录后创建讨论 -No Permission to Create a Discussion: 您没有权限创建讨论 Create a problem: 创建一个题目 +Create Contest: 创建比赛 +Create contests: 创建比赛 +Create Discussion in {0}: 在 {0} 下创建讨论 +Create Discussion: 创建讨论 +Create discussions: 创建讨论 +Create Domain: 创建域 +Create homework: 创建作业 +Create Homework: 创建作业 +Create Link: 创建链接 +Create problem solutions: 创建题解 +Create Problem: 创建题目 +Create problems: 创建题目 +Create Role: 创建角色 +Create Training Plan: 创建训练计划 +Create training plans: 创建训练计划 +Create: 创建 +Created By: 创建人 +Current dataset comes from: 当前数据集来自 +current domain: 当前域 Current Email: 当前电子邮件 Current Location: 当前位置 +Current password doesn't match.: 当前密码输入错误。 Current Password: 当前密码 +currently offline: 目前离线 +Data of Problem {0} not found.: 题目 {0} 的数据缺失。 +Data of problem {1} not found.: 题目 {1} 的数据未找到。 +Data of record {0} not found.: 记录 {0} 的数据未找到。 +Dataset Format: 测试数据集格式 +Dataset: 测试数据 +Day: 日 +Deadline: 截止时间 Default Code Language: 默认代码语言 Default Code Template: 默认代码模板 -If left blank, the built-in template of the corresponding language will be used.: 若留空,则将使用对应语言的内置代码模板。 +Delete discussion replies of own discussion: 删除自己讨论中的回复 +Delete discussion replies: 删除讨论回复 +Delete discussions: 删除讨论 +Delete own discussion replies: 删除讨论中自己的回复 +Delete own discussions: 删除自己的讨论 +Delete own problem solution replies: 删除题解中自己的回复 +Delete own problem solutions: 删除自己的题解 +Delete problem solution replies: 删除题解的回复 +Delete problem solutions: 删除题解 +Delete Selected Roles: 删除所选角色 +delete: 删除 +Delete: 删除 +Description: 说明 +Destination Domain: 目标域 Development: 开发 +Difficulty Algorithm: 难度算法 +Difficulty by admin: 管理员设定的难度 +Difficulty by algorithm: 算法计算的难度 +Difficulty displayed: 显示的难度 Difficulty: 难度 Disabled: 关闭 +Discussion {1} not found.: 讨论 {1} 不存在。 +Discussion category {1} already exists.: 讨论分类 {1} 已经存在。 +Discussion category {1} not found.: 讨论分类 {1} 不存在。 +Discussion node {1} already exists.: 讨论节点 {1} 已经存在。 +Discussion node {1} not found.: 讨论节点 {1} 不存在。 Discussion Nodes: 讨论节点 +discussion_create: 创建讨论 +discussion_edit: 编辑讨论 +discussion_main: 讨论 +discussion_node: 讨论 +Discussion: 讨论 Discussions: 讨论 +Display name {1} you want to set is used by others.: 您想要设置的显示名 {1} 已经被其他人使用了。 +Display Name: 显示名 +display_name: 显示名 +Do not discuss solutions otherwise you will be regarded as cheating and then lose qualifications.: 请勿讨论解法,否则以作弊论处并且将失去参赛资格。 +Document {2} not found.: 文档 {2} 不存在。 +Domain {0} already exists.: 域 {0} 已经存在。 +Domain {0} is bulit-in and cannot be modified.: 域 {0} 为内置,不可修改。 +Domain {0} not found.: 域 {0} 不存在。 +Domain ID cannot be changed once the domain is created.: 在创建后不能更改 ID。 +Domain ID: 域 ID +domain_dashboard: 域概况 +domain_discussion: 讨论节点 +domain_edit: 编辑域资料 +domain_join: 加入域 +domain_main: 首页 +domain_permission: 管理权限 +domain_role: 管理角色 +domain_user: 管理用户 +domain: 域 +Domain: 域 Don't have an account?: 还没有账户? -Pretest Data: 自测数据 -Problem Data: 题目数据 +Done: 已结束 +Download Dataset: 下载数据集 Download: 下载 +Downvote: 差评 Duration (hours): 持续时间 (小时) -Edit: 编辑 +Duration: 持续时间 +Edit any contests: 修改任意的比赛 +Edit any homework: 修改任意的作业 +Edit Contest: 编辑比赛 +Edit description of this domain: 修改此域描述 +Edit discussion replies of own discussion: 修改自己讨论中的回复 +Edit discussion replies: 修改讨论的回复 +Edit discussions: 修改讨论 +Edit Domain: 编辑域 +Edit Homework: 编辑作业 +Edit own contests: 修改自己的比赛 +Edit own discussion replies: 修改讨论中自己的回复 +Edit own discussions: 修改自己的讨论 +Edit own homework: 修改自己的作业 +Edit own problem solution replies: 修改题解中自己的回复 +Edit own problem solutions: 修改自己的题解 +Edit own problems: 修改自己的题目 +Edit own training plans: 修改自己的训练计划 +Edit permissions of a role: 修改角色权限 +Edit problem solution replies: 修改题解的回复 +Edit problem solutions: 修改题解 Edit Problem: 编辑题目 -Email: 电子邮件 +Edit problems: 修改题目 +Edit Profile: 编辑个人信息 +Edit training plans: 修改训练计划 +Edit: 编辑 Email Visibility: Email 可见性 +Email: 电子邮件 Enabled: 开启 -Footer: 页脚 -Forgot password or username?: 忘记密码或者用户名? -Gender: 性别 -Gender Visibility: 性别可见性 -Gravatar Email: Gravatar Email 地址 -'Hello! You can click following link to sign up your Hydro account:': 您好!您可以点击以下链接来注册您的 Hydro 账户: -'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以点击以下链接来重置您 - Hydro 账户的密码: -'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以点击以下链接来激活您 - Hydro 账户的新电子邮件地址: -Confirmation mail has been sent to your new email.: 确认邮件已经发送到您的新电子邮箱。 -Help: 帮助 -Hide all tags: 隐藏所有标签 -Hide categorical tags: 隐藏分类标签 -If enabled, source code will be emailed to you after the submission is accepted.: 如果启用,在您通过题目后,源代码会以 - Email 的形式发送给您。 -In following training plans: 在下列训练计划中 -In following homework: 在以下作业中 -Information: 信息 -It works!: 它成了! -Judged At: 评测时间 +End at: 结束于 +End Date: 结束日期 +End Time: 结束时间 +English: 英文 +Enroll Training: 参加训练 +Enrolled: 已参加 +Enrollees: 参加人数 +error: 错误 +Evaluated difficulty: 估计的难度 +expand: 展开 +Expire: 过期 +Export All Code: 导出所有代码 +Export as CSV: 导出为 CSV +Export as HTML: 导出为 HTML +Extension (days): 最长延期 (日) +Extension Score Penalty: 延期递交扣分规则 +Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员。 +Feedback: 反馈 +Field {0} or {1} validation failed.: 字段 {0} 或 {1} 验证失败。 +Field {0} validation failed.: 字段 {0} 验证失败。 +Filter: 过滤 +Footer: 页脚 +Forgot Password and/or Username: 忘记密码和/或用户名 +Forgot password or username?: 忘记密码或者用户名? +Formula blocks: 公式区块 +fs_upload: 上传文件 +Gender Visibility: 性别可见性 +Gender: 性别 +Gravatar Email: Gravatar Email 地址 +Hard Deadline: 最终截止时间 +Hash: 散列 +Have ALL PERMISSIONS in this domain: 在此域中拥有全部权限 +He: 他 +Help: 帮助 +Hidden: 隐藏 +Hide all tags: 隐藏所有标签 +Hide categorical tags: 隐藏分类标签 +Highlight discussions: 高亮讨论 +Highlight: 高亮讨论 +Hint: 提示 +home_account: 账户设置 +home_domain_account: 当前域的设置 +home_domain_create: 创建域 +home_domain: 我的域 +home_file: 我的文件 +home_messages: 站内消息 +home_preference: 偏好设置 +home_security: 安全设置 +homepage: 首页 +Homework Introduction: 作业介绍 +Homework scoreboard is not visible.: 目前无法查看作业成绩表。 +homework_create: 创建作业 +homework_detail_problem_submit: 递交作业题目 +homework_edit: 编辑作业 +homework_main: 作业 +homework_scoreboard: 作业成绩表 +homework_status: 作业成绩表 +Homework: 作业 +Host: 主持人 +hour(s): 小时 +If enabled, source code will be emailed to you after the submission is accepted.: 如果启用,在您通过题目后,源代码会以 Email 的形式发送给您。 +If left blank, the built-in template of the corresponding language will be used.: 若留空,则将使用对应语言的内置代码模板。 +Images: 图片 +Import Problem: 导入题目 +In 1 day: 一天后 +In 1 month: 一个月后 +In 1 week: 一周后 +In 3 days: 三天后 +In 3 hours: 三个小时后 +In following contests: 在下列比赛中 +In following homework: 在以下作业中 +In following training plans: 在下列训练计划中 +In Progress: 进行中 +Information: 信息 +Initialize: 初始化 +Inline codes: 行内代码 +Inline formulas: 行内公式 +Insert Code: 插入代码 +Insert Image: 插入图像 +Instead of copying the test data directly, the test data of the copied problems will be linked to the test data of the source problems (called the source test data). Thus, the copied problems can observe the changes in the source test data. The permissions of the test data of the copied problems follow the source test data, e.g., you still might not download them but the judges can. By uploading some new test data, the link will be broken and the new test data will be used.: 虽然测试数据不会被复制,但是系统会将题目的测试数据链接到原题。因此在原题的数据被改动的时候,复制后的题目的数据也会同时改动。链接后的测试数据的权限以原题为准,比如您可能依旧无法下载数据,但是评测机可以。在题目设置页面中可以通过上传新的测试数据的方式,这个数据链接会被删除,以后将使用您的新测试数据。 +Introduce must not exceed 500 characters and it will be shown in the list view.: 简介不能超过 500 个字符,将显示在列表页面中。 +Introduce: 简介 +Invalid password for user {0}.: 用户 {0} 的密码错误。 +Invalid: 无效 +Invitation Code: 邀请码 +IO: 输入输出 +It works!: 它成了! +Italic: 斜体 +Join: 加入 +Judge Status: 评测状态 +judge_playground: 评测游乐场 +Judged At: 评测时间 +Judged By: 评测机 Judging Queue: 评测队列 +Keep current expiration: 保持当前过期设置 Language: 语言 +last active at: 最后活动于 +last login at: 最后登录于 +Last Submit At: 最后递交于 Last Update At: 最后活动时间 +LaTeX Expressions: LaTeX 表达式 +Learn More: 了解更多 +Limitations: 限制 +Links: 链接 +List View: 列表视图 +Live: 正在进行 +Live...: 正在进行… Location: 位置 +Login to Attend Contest: 登录后参加比赛 +Login to Claim Homework: 登录后认领作业 +Login to Create a Discussion: 登录后创建讨论 +Login to Submit: 登录后递交 Login: 登录 -Logout: 登出 Logout All Sessions: 注销所有会话 Logout This Session: 注销该会话 +Logout: 登出 Lost Password: 忘记密码 -Memory: 内存 +Lucky: 手气不错 +manage_dashboard: 控制面板 +manage_join_applications: 加域申请 +manage_module: 管理模块 +manage_script: 脚本管理 +manage_setting: 系统设置 +manage: 管理 +Manage: 管理 +Manager: 管理 +Mark Green: 标绿 +Mark Yellow: 标黄 Memory Cost: 内存占用 +Memory: 内存 +Message {0} not found.: 消息 {0} 不存在。 Messages: 站内消息 +Method: 方法 +Month: 月 +Monthly Popular: 月度最受欢迎 +Most Upvoted Solutions: 最被赞同的题解 +My Domains: 我的域 +My Files: 我的文件 My Profile: 我的资料 +My Recent Submissions: 我的最近递交记录 +My Role: 我的角色 +Name: 名称 +Network error: 网络错误 +Never expire: 从不过期 +New dataset: 新测试数据 New Email: 新电子邮件 +New file: 新文件 New Password: 新密码 +New Training Plan: 新训练计划 +New: 创建 +No comments so far...: 目前还没有评论... +No dataset at present.: 暂无测试数据。 +no discussion yet...: 目前没有讨论… +No Permission to Attend Contest: 您没有权限参加比赛 +No Permission to Claim Homework: 您没有权限认领作业 +No Permission to Create a Discussion: 您没有权限创建讨论 +No Permission to Submit: 您没有权限递交 +No problem.: 没有题目。 +No solutions so far...: 目前还没有题解... +No Submissions: 没有递交 +No user is allowed to join this domain: 没有用户可以自助加入此域 +no_translation_warn: '' +Not Attended: 未参加 Not available: 不可用 +Not Claimed: 未认领 +Not Enrolled: 未参加 +Not started with a number: 不以数字开头 +Not wrapped with space: 两侧不含空格 +Numeric PID: 数字题号 +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!: 喔,目前没有符合过滤条件的任务。 +Ok: 确定 +Only A-Z, a-z, 0-9 and _ are accepted: 只接受 A-Z, a-z, 0-9 和 _ +Oops, there are no results.: 呀,没有结果。 Oops!: Oops! +Open in Problem Set: 在题库中打开 Open Scratchpad: 进入在线编程模式 +Open Since: 开始时间 Open Source: 开源 +Open: 开放 Operating System: 操作系统 -Password: 密码 +Ops: 运维 +Or, with automatically filled invitation code: 或者,这是可以自动填写邀请码的 +Ordered List: 有序列表 +Original Score: 原始分数 +Owner: 所有者 +page.problem_detail.sidebar.show_category: 点击显示 +page.training_detail.invalid_when_not_enrolled: 未参加训练计划时您不能查看题目详情。 +pager_first: « 第一页 +pager_last: 末页 » +pager_next: 下一页 › +pager_previous: ‹ 前一页 +Partic.: 参赛人数 Password reset mail has been sent to your email.: 密码重置邮件已发送到您的电子邮箱。 +Password: 密码 +Passwords don't match.: 验证密码不匹配。 +Path {0} not found.: 路径 {0} 不存在。 Peak Memory: 峰值内存 +perm_contest: 比赛 +perm_discussion: 讨论 +perm_general: 一般 +perm_homework: 作业 +perm_problem_solution: 题解 +perm_problem: 题库 +perm_record: 记录 +perm_training: 训练 +Permission: 权限 +Permissions: 权限 +Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题 +Plan: 计划 +Please attend contest to see the problems.: 请参加比赛来查看题目。 +Please claim the assignment to see the problems.: 认领作业后才可以查看作业内容。 +Please select at least one role to perform this operation.: 请选择至少一个角色来进行操作。 +Please select at least one user to perform this operation.: 请选择至少一个用户来进行操作。 +Pretest Data: 自测数据 +Pretest Your Code: 使用自定义数据测试 +Pretest: 自测 Pretest?: 自测? Privacy: 隐私 -Problem: 题目 +Problem {1} not found.: 题目 {1} 不存在。 +Problem Data: 题目数据 +Problem ID List: 题目 ID 列表 Problem Set: 题库 Problem Settings: 题目设置 -Problem Solution: 题解列表 Problem Solution List: 题解列表 +Problem Solution: 题解列表 Problem Tags Visibility: 题目标签可见性 -Problems: 题目 +problem_create: 创建题目 +problem_edit: 编辑题目 +problem_main: 题库 +problem_settings: 题目设置 +problem_solution: 题解 +problem_statistics: 题目统计 +problem_submit: 递交代码 +problem-category-delim: '|' +problem-subcategory-delim: 、 +Problem: 题目 Problems Sets: 题库 +Problems: 题目 +Profile Background Image: 背景图片 +Progress: 进度 +Properties: 属性 Public: 公开 Published at: 发表于 QQ Group: QQ 群 QQ Visibility: QQ 可见性 -WeChat: 微信 -WeChat Visibility: 微信可见性 Quit Scratchpad: 退出在线编程模式 +Quote: 引用 +Rank: 排名 +ranking: 排名 +Read data of own problems: 读取自己题目的数据 +Read data of problem: 读取题目数据 +Read record codes: 读取记录的代码 +Ready (☆▽☆): 马上开始 (☆▽☆) +Ready: 即将开始 +Recent {0} Records: 最近 {0} 条记录 Recent Activities: 最近活动 +Recent Solutions: 最近编写的题解 +Recent Submissions: 最近递交 +Recently Created Discussions: 最近创建的讨论 +Recommended: 推荐 +Record {0} not found.: 记录 {0} 不存在。 +record_detail: 记录详情 +record_main: 评测队列 +Records: 评测记录 +Refresh Records: 刷新评测记录 +Refresh: 刷新 Registered at: 注册于 -Related: 相关 +Rejudge problems: 重测题目 +Rejudge records: 重测记录 +Rejudge: 重测 Related Discussions: 相关讨论 +Related: 相关 Remember me: 记住我 +Remove Selected User: 将所选用户移出 +Remove this data: 移除这组数据 +Remove: 移除 Repeat Password: 重复密码 +Reply discussions: 回复讨论 +Reply problem solutions: 回复题解 +reply: 回复 Reply: 回复 +Report: 举报 +required: 必填 +Reset Password or Find Username: 重置密码或找回用户名 Reset Password: 重置密码 -Rule: 规则 -SIGN IN: 登录 -Save All Changes: 保存所有修改 -Saved session: 已保存的会话 -Score: 分数 -Secret: 保密 +Reset: 重置 +Role Assignment: 角色分配 +Role has been updated to {0} for selected users.: 所选用户角色已更新为 {0}。 +Role has been updated to {0}.: 角色已更新为 {0}。 +Role name can only contains numbers, letters and underscores.: 角色名称只能包含数字、字母和下划线。 +Role: 角色 +Roles: 角色 +RP Algorithm: RP 算法 +Rule: 规则 +Run Pretest: 运行自测 +Run: 运行 +Sample Input: 输入数据 +Sample Output: 输出数据 +Save All Changes: 保存所有修改 +Saved session: 已保存的会话 +score canceled: 成绩取消 +Score: 分数 +Scoreboard (Hidden): 成绩表 (隐藏) +Scoreboard: 成绩表 +Scripts: 脚本 +Search: 搜索 Secret (visible to admins): 保密(对管理员可见) +Secret: 保密 +Section: 章节 Security: 安全 Select a node to create discussion.: 选择一个节点来发表讨论。 -Send: 发送 +Select a role: 选择一个角色 +Select User: 选择用户 +Selected roles have been deleted.: 所选角色已删除。 +Selected users have been removed from the domain.: 所选用户已从此域中移除。 Send Code after acceptance: 通过题目后发送源代码 +Send Message: 发送站内信息 Send Password Reset Email: 发送密码重置邮件 Send Verification Email: 发送验证邮件 +Send: 发送 Service Status: 服务状态 +Set Role: 设置角色 +Set Roles for Selected User: 设置所选用户的角色 +Set Roles for selected users: 为所选用户设置角色 +setting_customize: 个性化 +setting_display: 显示偏好 +setting_info_domain: 个人信息 +setting_info: 个人信息 +setting_privacy: 隐私 +setting_usage: 使用偏好 Settings: 设置 +Share: 分享 +She: 她 Show all tags: 显示所有标签 +Show MOD badge: 展示 MOD 徽章 +Show: 显示 Sign In: 登录 -Sign Up: 注册 -Sign Up Now: 现在注册 +SIGN IN: 登录 Sign up mail has been sent to your email.: 注册邮件已经发送到您的电子邮箱。 +Sign Up Now: 现在注册 +Sign Up: 注册 +Size: 大小 +Solutions Liked: 题解被赞 Solutions: 题解 -'Solved {0} problems, RP: {1} (No. {2})': '解决了 {0} 道题目,RP: {1} (No. {2})' -Sorry: 对不起 +Solve: 解决 +Solved Problems: 解决题目 Sorry, there is no problem in the problem set: 题库中没有题目 -Solutions Liked: 题解被赞 -Statistics: 统计 -Status: 状态 -Star: 收藏 -Unstar: 取消收藏 +Sorry, there is no training plan.: 目前没有训练计划。 +Sorry: 对不起 +Sort by: 排序 Star Topic: 收藏讨论 -Unstar Topic: 取消收藏 +Star: 收藏 +Start at: 开始于 +Statistics: 统计 Status is hidden: 状态已隐藏 +Status: 状态 Submission Statistics: 递交统计 Submission: 递交 Submissions: 递交 -Submit: 递交 -'# Submissions': '递交数' -'# My Submissions': '我的递交数' -Login to Submit: 登录后递交 -No Permission to Submit: 您没有权限递交 Submit At: 递交时间 Submit By: 递交者 +Submit problem: 递交题目 +Submit Solution: 递交评测 Submit Time: 递交时间 +Submit to Judge: 递交以评测 +Submit Your Code: 递交代码进行正式评测 +Submit: 递交 +Submitted: 已递交 Support: 支持 +Tags: 标签 Technical Information: 技术信息 Temporary session: 临时会话 +Terms of Service: 服务条款 +Test data comes from: 测试数据来自 +Text: 文本 +The homework's deadline is due but in extension. You can still submit for this problem but your score will be penalized.: 作业已超过截止时间,但仍在延期时间内。您递交题目将无法获得全部分数。 +The invitation code to enter to successfully join the domain. You can only use letters and numbers in the code and it should not be longer than 64 characters.: 加入此域的邀请码。您只能使用字母和数字,并且不能长于 64 个字符。 +The invitation code you provided is invalid.: 您提供的邀请码无效。 +The link will be expired at {0}: 链接将于 {0} 过期 +The role to assign when user joining the domain.: 用户加入此域时分配的角色。 +The uploaded file is too long.: 上传的文件太长。 +The user is already a member of the domain.: 该用户已是域的成员。 +The user is too lazy to leave something here...: 该用户太懒,这里啥也没写 (´・ω・`) +Their account will not be deleted and they will be with the default role.: 他们的账号不会被删除,并且之后将以 default 角色访问。 +There are no contests...: 没有比赛… +There is no homework so far ╰(*°▽°*)╯: 目前还没有作业 ╰(*°▽°*)╯ +This contest is not live.: 比赛没有开始。 This email was sent by {0} automatically, and please do not reply directly.: 这封邮件由 {0} 自动发送,请勿直接回复。 +This homework is not open and you cannot view problems.: 该作业还未到开放时间,您无法查看作业题目。 +This homework is not open.: 该作业还未开放递交。 This is the current session: 这是当前的会话 +This message will be presented to those whose submissions are accepted.: 这条消息将会被展示给通过此题的用户。 +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): 耗时 (秒) Time Cost: 耗时 +Time Extension: 延期 +Time: 时间 +timeago_locale: zh_CN +Timezone: 时区 +title: 标题 Title: 标题 -Total Time: 总耗时 -Time (Seconds): 耗时 (秒) +Toggle Pretest Panel: 切换自测面板 +Toggle Preview: 切换预览 +Toggle Records Panel: 切换评测记录面板 +Total Score: 总分数 Total Time (Seconds): 总耗时 (秒) +Total Time: 总耗时 +Total: 总计 +Training requirement is not satisfied.: 不满足训练条件。 +training_create: 创建训练 +training_edit: 编辑训练 +training_main: 训练 +Training: 训练 Type: 类型 UI Language: 用户界面语言 -Timezone: 时区 +Uncompleted: 未完成 +Unique: 唯一 +Unknown field {0}.: 未知字段 {0}。 Unknown: 未知 +Unordered List: 无序列表 +Unstar Topic: 取消收藏 +Unstar: 取消收藏 +Update Permission: 更新权限 +Update Settings: 更新设置 Update: 更新 -Uploaded By: 上传者 +Upload File: 上传文件 Upload Problem: 上传题目 +Upload: 上传 +Uploaded By: 上传者 +Upvote: 好评 +Usage exceeded.: 用量超限。 +Use admin specificed: 由管理员指定 +Use algorithm calculated: 使用算法计算 +Use average of above: 使用上面的平均值 +User {0} already exists.: 用户 {0} 已存在。 +User {0} not found.: 用户 {0} 不存在。 +User can join this domain by visiting the following URL: 用户可以访问此链接来加入此域 +User ID: 用户 ID +User will no longer be allowed to join the domain after expiration.: 过期后,用户将不能加入此域。 +user_detail: 用户 +user_login: 登录 +user_logout: 登出 +user_lostpass: 忘记密码 +user_register: 注册 +User-defined role: 用户定义的角色 User: 用户 +Username / UID: 用户名或 UID Username: 用户名 +Users with those roles will be removed from the domain.: 拥有这些角色的用户将从此域中移除。 +Users: 用户 Using your Hydro universal account: 使用您的 Hydro 通用账户 -View Problem: 查看题目 +Valid for registered users who are not members of the domain: 对域外注册用户有效 +Valid for visitors: 对未登录的游客有效 +View contest scoreboard: 查看比赛成绩表 +View Contest: 查看比赛 +View contests: 查看比赛 +View Details: 查看详情 +View discussions: 查看讨论 +View hidden contest submission status and scoreboard: 查看隐藏的比赛递交状态和成绩表 +View hidden homework submission status and scoreboard: 查看隐藏的作业递交状态和成绩表 +View hidden problems: 查看隐藏的题目 +View homework scoreboard: 查看作业成绩表 +View homework: 查看作业 +View Homework: 查看作业 View or create discussion: 查看与发表讨论 View or submit solution: 查看与发表题解 +View Owned Problems: 查看自己的题目 +View Owned Training Plans: 查看自己的训练计划 +View problem solutions: 查看题解 +View Problem: 查看题目 +View problems: 查看题目 +View this domain: 查看此域 +View training plans: 查看训练计划 +View: 查看 Visible to registered users: 对注册用户可见 +Visit: 查看 +Vote problem solutions: 为题解投票 Vote: 投票 -'We use Gravatar to present your avatar icon.': '我们使用 Gravatar 服务来呈现您的头像。' +We will check code similarity after this contest.: 我们会在赛后检查代码相似度。 +WeChat Visibility: 微信可见性 +WeChat: 微信 +Week: 周 +What is domain?: 什么是域? +What's domain?: 什么是域? +What's script?: 什么是脚本? +What's this?: 这是什么? Whether to show tags in the problem list.: 是否在题目列表中显示题目的标签。 +wiki_help: 帮助 +Will be used as the system icon.: 将被用作系统图标。 +With this feature, you can copy problems that you can view from a domain to some other domain. Their title, content, tags and categories will be copied. However, their test data are not copied directly.: 您可以通过这个功能将某域下您能查看的题目复制到其它域中,题目的标题、描述、标签与分类将被复制过来。但是测试数据不会被直接复制。 Write Your Comment: 发表您的评论 Write Your Solution: 发表您的题解 -author: 作者 -content: 内容 -current domain: 当前域 -currently offline: 目前离线 -discussion_create: 创建讨论 -discussion_main: 讨论 -discussion_node: 讨论 -error: 错误 -home_account: 账户设置 -home_preference: 偏好设置 -home_messages: 站内消息 -home_security: 安全设置 -home_domain: 我的域 -homework_main: 作业 -homework_create: 创建作业 -homework_edit: 编辑作业 -homework_scoreboard: 作业成绩表 -homework_detail_problem_submit: 递交作业题目 -judge_playground: 评测游乐场 -last active at: 最后活动于 -last login at: 最后登录于 -no discussion yet...: 目前没有讨论… -pager_first: « 第一页 -pager_last: 末页 » -pager_next: 下一页 › -pager_previous: ‹ 前一页 -problem_create: 创建题目 -problem_edit: 编辑题目 -problem_main: 题库 -problem_solution: 题解 -problem_submit: 递交代码 -problem_settings: 题目设置 -problem_statistics: 题目统计 -record_detail: 记录详情 -record_main: 评测队列 -reply: 回复 -setting_usage: 使用偏好 -setting_info: 个人信息 -setting_display: 显示偏好 -setting_privacy: 隐私 -setting_customize: 个性化 -title: 标题 -training_main: 训练 -training_edit: 编辑训练 -training_create: 创建训练 -user_detail: 用户 -user_login: 登录 -user_logout: 登出 -user_lostpass: 忘记密码 -user_register: 注册 -'{0} comments': '{0} 条评论' -'{0} solutions': '{0} 条题解' -'{0} views': '{0} 次查看' -New: 创建 -Pretest: 自测 -Add: 添加 -Remove: 移除 -Add new data: 添加新数据 -Remove this data: 移除这组数据 -Sample Input: 输入数据 -Sample Output: 输出数据 -Records: 评测记录 -Refresh Records: 刷新评测记录 -Refresh: 刷新 -Report: 举报 -Run Pretest: 运行自测 -Pretest Your Code: 使用自定义数据测试 -Submit Solution: 递交评测 -Submit Your Code: 递交代码进行正式评测 -Toggle Pretest Panel: 切换自测面板 -Toggle Records Panel: 切换评测记录面板 -Recent {0} Records: 最近 {0} 条记录 -You have not submitted any solutions for this problem: 您在该题下没有递交过任何解答 -Submit to Judge: 递交以评测 -Code language: 代码语言 -'Yes': 是 -'No': 否 -Comment: 评论 -Share: 分享 -Delete: 删除 -Highlight: 高亮讨论 -Begin at: 开始于 -End at: 结束于 -Action: 动作 -Rejudge: 重测 -Oops, there are no results.: 呀,没有结果。 -My Domains: 我的域 -What is domain?: 什么是域? -View: 查看 -Manage: 管理 -home_domain_create: 创建域 -Create Domain: 创建域 -Properties: 属性 -Access Control: 访问控制 -domain_main: 首页 -manage: 管理 -manage_domain: 管理域 -manage_dashboard: 概况 -manage_discussion: 讨论节点 -manage_edit: 编辑域资料 -manage_join_applications: 加域申请 -manage_role: 管理角色 -manage_user: 管理用户 -manage_permission: 管理权限 -manage_module: 管理模块 -manage_setting: 系统设置 -domain_join: 加入域 -'Join {0}': '加入 {0}' +Year: 年 You are not allowed to join the domain. The link is either invalid or expired.: 您无法加入该域,链接无效或已过期。 -Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员。 -The invitation code you provided is invalid.: 您提供的邀请码无效。 -Update Permission: 更新权限 -Roles: 角色 -Your role: 您的角色 -Your permission: 您的权限 -Edit Domain: 编辑域 -You don't own any domain and don't have privilege to create domain.: 您不拥有任何域也没有创建域的特权。 -An error has occurred.: 发生了一个错误。 -Path {0} not found.: 路径 {0} 不存在。 -Field {0} or {1} validation failed.: 字段 {0} 或 {1} 验证失败。 -Field {0} validation failed.: 字段 {0} 验证失败。 -Unknown field {0}.: 未知字段 {0}。 -Passwords don't match.: 验证密码不匹配。 -User {0} already exists.: 用户 {0} 已存在。 -Invalid password for user {0}.: 用户 {0} 的密码错误。 -Document {2} not found.: 文档 {2} 不存在。 -Data of Problem {0} not found.: 题目 {0} 的数据缺失。 -You're not logged in.: 您没有登录。 -You don't have the required privilege.: 您没有相应的特权。 -You don't have the required permission ({0}) in this domain.: 您在该域中无相应权限 ({0})。 -You've already voted.: 您已经投过票。 -User {0} not found.: 用户 {0} 不存在。 -Current password doesn't match.: 当前密码输入错误。 -Discussion category {1} already exists.: 讨论分类 {1} 已经存在。 -Discussion category {1} not found.: 讨论分类 {1} 不存在。 -Discussion node {1} already exists.: 讨论节点 {1} 已经存在。 -Discussion node {1} not found.: 讨论节点 {1} 不存在。 -Discussion {1} not found.: 讨论 {1} 不存在。 -Message {0} not found.: 消息 {0} 不存在。 -Domain {0} not found.: 域 {0} 不存在。 -Domain {0} already exists.: 域 {0} 已经存在。 -You've already attended this contest.: 您已经参加本次比赛。 -You haven't attended this contest yet.: 您还没有参加本次比赛。 -Contest scoreboard is not visible.: 当前比赛成绩表隐藏,暂不可显示。 -Problem {1} not found.: 题目 {1} 不存在。 -Training requirement is not satisfied.: 不满足训练条件。 -Record {0} not found.: 记录 {0} 不存在。 -'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超过频率限制。限制:{1} 秒内最多 {2} 次操作。' -Domain ID cannot be changed once the domain is created.: 在创建后不能更改 ID。 -'A domain ID cannot be changed after creation. It is supposed to be:': '创建后将无法更改 ID。ID 必须满足以下条件:' -Unique: 唯一 -Not wrapped with space: 两侧不含空格 -Not started with a number: 不以数字开头 -Only A-Z, a-z, 0-9 and _ are accepted: 只接受 A-Z, a-z, 0-9 和 _ -Username / UID: 用户名或 UID -Last Submit At: 最后递交于 -Start at: 开始于 -Duration: 持续时间 -hour(s): 小时 -Not Attended: 未参加 -Live...: 正在进行… -Ready (☆▽☆): 马上开始 (☆▽☆) -View Details: 查看详情 -All Contests: 所有比赛 -Edit Contest: 编辑比赛 -No Submissions: 没有递交 -Do not discuss solutions otherwise you will be regarded as cheating and then lose qualifications.: 请勿讨论解法,否则以作弊论处并且将失去参赛资格。 -Please attend contest to see the problems.: 请参加比赛来查看题目。 -This contest is not live.: 比赛没有开始。 -Host: 主持人 -Rank: 排名 -Solve: 解决 -Time: 时间 -required: 必填 -Name: 名称 -Will be used as the system icon.: 将被用作系统图标。 -My Role: 我的角色 -What's domain?: 什么是域? -Visit: 查看 -delete: 删除 -User ID: 用户 ID -'{0}: Users': '{0}: 用户' -'{0}: Roles': '{0}: 角色' -'{0}: Permissions': '{0}: 权限' -You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 您有未完成的创建域操作。您可以点击“继续”来完成创建。 -Uncompleted: 未完成 -Continue: 继续 -Role: 角色 -Select a role: 选择一个角色 -Add User: 添加用户 -Remove Selected User: 将所选用户移出 -Set Roles for Selected User: 设置所选用户的角色 -Create Role: 创建角色 -Role name can only contains numbers, letters and underscores.: 角色名称只能包含数字、字母和下划线。 -Built-in: 内置 -Always granted all privileges: 总是拥有所有权限 -Valid for visitors: 对未登录的游客有效 -Valid for registered users who are not members of the domain: 对域外注册用户有效 -User-defined role: 用户定义的角色 -Users: 用户 -Delete Selected Roles: 删除所选角色 -Owner: 所有者 -Permission: 权限 -Permissions: 权限 -The user is already a member of the domain.: 该用户已是域的成员。 -View this domain: 查看此域 -Edit permissions of a role: 修改角色权限 -Show MOD badge: 展示 MOD 徽章 -Edit description of this domain: 修改此域描述 -Create problems: 创建题目 -Edit problems: 修改题目 -Edit own problems: 修改自己的题目 -View problems: 查看题目 -Submit problem: 递交题目 -Read data of problem: 读取题目数据 -Read data of own problems: 读取自己题目的数据 -Read record codes: 读取记录的代码 -Rejudge problems: 重测题目 -Rejudge records: 重测记录 -View problem solutions: 查看题解 -Create problem solutions: 创建题解 -Vote problem solutions: 为题解投票 -Edit problem solutions: 修改题解 -Edit own problem solutions: 修改自己的题解 -Delete problem solutions: 删除题解 -Delete own problem solutions: 删除自己的题解 -Reply problem solutions: 回复题解 -Edit problem solution replies: 修改题解的回复 -Edit own problem solution replies: 修改题解中自己的回复 -Delete problem solution replies: 删除题解的回复 -Delete own problem solution replies: 删除题解中自己的回复 -View discussions: 查看讨论 -Create discussions: 创建讨论 -Highlight discussions: 高亮讨论 -Edit discussions: 修改讨论 -Edit own discussions: 修改自己的讨论 -Delete discussions: 删除讨论 -Delete own discussions: 删除自己的讨论 -Reply discussions: 回复讨论 -Edit discussion replies: 修改讨论的回复 -Edit own discussion replies: 修改讨论中自己的回复 -Edit discussion replies of own discussion: 修改自己讨论中的回复 -Delete discussion replies: 删除讨论回复 -Delete own discussion replies: 删除讨论中自己的回复 -Delete discussion replies of own discussion: 删除自己讨论中的回复 -View contests: 查看比赛 -View contest scoreboard: 查看比赛成绩表 -View hidden contest submission status and scoreboard: 查看隐藏的比赛递交状态和成绩表 -Create contests: 创建比赛 -Attend contests: 参加比赛 -View training plans: 查看训练计划 -Have ALL PERMISSIONS in this domain: 在此域中拥有全部权限 -Select User: 选择用户 -Submitted: 已递交 -timeago_locale: zh_CN -Live: 正在进行 -Ready: 即将开始 -Done: 已结束 -About Markdown: 关于 Markdown -Inline codes: 行内代码 -Code blocks: 代码区块 -Inline formulas: 行内公式 -Formula blocks: 公式区块 -Links: 链接 -Text: 文本 -Images: 图片 -Description: 说明 -Learn More: 了解更多 -CommonMark Syntax: CommonMark 语法 -LaTeX Expressions: LaTeX 表达式 -Hidden: 隐藏 -We will check code similarity after this contest.: 我们会在赛后检查代码相似度。 -Dataset: 测试数据 -'Current dataset: {0}': '当前测试数据: {0}' -Upload: 上传 -No dataset at present.: 暂无测试数据。 -All: 全部 -All {0} Contests: 所有 {0} 比赛 -Show: 显示 -There are no contests...: 没有比赛… -View Contest: 查看比赛 -Cancel Score: 取消成绩 -score canceled: 成绩取消 -You have permissions to create problems for this domain.: 您有权限为此域创建题目。 -Sort by: 排序 -'↓ # Enrollees': '↓ 参与人数' -'↓ # Likes': '↓ 赞数' -'↓ # Stars': '↓ 收藏数' -'↓ # Comments': '↓ 评论数' -'↓ Create Time': '↓ 创建时间' -'↓ Update Time': '↓ 更新时间' -Enrolled: 已参加 -Create Training Plan: 创建训练计划 -New Training Plan: 新训练计划 -View Owned Training Plans: 查看自己的训练计划 You can create your own training plans and share with others.: 您可以创建您自己的训练计划并且与他人分享。 -Set Role: 设置角色 -Set Roles for selected users: 为所选用户设置角色 -Please select at least one user to perform this operation.: 请选择至少一个用户来进行操作。 -Confirm removing the selected users?: 您确定将所选用户移除吗? -Their account will not be deleted and they will be with the default role.: 他们的账号不会被删除,并且之后将以 default 角色访问。 -Selected users have been removed from the domain.: 所选用户已从此域中移除。 -Role has been updated to {0} for selected users.: 所选用户角色已更新为 {0}。 -Role has been updated to {0}.: 角色已更新为 {0}。 -Confirm deleting the selected roles?: 您确定删除所选角色吗? -Users with those roles will be removed from the domain.: 拥有这些角色的用户将从此域中移除。 -Selected roles have been deleted.: 所选角色已删除。 -Please select at least one role to perform this operation.: 请选择至少一个角色来进行操作。 -'Role {1} already exists in domain {0}.': '域 {0} 中已存在角色 {1}。' -Domain {0} is bulit-in and cannot be modified.: 域 {0} 为内置,不可修改。 -perm_general: 一般 -perm_problem: 题库 -perm_record: 记录 -perm_problem_solution: 题解 -perm_discussion: 讨论 -perm_contest: 比赛 -perm_homework: 作业 -perm_training: 训练 -discussion_edit: 编辑讨论 -At least 4 characters: 至少 4 个字符 -Contact: 联系 -'{0} sections': '{0} 小节' -'{0} problems': '{0} 道题' -All Training Plans: 所有训练计划 -Section: 章节 -Complete: 完成 -Progress: 进度 -In Progress: 进行中 -Open: 开放 -Invalid: 无效 -expand: 展开 -collapse: 收缩 -'Note: Problem title may not be hidden.': 注意:题目标题可能不会被隐藏。 -Partic.: 参赛人数 -Create training plans: 创建训练计划 -Edit training plans: 修改训练计划 -Edit own training plans: 修改自己的训练计划 -Click here to chat with me: 点击这里与我聊天 -Terms of Service: 服务条款 -Copyright Complaint: 版权申诉 -wiki_help: 帮助 -Discussion: 讨论 -Manager: 管理 -Ops: 运维 -Feedback: 反馈 -'Discussion: Terms Of Service': 讨论区服务条款 -no_translation_warn: '' -Domain: 域 -Compilers' Version and Parameters: 编译器版本及参数 -Limitations: 限制 -IO: 输入输出 -Judge Status: 评测状态 -Compile Error: 编译错误 -Training: 训练 -Contest: 比赛 -Homework: 作业 -RP Algorithm: RP 算法 -Difficulty Algorithm: 难度算法 -Dataset Format: 测试数据集格式 -Forgot Password and/or Username: 忘记密码和/或用户名 -Reset Password or Find Username: 重置密码或找回用户名 -'{0} discussions': '{0} 条讨论' -In following contests: 在下列比赛中 -View Owned Problems: 查看自己的题目 -Completed: 已完成 -Enrollees: 参加人数 -Monthly Popular: 月度最受欢迎 -Enroll Training: 参加训练 -Plan: 计划 -Not Enrolled: 未参加 -Upvote: 好评 -Downvote: 差评 -View hidden problems: 查看隐藏的题目 -Sorry, there is no training plan.: 目前没有训练计划。 -Created By: 创建人 -Judged By: 评测机 -Categories: 分类 -Tags: 标签 -AC Message: 通过消息 -problem-category-delim: '|' -problem-subcategory-delim: 、 -Download Dataset: 下载数据集 -Use algorithm calculated: 使用算法计算 -Use admin specificed: 由管理员指定 -Use average of above: 使用上面的平均值 -New dataset: 新测试数据 -Evaluated difficulty: 估计的难度 -"Effects only when Difficulty is not 'Use algorithm calculated'.": 仅当难度不为“使用算法计算”时才起效。 -Difficulty displayed: 显示的难度 -Difficulty by algorithm: 算法计算的难度 -Difficulty by admin: 管理员设定的难度 -Recommended: 推荐 -Chinese: 中文 -English: 英文 -click to add: 点击添加 -'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, ... -"Splitted by ', '.": 由“, ”或“,”分隔。 -This section cannot be challenged at present, so please complete the following sections first: 该章节目前不可挑战,请先完成以下章节 -Day: 日 -Week: 周 -Month: 月 -Year: 年 -Total: 总计 -Filter: 过滤 -By Username / UID: 由用户名或 UID -By Problem: 由题目 -By Contest: 由比赛 -Reset: 重置 -Data of problem {1} not found.: 题目 {1} 的数据未找到。 -Data of record {0} not found.: 记录 {0} 的数据未找到。 -All Submissions: 所有递交 -My Files: 我的文件 -home_file: 我的文件 -"What's file?": 什么是文件? -Upload File: 上传文件 -fs_upload: 上传文件 -New file: 新文件 -Size: 大小 -Hash: 散列 -This type of files are not allowed to be uploaded.: 不允许上传这种文件。 -Usage exceeded.: 用量超限。 -The uploaded file is too long.: 上传的文件太长。 -Congratulations! Your submission is accepted.: 恭喜!您的递交已评测通过。 -Search: 搜索 -Mark Yellow: 标黄 -Mark Green: 标绿 -Clear Marks: 清除标记 -Bold: 加粗 -Italic: 斜体 -Quote: 引用 -Unordered List: 无序列表 -Ordered List: 有序列表 -Insert Code: 插入代码 -Create Link: 创建链接 -Insert Image: 插入图像 -Toggle Preview: 切换预览 -(All Problems): (所有题目) -Confirm deleting this comment? Its replies will be deleted as well.: 确认删除这个评论吗?回复会被同时删除。 -Confirm deleting this reply?: 确认删除这个回复吗? -Aborted: 已放弃 -Network error: 网络错误 -page.training_detail.invalid_when_not_enrolled: 未参加训练计划时您不能查看题目详情。 -page.problem_detail.sidebar.show_category: 点击显示 -Argument {0} is invalid.: 非法的参数 {0} 。 -Lucky: 手气不错 -Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题 -No problem.: 没有题目。 -Initialize: 初始化 -Profile Background Image: 背景图片 -Choose the background image in your profile page.: 选择您资料页面的背景图片。 -'{} is a moderator of this domain.': '{}是这个域的管理者之一。' -He: 他 -She: 她 -Bulletin: 公告 -You cannot visit this domain.: 您不能访问此域。 -'Copy failed :(': '复制失败 :(' -Code copied to clipboard!: 代码已复制到剪贴板! -No comments so far...: 目前还没有评论... -No solutions so far...: 目前还没有题解... -Edit Profile: 编辑个人信息 -Send Message: 发送站内信息 -Copy Email: 复制电子邮件 -Copy QQ Number: 复制QQ号 -Copy WeChat Account: 复制微信号 -'"{data}" copied to clipboard!': “{data}”已复制到剪贴板! -'Copy "{data}" failed :(': '复制“{data}”失败 :(' -Introduce: 简介 -Introduce must not exceed 500 characters and it will be shown in the list view.: 简介不能超过 500 个字符,将显示在列表页面中。 -Hint: 提示 -An example of dataset: 测试数据集的一个例子 -Open in Problem Set: 在题库中打开 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.: 该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。 -Recent Submissions: 最近递交 -Oh, the user hasn't submitted yet!: 这个用户还没有交过题 _(:зゝ∠)_ -Oh, the user hasn't created any discussions yet!: 这个用户还没有发布过讨论 -Recently Created Discussions: 最近创建的讨论 -Oh, the user doesn't have any contributions!: 啊哦,这个用户还没贡献过题目~ -Recent Solutions: 最近编写的题解 -Most Upvoted Solutions: 最被赞同的题解 -The user is too lazy to leave something here...: 该用户太懒,这里啥也没写 (´・ω・`) -Edit any contests: 修改任意的比赛 -Edit own contests: 修改自己的比赛 -Export as CSV: 导出为 CSV -Export as HTML: 导出为 HTML -Export All Code: 导出所有代码 -Solved Problems: 解决题目 -All Homeworks: 所有作业 -Calendar: 日历 -Time Extension: 延期 -Homework Introduction: 作业介绍 -Claim Homework: 认领作业 -Please claim the assignment to see the problems.: 认领作业后才可以查看作业内容。 -Login to Claim Homework: 登录后认领作业 -No Permission to Claim Homework: 您没有权限认领作业 -View Homework: 查看作业 -Claimed: 已认领 -Not Claimed: 未认领 -Create Homework: 创建作业 -Calendar View: 日历视图 -List View: 列表视图 -My Recent Submissions: 我的最近递交记录 -The homework's deadline is due but in extension. You can still submit for this problem but your score will be penalized.: 作业已超过截止时间,但仍在延期时间内。您递交题目将无法获得全部分数。 You cannot submit for this problem because the homework's deadline is due.: 作业已超过截止时间,您无法递交本题目。 -End Date: 结束日期 -End Time: 结束时间 -Extension (days): 最长延期 (日) -Extension Score Penalty: 延期递交扣分规则 -Edit Homework: 编辑作业 -This homework is not open and you cannot view problems.: 该作业还未到开放时间,您无法查看作业题目。 -homework_status: 作业成绩表 -Total Score: 总分数 -Original Score: 原始分数 -Scoreboard: 成绩表 -Scoreboard (Hidden): 成绩表 (隐藏) -View homework: 查看作业 -View homework scoreboard: 查看作业成绩表 -View hidden homework submission status and scoreboard: 查看隐藏的作业递交状态和成绩表 -Create homework: 创建作业 -Claim homework: 认领作业 -Edit any homework: 修改任意的作业 -Edit own homework: 修改自己的作业 -Can be Extended For: 可延期 -Open Since: 开始时间 -Hard Deadline: 最终截止时间 -Deadline: 截止时间 -There is no homework so far ╰(*°▽°*)╯: 目前还没有作业 ╰(*°▽°*)╯ -Homework scoreboard is not visible.: 目前无法查看作业成绩表。 -This homework is not open.: 该作业还未开放递交。 -You've already claimed this homework.: 您已认领过该作业。 +You cannot visit this domain.: 您不能访问此域。 +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 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.: 您还未认领过该作业。 -Contributions: 贡献 -Contributed Problems: 贡献的题目 -Method: 方法 -No user is allowed to join this domain: 没有用户可以自助加入此域 -Any user is allowed to join this domain: 任意用户都可以加入此域 -Any user is allowed to join this domain with an invitation code: 任意用户都可以通过邀请码加入此域 -The role to assign when user joining the domain.: 用户加入此域时分配的角色。 -User will no longer be allowed to join the domain after expiration.: 过期后,用户将不能加入此域。 -The invitation code to enter to successfully join the domain. You can only use letters and numbers in the code and it should not be longer than 64 characters.: 加入此域的邀请码。您只能使用字母和数字,并且不能长于 64 个字符。 -Role Assignment: 角色分配 -Invitation Code: 邀请码 -Update Settings: 更新设置 -Expire: 过期 -Keep current expiration: 保持当前过期设置 -In 3 hours: 三个小时后 -In 1 day: 一天后 -In 3 days: 三天后 -In 1 week: 一周后 -In 1 month: 一个月后 -Never expire: 从不过期 -User can join this domain by visiting the following URL: 用户可以访问此链接来加入此域 -Or, with automatically filled invitation code: 或者,这是可以自动填写邀请码的 -The link will be expired at {0}: 链接将于 {0} 过期 -By clicking the button, you will become a member of the domain {0}.: 点击按钮,您将成为域 {0} 的成员。 You need to enter the invitation code to join the domain.: 您需要输入邀请码来加入此域。 -Join: 加入 -setting_info_domain: 个人信息 -Display Name: 显示名 -display_name: 显示名 -home_domain_account: 当前域的设置 -'The value `{1}` of {0} already exists.': '{0} 的值 `{1}` 已经存在。' -Display name {1} you want to set is used by others.: 您想要设置的显示名 {1} 已经被其他人使用了。 -Numeric PID: 数字题号 -Be Copied: 被复制 -Copy from: 复制自 -Problem ID List: 题目 ID 列表 -Copy: 复制 -Destination Domain: 目标域 -Domain ID: 域 ID -Test data comes from: 测试数据来自 -Current dataset comes from: 当前数据集来自 -What's this?: 这是什么? -About test data: 关于测试数据 -With this feature, you can copy problems that you can view from a domain to some other domain. Their title, content, tags and categories will be copied. However, their test data are not copied directly.: 您可以通过这个功能将某域下您能查看的题目复制到其它域中,题目的标题、描述、标签与分类将被复制过来。但是测试数据不会被直接复制。 -Instead of copying the test data directly, the test data of the copied problems will be linked to the test data of the source problems (called the source test data). Thus, the copied problems can observe the changes in the source test data. The permissions of the test data of the copied problems follow the source test data, e.g., you still might not download them but the judges can. By uploading some new test data, the link will be broken and the new test data will be used.: 虽然测试数据不会被复制,但是系统会将题目的测试数据链接到原题。因此在原题的数据被改动的时候,复制后的题目的数据也会同时改动。链接后的测试数据的权限以原题为准,比如您可能依旧无法下载数据,但是评测机可以。在题目设置页面中可以通过上传新的测试数据的方式,这个数据链接会被删除,以后将使用您的新测试数据。 -This message will be presented to those whose submissions are accepted.: 这条消息将会被展示给通过此题的用户。 \ No newline at end of file +You're not logged in.: 您没有登录。 +You've already attended this contest.: 您已经参加本次比赛。 +You've already claimed this homework.: 您已认领过该作业。 +You've already voted.: 您已经投过票。 +Your permission: 您的权限 +Your role: 您的角色 \ No newline at end of file diff --git a/locales/zh_TW.yaml b/locales/zh_TW.yaml index 93fce61f..5df9b8ce 100644 --- a/locales/zh_TW.yaml +++ b/locales/zh_TW.yaml @@ -1,571 +1,567 @@ -#正體中文 ---- +__langname: 正體中文 +'{0} comments': '{0} 條評論' +'{0} discussions': '{0} 條討論' +'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超過頻率限制。限制:{1} 秒內最多 {2} 次操作。' +'{0} solutions': '{0} 條題解' +'{0} views': '{0} 次檢視' +'{0}: Permissions': '{0}: 許可權' +'{0}: Roles': '{0}: 角色' +'{0}: Users': '{0}: 使用者' +'# My Submissions': '我的遞交數' +'# Submissions': '遞交數' +'↓ # Comments': '↓ 評論數' +'↓ # Enrollees': '↓ 參與人數' +'↓ # Likes': '↓ 贊數' +'↓ # Stars': '↓ 收藏數' +'↓ Create Time': '↓ 創建時間' +'↓ Update Time': '↓ 更新時間' +'A domain ID cannot be changed after creation. It is supposed to be:': '創建後將無法更改 ID。ID 必須滿足以下條件:' +'Current dataset: {0}': '當前測試資料: {0}' +'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以點選以下連結來啟用您 Hydro 賬戶的新電子郵件地址: +'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以點選以下連結來重置您 Hydro 賬戶的密碼: +'Hello! You can click following link to sign up your Hydro account:': 您好!您可以點選以下連結來註冊您的 Hydro 賬戶: +'No': 否 +'Solved {0} problems, RP: {1} (No. {2})': '解決了 {0} 道題目,RP: {1} (No. {2})' +'Yes': 是 (None): (無) -API: API +About Markdown: 關於 Markdown About: 關於 -Accepted: 已通過 Accepted Ratio: 通過率 +Accepted: 已通過 +Access Control: 訪問控制 +Action: 動作 Active Sessions: 活動會話 +Add new data: 新增新資料 +Add User: 新增使用者 +Add: 新增 +All {0} Contests: 所有 {0} 比賽 +All Contests: 所有比賽 +All Homeworks: 所有功課 +All: 全部 +Always granted all privileges: 總是擁有所有域許可權 +An error has occurred.: 發生了一個錯誤。 +API: API Arguments: 參數 +At least 4 characters: 至少 4 個字元 Attend Contest: 參加比賽 +Attend contests: 參加比賽 Attended: 已參加 -Login to Attend Contest: 登入後參加比賽 -No Permission to Attend Contest: 您沒有許可權參加比賽 +author: 作者 Begin Date: 開始日期 Begin Time: 開始時間 Belongs to: 屬於 -Bio: 個人簡介 Bio Visibility: 個人簡介可見性 +Bio: 個人簡介 Blog: 部落格 Boom!: 炸了! Browser: 瀏覽器 +Built-in: 內建 By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.: 註冊一個 Hydro 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。 -CLOSE: 關閉 +Calendar View: 日曆視圖 +Can be Extended For: 可延期 +Cancel Score: 取消成績 Cancel: 取消 -Ok: 確定 Category: 分類 Change Email: 修改電子郵件 Change Password: 修改密碼 +Claim homework: 認領功課 +Claim Homework: 認領功課 +Claimed: 已認領 +Click here to chat with me: 點選這裡與我聊天 +CLOSE: 關閉 +Code blocks: 程式碼區塊 +Code language: 程式碼語言 Code: 程式碼 +Comment: 評論 Comments: 評論 +CommonMark Syntax: CommonMark 語法 +Confirm deleting the selected roles?: 您確定刪除所選角色嗎? +Confirm removing the selected users?: 您確定將所選使用者移除嗎? +Confirmation mail has been sent to your new email.: 確認郵件已經發送到您的新電子郵箱。 Contact Us: 聯絡我們 +Contact: 聯絡 +content: 內容 Content: 內容 -Contest: 比賽 +Contest scoreboard is not visible.: 當前比賽成績表隱藏,暫不可顯示。 Contest Scoreboard: 比賽成績表 -contest_main: 比賽 contest_create: 創建比賽 +contest_detail_problem_submit: 遞交比賽程式碼 contest_edit: 編輯比賽 +contest_main: 比賽 contest_scoreboard: 比賽成績表 -Create: 創建 -Create Contest: 創建比賽 -Create Homework: 創建功課 -Create Discussion: 創建討論 -Create Discussion in {0}: 在 {0} 下創建討論 -Create Problem: 創建題目 +Contest: 比賽 Create a contest: 創建一個比賽 Create a Discussion: 創建一個討論 -Login to Create a Discussion: 登入後創建討論 -No Permission to Create a Discussion: 您沒有許可權創建討論 Create a problem: 創建一個題目 +Create Contest: 創建比賽 +Create contests: 創建比賽 +Create Discussion in {0}: 在 {0} 下創建討論 +Create Discussion: 創建討論 +Create discussions: 創建討論 +Create Domain: 創建域 +Create homework: 創建功課 +Create Homework: 創建功課 +Create problem solutions: 創建題解 +Create Problem: 創建題目 +Create problems: 創建題目 +Create Role: 創建角色 +Create Training Plan: 創建訓練計劃 +Create: 創建 +current domain: 當前域 Current Email: 當前電子郵件 Current Location: 當前位置 +Current password doesn't match.: 當前密碼輸入錯誤。 Current Password: 當前密碼 +currently offline: 目前離線 +Data of Problem {0} not found.: 題目 {0} 的資料缺失。 +Dataset: 測試資料 +Deadline: 截止時間 Default Code Language: 預設程式碼語言 Default Code Template: 預設程式碼模板 -If left blank, the built-in template of the corresponding language will be used.: 若留空,則將使用對應語言的內建程式碼模板。 +Delete discussion replies of own discussion: 刪除自己討論中的回覆 +Delete discussion replies: 刪除討論回覆 +Delete discussions: 刪除討論 +Delete own discussion replies: 刪除討論中自己的回覆 +Delete own discussions: 刪除自己的討論 +Delete own problem solution replies: 刪除題解中自己的回覆 +Delete own problem solutions: 刪除自己的題解 +Delete problem solution replies: 刪除題解的回覆 +Delete problem solutions: 刪除題解 +Delete Selected Roles: 刪除所選角色 +delete: 刪除 +Delete: 刪除 +Description: 說明 Development: 開發 Difficulty: 難度 Disabled: 關閉 +Discussion {1} not found.: 討論 {1} 不存在。 +Discussion category {1} already exists.: 討論分類 {1} 已經存在。 +Discussion category {1} not found.: 討論分類 {1} 不存在。 +Discussion node {1} already exists.: 討論節點 {1} 已經存在。 +Discussion node {1} not found.: 討論節點 {1} 不存在。 Discussion Nodes: 討論節點 +discussion_create: 創建討論 +discussion_edit: 編輯討論 +discussion_main: 討論 +discussion_node: 討論 Discussions: 討論 +Do not discuss solutions otherwise you will be regarded as cheating and then lose qualifications.: 請勿討論解法,否則以作弊論處並且將失去參賽資格。 +Document {2} not found.: 文件 {2} 不存在。 +Domain {0} already exists.: 域 {0} 已經存在。 +Domain {0} is bulit-in and cannot be modified.: 域 {0} 為內建,不可修改。 +Domain {0} not found.: 域 {0} 不存在。 +Domain ID cannot be changed once the domain is created.: 在創建後不能更改 ID。 +domain_main: 首頁 Don't have an account?: 還沒有賬戶? -Pretest Data: 自測資料 -Problem Data: 題目資料 +Done: 已結束 Download: 下載 Duration (hours): 持續時間 (小時) -Edit: 編輯 +Duration: 持續時間 +Edit any homework: 修改任意功課 +Edit description of this domain: 修改此域描述 +Edit discussion replies of own discussion: 修改自己討論中的回覆 +Edit discussion replies: 修改討論的回覆 +Edit discussions: 修改討論 +Edit Domain: 編輯域 +Edit Homework: 編輯功課 +Edit own discussion replies: 修改討論中自己的回覆 +Edit own discussions: 修改自己的討論 +Edit own homework: 修改自己的功課 +Edit own problem solution replies: 修改題解中自己的回覆 +Edit own problem solutions: 修改自己的題解 +Edit own problems: 修改自己的題目 +Edit permissions of a role: 修改角色許可權 +Edit problem solution replies: 修改題解的回覆 +Edit problem solutions: 修改題解 Edit Problem: 編輯題目 -Email: 電子郵件 +Edit problems: 修改題目 +Edit: 編輯 Email Visibility: Email 可見性 +Email: 電子郵件 Enabled: 開啟 +End at: 結束於 +End Date: 結束日期 +End Time: 結束時間 +Enrolled: 已參加 +error: 錯誤 +Export All Code: 導出所有原始碼 +Extension (days): 最長延期(日) +Extension Score Penalty: 延期遞交扣分規則 +Field {0} or {1} validation failed.: 欄位 {0} 或 {1} 驗證失敗。 +Field {0} validation failed.: 欄位 {0} 驗證失敗。 Footer: 頁尾 Forgot password or username?: 忘記密碼或者使用者名? -Gender: 性別 +Formula blocks: 公式區塊 Gender Visibility: 性別可見性 +Gender: 性別 Gravatar Email: Gravatar Email 地址 -'Hello! You can click following link to sign up your Hydro account:': 您好!您可以點選以下連結來註冊您的 Hydro 賬戶: -'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以點選以下連結來重置您 - Hydro 賬戶的密碼: -'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以點選以下連結來啟用您 - Hydro 賬戶的新電子郵件地址: -Confirmation mail has been sent to your new email.: 確認郵件已經發送到您的新電子郵箱。 +Hard Deadline: 最終截止時間 +Have ALL PERMISSIONS in this domain: 在此域中擁有全部許可權 Help: 幫助 +Hidden: 隱藏 Hide all tags: 隱藏所有標籤 Hide categorical tags: 隱藏分類標籤 -If enabled, source code will be emailed to you after the submission is accepted.: 如果啟用,在您通過題目後,原始碼會以 - Email 的形式傳送給您。 -In following training plans: 在下列訓練計劃中 +Highlight discussions: 高亮討論 +Highlight: 高亮討論 +home_account: 賬戶設定 +home_domain_account: 當前域的設定 +home_domain_create: 創建域 +home_domain: 我的域 +home_messages: 站內訊息 +home_preference: 偏好設定 +home_security: 安全設定 +Homework Introduction: 功課介紹 +Homework scoreboard is not visible.: 目前無法查看功課成績表。 +homework_create: 創建功課 +homework_edit: 編輯功課 +homework_main: 功課 +homework_scoreboard: 成績表 +Homework: 功課 +Host: 主持人 +hour(s): 小時 +If enabled, source code will be emailed to you after the submission is accepted.: 如果啟用,在您通過題目後,原始碼會以 Email 的形式傳送給您。 +If left blank, the built-in template of the corresponding language will be used.: 若留空,則將使用對應語言的內建程式碼模板。 +Images: 圖片 In following homework: 在以下功課中 +In following training plans: 在下列訓練計劃中 Information: 資訊 +Inline codes: 行內程式碼 +Inline formulas: 行內公式 +Invalid user {0} or password.: 使用者 {0} 不存在或密碼錯誤。 It works!: 它成了! +judge_playground: 評測遊樂場 Judged At: 評測時間 Judging Queue: 評測佇列 +Lang.: 語言 Language: 語言 +last active at: 最後活動於 +last login at: 最後登入於 +Last Submit At: 最後遞交於 Last Update At: 最後活動時間 +LaTeX Expressions: LaTeX 表示式 +Learn More: 瞭解更多 +Links: 連結 +List View: 列表視圖 +Live: 正在進行 +Live...: 正在進行… Location: 位置 +Login to Attend Contest: 登入後參加比賽 +Login to Claim Homework: 登錄以認領功課 +Login to Create a Discussion: 登入後創建討論 +Login to Submit: 登入後遞交 Login: 登入 -Logout: 登出 Logout All Sessions: 登出所有會話 Logout This Session: 登出該會話 +Logout: 登出 Lost Password: 忘記密碼 -Memory: 記憶體 +manage_dashboard: 概況 +manage_domain: 管理域 +manage_edit: 編輯域資料 +manage_join_applications: 加域申請 +manage_permission: 管理許可權 +manage_role: 管理角色 +manage_user: 管理使用者 +manage: 管理 +Manage: 管理 Memory Cost: 記憶體佔用 +Memory: 記憶體 +Message {0} not found.: 訊息 {0} 不存在。 Messages: 站內訊息 +Most Upvoted Solutions: 最熱題解 +My Domains: 我的域 My Profile: 我的資料 +My Recent Submissions: 我最近的遞交記錄 +My Role: 我的角色 +Name: 名稱 New Email: 新電子郵件 New Password: 新密碼 +New Training Plan: 新訓練計劃 +New: 創建 +No dataset at present.: 暫無測試資料。 +no discussion yet...: 目前沒有討論… +No Permission to Attend Contest: 您沒有許可權參加比賽 +No Permission to Claim Homework: 您沒有權限認領功課 +No Permission to Create a Discussion: 您沒有許可權創建討論 +No Permission to Submit: 您沒有許可權遞交 +No Submissions: 沒有遞交 +no_translation_warn:
這部分內容正在翻譯。
+Not Attended: 未參加 Not available: 不可用 +Not Claimed: 未認領 +Not started with a number: 不以數字開頭 +Not wrapped with space: 兩側不含空格 +Oh, the user hasn't provide any discussions yet!: 啊哦,此用戶尚未參與討論...... +Oh, the user hasn't provide any problems yet!: 啊哦,此用戶尚未提供題目...... +Oh, the user hasn't provide any solutions yet!: 啊哦,此用戶尚未撰寫解題解...... +Oh, the user hasn't submitted yet!: 啊哦,此用戶尚未遞交...... Oh, there is no task in the queue!: 喔,佇列中目前沒有任務。 +Ok: 確定 +Oops, there are no results.: 呀,沒有結果。 Oops!: Oops! Open Scratchpad: 進入線上程式設計模式 +Open Since: 開始時間 Open Source: 開源 Operating System: 作業系統 -Password: 密碼 -Password reset mail has been sent to your email.: 密碼重置郵件已傳送到您的電子郵箱。 -Peak Memory: 峰值記憶體 -Pretest?: 自測? +Original Score: 原始得分 +Owner: 所有者 +pager_first: « 第一頁 +pager_last: 末頁 » +pager_next: 下一頁 › +pager_previous: ‹ 前一頁 +Partic.: 參賽人數 +Password reset mail has been sent to your email.: 密碼重置郵件已傳送到您的電子郵箱。 +Password: 密碼 +Passwords don't match.: 驗證密碼不匹配。 +Path {0} not found.: 路徑 {0} 不存在。 +Peak Memory: 峰值記憶體 +perm_contest: 比賽 +perm_discussion: 討論 +perm_general: 一般 +perm_problem_solution: 題解 +perm_problem: 題庫 +perm_record: 記錄 +perm_training: 訓練 +Permission: 許可權 +Permissions: 許可權 +Please attend contest to see the problems.: 請參加比賽來檢視題目。 +Please claim the assignment to see the problems.: 認領功課后方可查看題目。 +Please select at least one role to perform this operation.: 請選擇至少一個角色來進行操作。 +Please select at least one user to perform this operation.: 請選擇至少一個使用者來進行操作。 +Pretest Data: 自測資料 +Pretest Your Code: 使用自定義資料測試 +Pretest: 自測 +Pretest?: 自測? Privacy: 隱私 -Problem: 題目 +Problem {1} not found.: 題目 {1} 不存在。 +Problem Data: 題目資料 +Problem List: 供題列表 Problem Set: 題庫 Problem Settings: 題目設定 -Problem Solution: 題解列表 Problem Solution List: 題解列表 +Problem Solution: 題解列表 Problem Tags Visibility: 題目標籤可見性 -Problems: 題目 +problem_create: 創建題目 +problem_edit: 編輯題目 +problem_main: 題庫 +problem_settings: 題目設定 +problem_solution: 題解 +problem_submit: 遞交程式碼 +Problem: 題目 Problems Sets: 題庫 +Problems: 題目 +Properties: 屬性 Public: 公開 Published at: 發表於 QQ Group: QQ 群 QQ Visibility: QQ 可見性 -WeChat: 微信 -WeChat Visibility: 微信可見性 Quit Scratchpad: 退出線上程式設計模式 +Rank: 排名 +Read data of own problems: 讀取自己題目的資料 +Read data of problem: 讀取題目資料 +Read record codes: 讀取記錄的程式碼 +Ready (☆▽☆): 馬上開始 (☆▽☆) +Ready: 即將開始 +Recent {0} Records: 最近 {0} 條記錄 Recent Activities: 最近活動 +Recent Solutions: 最近題解 +Recent Submissions: 最近遞交 +Record {0} not found.: 記錄 {0} 不存在。 +record_detail: 記錄詳情 +record_main: 評測佇列 +Records: 評測記錄 +Refresh Records: 重新整理評測記錄 +Refresh: 重新整理 Registered at: 註冊於 -Related: 相關 +Rejudge problems: 重測題目 +Rejudge records: 重測記錄 +Rejudge: 重測 Related Discussions: 相關討論 +Related: 相關 Remember me: 記住我 +Remove Selected User: 將所選使用者移出 +Remove this data: 移除這組資料 +Remove: 移除 Repeat Password: 重複密碼 +Reply discussions: 回覆討論 +Reply problem solutions: 回覆題解 +reply: 回覆 Reply: 回覆 +Report: 舉報 +required: 必填 +Resent Discussions: 最近討論 Reset Password: 重置密碼 +Role has been updated to {0} for selected users.: 所選使用者角色已更新為 {0}。 +Role has been updated to {0}.: 角色已更新為 {0}。 +Role name can only contains numbers, letters and underscores.: 角色名稱只能包含數字、字母和下劃線。 +Role: 角色 +Roles: 角色 Rule: 規則 -SIGN IN: 登入 +Run Pretest: 運行自測 +Sample Input: 輸入資料 +Sample Output: 輸出資料 Save All Changes: 儲存所有修改 Saved session: 已儲存的會話 +score canceled: 成績取消 Score: 分數 -Secret: 保密 +Scoreboard (Hidden): 成績表 (隱藏) +Scoreboard: 成績表 Secret (visible to admins): 保密(對管理員可見) +Secret: 保密 Security: 安全 Select a node to create discussion.: 選擇一個節點來發表討論。 -Send: 傳送 +Select a role: 選擇一個角色 +Select User: 選擇使用者 +Selected roles have been deleted.: 所選角色已刪除。 +Selected users have been removed from the domain.: 所選使用者已從此域中移除。 Send Code after acceptance: 通過題目後傳送原始碼 Send Password Reset Email: 傳送密碼重置郵件 Send Verification Email: 傳送驗證郵件 +Send: 傳送 Service Status: 服務狀態 +Set Role: 設定角色 +Set Roles for Selected User: 設定所選使用者的角色 +Set Roles for selected users: 為所選使用者設定角色 +setting_customize: 自訂 +setting_display: 顯示偏好 +setting_info_domain: 個人資訊 +setting_info: 個人資訊 +setting_privacy: 隱私 +setting_usage: 使用偏好 Settings: 設定 +Share: 分享 Show all tags: 顯示所有標籤 +Show MOD badge: 展示 MOD 徽章 +Show: 顯示 Sign In: 登入 -Sign Up: 註冊 -Sign Up Now: 現在註冊 +SIGN IN: 登入 Sign up mail has been sent to your email.: 註冊郵件已經發送到您的電子郵箱。 +Sign Up Now: 現在註冊 +Sign Up: 註冊 +Solutions Liked: 題解被贊 Solutions: 題解 -'Solved {0} problems, RP: {1} (No. {2})': '解決了 {0} 道題目,RP: {1} (No. {2})' -Sorry: 對不起 +Solve: 解決 Sorry, there is no problem in the problem set: 題庫中沒有題目 -Solutions Liked: 題解被贊 -Statistics: 統計 -Status: 狀態 -Star: 收藏 -Unstar: 取消收藏 +Sorry: 對不起 +Sort by: 排序 Star Topic: 收藏討論 -Unstar Topic: 取消收藏 +Star: 收藏 +Start at: 開始於 +Statistics: 統計 Status is hidden: 狀態已隱藏 +Status: 狀態 Submission Statistics: 遞交統計 Submission: 遞交 Submissions: 遞交 -Submit: 遞交 -'# Submissions': '遞交數' -'# My Submissions': '我的遞交數' -Login to Submit: 登入後遞交 -No Permission to Submit: 您沒有許可權遞交 Submit At: 遞交時間 Submit By: 遞交者 +Submit problem: 遞交題目 +Submit Solution: 遞交評測 Submit Time: 遞交時間 +Submit to Judge: 遞交以評測 +Submit Your Code: 遞交程式碼進行正式評測 +Submit: 遞交 +Submitted: 已遞交 Support: 支援 Technical Information: 技術資訊 Temporary session: 臨時會話 +Text: 文字 +The homework's deadline is due but in extension. You can still submit for this problem but your score will be penalized.: 功課已經截止,但處於延期時間内。您此時遞交的題目無法獲得全部分數。 +Their account will not be deleted and they will be with the default role.: 他們的賬號不會被刪除,並且之後將以 default 角色訪問。 +There are no contests...: 沒有比賽… +There is no homework so far ╰(*°▽°*)╯: 目前沒有功課 ╰(*°▽°*)╯ +This contest is not live.: 比賽沒有開始。 This email was sent by {0} automatically, and please do not reply directly.: 這封郵件由 {0} 自動傳送,請勿直接回復。 +This homework is not open and you cannot view problems.: 功課尚未開放,不能查看題目。 +This homework is not open.: 功課尚未開放遞交。 This is the current session: 這是當前的會話 Time Cost: 耗時 +Time Extension: 延期 +Time: 時間 +timeago_locale: zh_TW +Timezone: 時區 +title: 標題 Title: 標題 +Toggle Pretest Panel: 切換自測面板 +Toggle Records Panel: 切換評測記錄面板 +Total Score: 總分 Total Time: 總耗時 +Training requirement is not satisfied.: 不滿足訓練條件。 +training_main: 訓練 Type: 類型 UI Language: 使用者介面語言 -Timezone: 時區 +Unique: 唯一 +Unknown field {0}.: 未知欄位 {0}。 Unknown: 未知 +Unstar Topic: 取消收藏 +Unstar: 取消收藏 +Update Permission: 更新許可權 Update: 更新 -Uploaded By: 上傳者 Upload Problem: 上傳題目 +Upload: 上傳 +Uploaded By: 上傳者 +User {0} already exists.: 使用者 {0} 已存在。 +User {0} not found.: 使用者 {0} 不存在。 +User ID: 使用者 ID +user_detail: 使用者 +user_login: 登入 +user_logout: 登出 +user_lostpass: 忘記密碼 +user_register: 註冊 +User-defined role: 使用者定義的角色 User: 使用者 +Username / UID: 使用者名或 UID Username: 使用者名 +Users with those roles will be removed from the domain.: 擁有這些角色的使用者將從此域中移除。 +Users: 使用者 Using your Hydro universal account: 使用您的 Hydro 通用賬戶 -View Problem: 檢視題目 +Valid for registered users who are not members of the domain: 對域外註冊使用者有效 +Valid for visitors: 對未登入的遊客有效 +View contest scoreboard: 檢視比賽成績表 +View Contest: 檢視比賽 +View contests: 檢視比賽 +View Details: 檢視詳情 +View discussions: 檢視討論 +View hidden contest submission status and scoreboard: 檢視隱藏的比賽遞交狀態和成績表 +View hidden homework submission status and scoreboard: 翻閲隱藏的功課遞交狀態和成績表 +View homework scoreboard: 翻閲功課成績表 +View homework: 翻閲功課 +View Homework: 翻閲功課 View or create discussion: 檢視與發表討論 View or submit solution: 檢視與發表題解 +View Owned Training Plans: 檢視自己的訓練計劃 +View problem solutions: 檢視題解 +View Problem: 檢視題目 +View problems: 檢視題目 +View this domain: 檢視此域 +View training: 檢視訓練 +View: 檢視 Visible to registered users: 對註冊使用者可見 +Visit: 檢視 +Vote problem solutions: 為題解投票 Vote: 投票 We use Gravatar to present your avatar icon.: 我們使用 Gravatar 服務來呈現您的頭像。 +We will check code similarity after this contest.: 我們會在賽後檢查程式碼相似度。 +WeChat Visibility: 微信可見性 +WeChat: 微信 +What is domain?: 什麼是域? +What's domain?: 什麼是域? Whether to show tags in the problem list.: 是否在題目列表中顯示題目的標籤。 +Will be used as the system icon.: 將被用作圖示。 +Without slashes or backslashes: 不含斜槓和反斜槓 Write Your Comment: 發表您的評論 Write Your Solution: 發表您的題解 -author: 作者 -content: 內容 -current domain: 當前域 -currently offline: 目前離線 -discussion_create: 創建討論 -discussion_main: 討論 -discussion_node: 討論 -error: 錯誤 -home_account: 賬戶設定 -home_domain_account: 當前域的設定 -home_preference: 偏好設定 -home_messages: 站內訊息 -home_security: 安全設定 -home_domain: 我的域 -Homework: 功課 -Homework Introduction: 功課介紹 -homework_main: 功課 -homework_create: 創建功課 -homework_edit: 編輯功課 -homework_scoreboard: 成績表 -judge_playground: 評測遊樂場 -last active at: 最後活動於 -last login at: 最後登入於 -no discussion yet...: 目前沒有討論… -pager_first: « 第一頁 -pager_last: 末頁 » -pager_next: 下一頁 › -pager_previous: ‹ 前一頁 -problem_create: 創建題目 -problem_edit: 編輯題目 -problem_main: 題庫 -problem_solution: 題解 -problem_submit: 遞交程式碼 -problem_settings: 題目設定 -record_detail: 記錄詳情 -record_main: 評測佇列 -reply: 回覆 -setting_usage: 使用偏好 -setting_info: 個人資訊 -setting_display: 顯示偏好 -setting_privacy: 隱私 -setting_customize: 自訂 -title: 標題 -training_main: 訓練 -user_detail: 使用者 -user_login: 登入 -user_logout: 登出 -user_lostpass: 忘記密碼 -user_register: 註冊 -'{0} comments': '{0} 條評論' -'{0} solutions': '{0} 條題解' -'{0} views': '{0} 次檢視' -New: 創建 -Pretest: 自測 -Add: 新增 -Remove: 移除 -Add new data: 新增新資料 -Remove this data: 移除這組資料 -Sample Input: 輸入資料 -Sample Output: 輸出資料 -Records: 評測記錄 -Refresh Records: 重新整理評測記錄 -Refresh: 重新整理 -Report: 舉報 -Run Pretest: 運行自測 -Pretest Your Code: 使用自定義資料測試 -Submit Solution: 遞交評測 -Submit Your Code: 遞交程式碼進行正式評測 -Toggle Pretest Panel: 切換自測面板 -Toggle Records Panel: 切換評測記錄面板 -Recent {0} Records: 最近 {0} 條記錄 -You have not submitted any solutions for this problem: 您在該題下沒有遞交過任何解答 -Submit to Judge: 遞交以評測 -Code language: 程式碼語言 -'Yes': 是 -'No': 否 -Comment: 評論 -Share: 分享 -Delete: 刪除 -Highlight: 高亮討論 -End at: 結束於 -Action: 動作 -Rejudge: 重測 -Oops, there are no results.: 呀,沒有結果。 -My Domains: 我的域 -What is domain?: 什麼是域? -View: 檢視 -Manage: 管理 -home_domain_create: 創建域 -Create Domain: 創建域 -Properties: 屬性 -Access Control: 訪問控制 -domain_main: 首頁 -manage: 管理 -manage_domain: 管理域 -manage_dashboard: 概況 -manage_edit: 編輯域資料 -manage_join_applications: 加域申請 -manage_role: 管理角色 -manage_user: 管理使用者 -manage_permission: 管理許可權 -Update Permission: 更新許可權 -Roles: 角色 -Your role: 您的角色 -Your permission: 您的許可權 -Edit Domain: 編輯域 +You can create your own training plans and share 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.: 您不擁有任何域也沒有創建域的特權。 -An error has occurred.: 發生了一個錯誤。 -Path {0} not found.: 路徑 {0} 不存在。 -Field {0} or {1} validation failed.: 欄位 {0} 或 {1} 驗證失敗。 -Field {0} validation failed.: 欄位 {0} 驗證失敗。 -Unknown field {0}.: 未知欄位 {0}。 -Passwords don't match.: 驗證密碼不匹配。 -User {0} already exists.: 使用者 {0} 已存在。 -Invalid user {0} or password.: 使用者 {0} 不存在或密碼錯誤。 -Document {2} not found.: 文件 {2} 不存在。 -Data of Problem {0} not found.: 題目 {0} 的資料缺失。 +You have not submitted any solutions for this problem: 您在該題下沒有遞交過任何解答 +You have permissions 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.: 您沒有登入。 -You don't have the required privilege.: 您沒有相應的特權。 -You don't have the required permission ({0}) in this domain.: 您在該域中無相應許可權 ({0})。 -You've already voted.: 您已經投過票。 -User {0} not found.: 使用者 {0} 不存在。 -Current password doesn't match.: 當前密碼輸入錯誤。 -Discussion category {1} already exists.: 討論分類 {1} 已經存在。 -Discussion category {1} not found.: 討論分類 {1} 不存在。 -Discussion node {1} already exists.: 討論節點 {1} 已經存在。 -Discussion node {1} not found.: 討論節點 {1} 不存在。 -Discussion {1} not found.: 討論 {1} 不存在。 -Message {0} not found.: 訊息 {0} 不存在。 -Domain {0} not found.: 域 {0} 不存在。 -Domain {0} already exists.: 域 {0} 已經存在。 You've already attended this contest.: 您已經參加本次比賽。 -You haven't attended this contest yet.: 您還沒有參加本次比賽。 -Contest scoreboard is not visible.: 當前比賽成績表隱藏,暫不可顯示。 -Problem {1} not found.: 題目 {1} 不存在。 -Training requirement is not satisfied.: 不滿足訓練條件。 -Record {0} not found.: 記錄 {0} 不存在。 -'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超過頻率限制。限制:{1} 秒內最多 {2} 次操作。' -Domain ID cannot be changed once the domain is created.: 在創建後不能更改 ID。 -'A domain ID cannot be changed after creation. It is supposed to be:': '創建後將無法更改 ID。ID 必須滿足以下條件:' -Unique: 唯一 -Not wrapped with space: 兩側不含空格 -Not started with a number: 不以數字開頭 -Without slashes or backslashes: 不含斜槓和反斜槓 -Username / UID: 使用者名或 UID -Last Submit At: 最後遞交於 -Start at: 開始於 -Duration: 持續時間 -hour(s): 小時 -Not Attended: 未參加 -Live...: 正在進行… -Ready (☆▽☆): 馬上開始 (☆▽☆) -View Details: 檢視詳情 -All Contests: 所有比賽 -All Homeworks: 所有功課 -No Submissions: 沒有遞交 -Do not discuss solutions otherwise you will be regarded as cheating and then lose qualifications.: 請勿討論解法,否則以作弊論處並且將失去參賽資格。 -Please attend contest to see the problems.: 請參加比賽來檢視題目。 -This contest is not live.: 比賽沒有開始。 -contest_detail_problem_submit: 遞交比賽程式碼 -Host: 主持人 -Rank: 排名 -Solve: 解決 -Time: 時間 -required: 必填 -Name: 名稱 -Will be used as the system icon.: 將被用作圖示。 -My Role: 我的角色 -What's domain?: 什麼是域? -Visit: 檢視 -delete: 刪除 -User ID: 使用者 ID -'{0}: Users': '{0}: 使用者' -'{0}: Roles': '{0}: 角色' -'{0}: Permissions': '{0}: 許可權' -Role: 角色 -Select a role: 選擇一個角色 -Add User: 新增使用者 -Remove Selected User: 將所選使用者移出 -Set Roles for Selected User: 設定所選使用者的角色 -Create Role: 創建角色 -Role name can only contains numbers, letters and underscores.: 角色名稱只能包含數字、字母和下劃線。 -Built-in: 內建 -Always granted all privileges: 總是擁有所有域許可權 -Valid for visitors: 對未登入的遊客有效 -Valid for registered users who are not members of the domain: 對域外註冊使用者有效 -User-defined role: 使用者定義的角色 -Users: 使用者 -Delete Selected Roles: 刪除所選角色 -Owner: 所有者 -Permission: 許可權 -Permissions: 許可權 -View this domain: 檢視此域 -Edit permissions of a role: 修改角色許可權 -Show MOD badge: 展示 MOD 徽章 -Edit description of this domain: 修改此域描述 -Create problems: 創建題目 -Edit problems: 修改題目 -Edit own problems: 修改自己的題目 -View problems: 檢視題目 -Submit problem: 遞交題目 -Read data of problem: 讀取題目資料 -Read data of own problems: 讀取自己題目的資料 -Read record codes: 讀取記錄的程式碼 -Rejudge problems: 重測題目 -Rejudge records: 重測記錄 -View problem solutions: 檢視題解 -Create problem solutions: 創建題解 -Vote problem solutions: 為題解投票 -Edit problem solutions: 修改題解 -Edit own problem solutions: 修改自己的題解 -Delete problem solutions: 刪除題解 -Delete own problem solutions: 刪除自己的題解 -Reply problem solutions: 回覆題解 -Edit problem solution replies: 修改題解的回覆 -Edit own problem solution replies: 修改題解中自己的回覆 -Delete problem solution replies: 刪除題解的回覆 -Delete own problem solution replies: 刪除題解中自己的回覆 -View discussions: 檢視討論 -Create discussions: 創建討論 -Highlight discussions: 高亮討論 -Edit discussions: 修改討論 -Edit own discussions: 修改自己的討論 -Delete discussions: 刪除討論 -Delete own discussions: 刪除自己的討論 -Reply discussions: 回覆討論 -Edit discussion replies: 修改討論的回覆 -Edit own discussion replies: 修改討論中自己的回覆 -Edit discussion replies of own discussion: 修改自己討論中的回覆 -Delete discussion replies: 刪除討論回覆 -Delete own discussion replies: 刪除討論中自己的回覆 -Delete discussion replies of own discussion: 刪除自己討論中的回覆 -View contests: 檢視比賽 -View contest scoreboard: 檢視比賽成績表 -View hidden contest submission status and scoreboard: 檢視隱藏的比賽遞交狀態和成績表 -Create contests: 創建比賽 -Attend contests: 參加比賽 -View training: 檢視訓練 -Have ALL PERMISSIONS in this domain: 在此域中擁有全部許可權 -Select User: 選擇使用者 -Submitted: 已遞交 -timeago_locale: zh_TW -Live: 正在進行 -Ready: 即將開始 -Done: 已結束 -About Markdown: 關於 Markdown -Inline codes: 行內程式碼 -Code blocks: 程式碼區塊 -Inline formulas: 行內公式 -Formula blocks: 公式區塊 -Links: 連結 -Text: 文字 -Images: 圖片 -Description: 說明 -Learn More: 瞭解更多 -CommonMark Syntax: CommonMark 語法 -LaTeX Expressions: LaTeX 表示式 -Hidden: 隱藏 -We will check code similarity after this contest.: 我們會在賽後檢查程式碼相似度。 -Dataset: 測試資料 -'Current dataset: {0}': '當前測試資料: {0}' -Upload: 上傳 -No dataset at present.: 暫無測試資料。 -All: 全部 -All {0} Contests: 所有 {0} 比賽 -Show: 顯示 -There are no contests...: 沒有比賽… -View Contest: 檢視比賽 -Cancel Score: 取消成績 -score canceled: 成績取消 -You have permissions to create problems for this domain.: 您有許可權為此域創建題目。 -Sort by: 排序 -'↓ # Enrollees': '↓ 參與人數' -'↓ # Likes': '↓ 贊數' -'↓ # Stars': '↓ 收藏數' -'↓ # Comments': '↓ 評論數' -'↓ Create Time': '↓ 創建時間' -'↓ Update Time': '↓ 更新時間' -Enrolled: 已參加 -Create Training Plan: 創建訓練計劃 -New Training Plan: 新訓練計劃 -View Owned Training Plans: 檢視自己的訓練計劃 -You can create your own training plans and share with others.: 您可以創建您自己的訓練計劃並且與他人分享。 -no_translation_warn:
這部分內容正在翻譯。
-Set Role: 設定角色 -Set Roles for selected users: 為所選使用者設定角色 -Please select at least one user to perform this operation.: 請選擇至少一個使用者來進行操作。 -Confirm removing the selected users?: 您確定將所選使用者移除嗎? -Their account will not be deleted and they will be with the default role.: 他們的賬號不會被刪除,並且之後將以 default 角色訪問。 -Selected users have been removed from the domain.: 所選使用者已從此域中移除。 -Role has been updated to {0} for selected users.: 所選使用者角色已更新為 {0}。 -Role has been updated to {0}.: 角色已更新為 {0}。 -Confirm deleting the selected roles?: 您確定刪除所選角色嗎? -Users with those roles will be removed from the domain.: 擁有這些角色的使用者將從此域中移除。 -Selected roles have been deleted.: 所選角色已刪除。 -Please select at least one role to perform this operation.: 請選擇至少一個角色來進行操作。 -Domain {0} is bulit-in and cannot be modified.: 域 {0} 為內建,不可修改。 -perm_general: 一般 -perm_problem: 題庫 -perm_record: 記錄 -perm_problem_solution: 題解 -perm_discussion: 討論 -perm_contest: 比賽 -perm_training: 訓練 -discussion_edit: 編輯討論 -At least 4 characters: 至少 4 個字元 -Contact: 聯絡 -Click here to chat with me: 點選這裡與我聊天 -Partic.: 參賽人數 -'{0} discussions': '{0} 條討論' -Recent Submissions: 最近遞交 -Oh, the user hasn't submitted yet!: 啊哦,此用戶尚未遞交...... -Lang.: 語言 -Oh, the user hasn't provide any problems yet!: 啊哦,此用戶尚未提供題目...... -Problem List: 供題列表 -Oh, the user hasn't provide any solutions yet!: 啊哦,此用戶尚未撰寫解題解...... -Recent Solutions: 最近題解 -Most Upvoted Solutions: 最熱題解 -Oh, the user hasn't provide any discussions yet!: 啊哦,此用戶尚未參與討論...... -Resent Discussions: 最近討論 -Scoreboard: 成績表 -Scoreboard (Hidden): 成績表 (隱藏) -setting_info_domain: 個人資訊 -Calendar View: 日曆視圖 -List View: 列表視圖 -Time Extension: 延期 -Claim Homework: 認領功課 -Please claim the assignment to see the problems.: 認領功課后方可查看題目。 -Login to Claim Homework: 登錄以認領功課 -No Permission to Claim Homework: 您沒有權限認領功課 -View Homework: 翻閲功課 -Claimed: 已認領 -Not Claimed: 未認領 -My Recent Submissions: 我最近的遞交記錄 -The homework's deadline is due but in extension. You can still submit for this problem but your score will be penalized.: 功課已經截止,但處於延期時間内。您此時遞交的題目無法獲得全部分數。 -You cannot submit for this problem because the homework's deadline is due.: 功課已到達截止時間,您無法遞交了。 -End Date: 結束日期 -End Time: 結束時間 -Extension (days): 最長延期(日) -Extension Score Penalty: 延期遞交扣分規則 -Edit Homework: 編輯功課 -This homework is not open and you cannot view problems.: 功課尚未開放,不能查看題目。 -Total Score: 總分 -Original Score: 原始得分 -View homework: 翻閲功課 -View homework scoreboard: 翻閲功課成績表 -View hidden homework submission status and scoreboard: 翻閲隱藏的功課遞交狀態和成績表 -Create homework: 創建功課 -Claim homework: 認領功課 -Edit any homework: 修改任意功課 -Edit own homework: 修改自己的功課 -Can be Extended For: 可延期 -Open Since: 開始時間 -Hard Deadline: 最終截止時間 -Deadline: 截止時間 -There is no homework so far ╰(*°▽°*)╯: 目前沒有功課 ╰(*°▽°*)╯ -Homework scoreboard is not visible.: 目前無法查看功課成績表。 -This homework is not open.: 功課尚未開放遞交。 You've already claimed this homework.: 您已認領該功課。 -You haven't claimed this homework yet.: 您還未認領該功課。 -Export All Code: 導出所有原始碼 +You've already voted.: 您已經投過票。 +Your permission: 您的許可權 +Your role: 您的角色 \ No newline at end of file diff --git a/module/module-pastebin/handler.js b/module/module-pastebin/handler.js index 119827b1..ed6a85ff 100644 --- a/module/module-pastebin/handler.js +++ b/module/module-pastebin/handler.js @@ -48,10 +48,10 @@ class PasteCreateHandler extends Handler { } async function apply() { - Route('paste', '/paste', PasteMainHandler); + Route('pastebin', '/paste', PasteMainHandler); Route('paste_create', '/paste/create', PasteCreateHandler); Route('paste_show', '/paste/:docId', PasteShowHandler); - nav('paste', null, 'paste', PERM_LOGGEDIN); + nav('pastebin', null, 'pastebin', PERM_LOGGEDIN); } global.Hydro.handler.pastebin = module.exports = apply; diff --git a/templates/home_security.html b/templates/home_security.html index 3aca6a9c..580b91a4 100644 --- a/templates/home_security.html +++ b/templates/home_security.html @@ -90,13 +90,13 @@
  • - +

    {{ _('Last Update At') }}: {{ datetimeSpan(session.updateAt)|safe }}

    {{ _('Location') }}: {{ _(session.updateGeoip) }} ({{ session.updateIp }})

    {{ _('Operating System') }}: {{ session.updateUa.os }}

    -

    {{ _('Browser') }}: {{ session.updateUa.browser }}

    +

    {{ _('Browser') }}: {{ session.updateUa.name }} {{ session.updateUa.version }}

    {% if session.isCurrent %}

    {{ _('This is the current session') }}

    diff --git a/ui/build/runWebpack.js b/ui/build/runWebpack.js index 5cc6a794..d0fb67b2 100644 --- a/ui/build/runWebpack.js +++ b/ui/build/runWebpack.js @@ -1,7 +1,5 @@ /* eslint-disable import/no-extraneous-dependencies */ -import fs from 'fs'; import webpack from 'webpack'; -import root from './utils/root'; import webpackConfig from './config/webpack'; export default function ({ watch, production }) { @@ -13,7 +11,6 @@ export default function ({ watch, production }) { if (err.details) console.error(err.details); process.exit(1); } - fs.writeFileSync(root('./.webpackStats.json'), JSON.stringify(stats.toJson(), null, 2)); if (!watch && stats.hasErrors()) process.exitCode = 1; } diff --git a/ui/components/time/time.page.js b/ui/components/time/time.page.js index 68a7d79d..e6421d98 100644 --- a/ui/components/time/time.page.js +++ b/ui/components/time/time.page.js @@ -4,7 +4,8 @@ import { AutoloadPage } from 'vj/misc/PageLoader'; import i18n from 'vj/utils/i18n'; -timeago.register(i18n('timeago_locale')); +const locales = require.context('timeago.js/lib/lang', false, /\.js$/); +timeago.register(i18n('timeago_locale'), locales(`./${i18n('timeago_locale')}.js`).default); function runRelativeTime($container) { $container.find('span.time.relative[data-timestamp]').get().forEach((element) => { @@ -15,7 +16,7 @@ function runRelativeTime($container) { $element.attr('data-tooltip', $element.text()); $element.attr('datetime', ($element.attr('data-timestamp') || 0) * 1000); $element.attr('data-has-timeago', '1'); - timeago.render(element); + timeago.render(element, i18n('timeago_locale')); }); }