Skip to content

Commit

Permalink
Add navBar style && Add language translation (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lvw666 authored Sep 6, 2023
1 parent 71b99f1 commit 97fe1e6
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 138 deletions.
106 changes: 53 additions & 53 deletions packages/hydrooj/locales/zh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ __langname: 简体中文
'{0} {1} delete your discussion reply {2} in "{3}"({4}).' : '{0} {1} 从讨论 {3}({4}) 删除了你的回复 {2}。'
'{0} comments': '{0} 条评论'
'{0} discussions': '{0} 条讨论'
'{0} is a moderator of this domain.': '{}是这个域的管理者之一'
'{0} is a moderator of this domain.': '{}是这个网站的管理者之一'
'{0} limit exceeded (limit: {2} operations in {1} seconds).': '{0} 超过频率限制。限制:{1} 秒内最多 {2} 次操作。'
'{0} problems': '{0} 道题'
'{0} sections': '{0} 小节'
Expand All @@ -31,7 +31,7 @@ __langname: 简体中文
'No':
'Note: Problem title may not be hidden.': 注意:题目标题可能不会被隐藏。
'Original score: {0}': '原得分: {0}'
'Role {1} already exists in domain {0}.': ' {0} 中已存在角色 {1}。'
'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}` 已经存在。'
'Yes':
Expand Down Expand Up @@ -72,12 +72,12 @@ All: 全部
Allow builtin-login: 启用内置登录
Allow users send messages: 允许用户使用私信
Allow using gravatar:email qq:id github:name url:link format.: 允许使用 gravatar:email,qq:id,github:name,url:link 格式。
Allowed langs: 域内允许使用的提交语言
Allowed langs: 网站内允许使用的提交语言
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: 任意用户都可以加入此域
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: 参数
Expand All @@ -102,7 +102,7 @@ Boom!: 炸了!
Browser: 浏览器
Built-in: 内置
Bulletin: 公告
By clicking the button, you will become a member of the domain {0}.: 点击按钮,您将成为域 {0} 的成员。
By clicking the button, you will become a member of the domain {0}.: 点击按钮,您将成为网站 {0} 的成员。
By Contest: 由比赛
By Problem: 由题目
By Username / UID: 由用户名或 UID
Expand Down Expand Up @@ -182,7 +182,7 @@ Create contests: 创建比赛
Create Discussion in {0}: 在 {0} 下创建讨论
Create Discussion: 创建讨论
Create discussions: 创建讨论
Create Domain: 创建域
Create Domain: 创建网站
Create homework: 创建作业
Create Homework: 创建作业
Create Link: 创建链接
Expand All @@ -195,7 +195,7 @@ Create training plans: 创建训练计划
Create: 创建
Created By: 创建人
Current dataset comes from: 当前数据集来自
current domain: 当前域
current domain: 当前网站
Current Email: 当前电子邮件
Current Location: 当前位置
Current password doesn't match.: 当前密码输入错误。
Expand Down Expand Up @@ -228,7 +228,7 @@ Delete Selected Roles: 删除所选角色
delete: 删除
Delete: 删除
Description: 说明
Destination Domain: 目标域
Destination Domain: 目标网站
Development: 开发
Difficulty Algorithm: 难度算法
Difficulty by admin: 管理员设定的难度
Expand All @@ -255,24 +255,24 @@ 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 {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 ID: 网站 ID
domain_dashboard: 管理网站
domain_discussion: 讨论节点
domain_edit: 编辑域资料
domain_edit: 编辑网站资料
domain_file: 我的文件
domain_group: 管理小组
domain_join_applications: 加域申请
domain_join: 加入域
domain_join_applications: 加网站申请
domain_join: 加入网站
domain_main: 首页
domain_permission: 管理权限
domain_role: 管理角色
domain_user: 管理用户
domain:
Domain:
domain: 网站
Domain: 网站
Don't have an account?: 还没有账户?
Done: 已结束
Download Dataset: 下载数据集
Expand All @@ -284,12 +284,12 @@ Duration: 持续时间
Edit any contests: 修改任意的比赛
Edit any homework: 修改任意的作业
Edit Contest: 编辑比赛
Edit description of this domain: 修改此域描述
Edit description of this domain: 修改此网站描述
Edit discussion replies of own discussion: 修改自己讨论中的回复
Edit discussion replies: 修改讨论的回复
Edit discussions: 修改讨论
Edit domain settings: 编辑域设置
Edit Domain: 编辑域
Edit domain settings: 编辑网站设置
Edit Domain: 编辑网站
Edit Homework: 编辑作业
Edit own contests: 修改自己的比赛
Edit own discussion replies: 修改讨论中自己的回复
Expand Down Expand Up @@ -327,7 +327,7 @@ Export All Code: 导出所有代码
Export as {0}: 导出为 {0}
Extension (days): 最长延期 (日)
Extension Score Penalty: 延期递交扣分规则
Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员
Failed to join the domain. You are already a member.: 加入网站失败,您已是该网站的成员
Feedback: 反馈
Field {0} or {1} validation failed. ({2}): 字段 {0} 或 {1} 验证失败。 ({2})
Field {0} or {1} validation failed.: 字段 {0} 或 {1} 验证失败。
Expand All @@ -343,7 +343,7 @@ Gender Visibility: 性别可见性
Gender: 性别
Hard Deadline: 最终截止时间
Hash: 散列
Have ALL PERMISSIONS in this domain: 在此域中拥有全部权限
Have ALL PERMISSIONS in this domain: 在此网站中拥有全部权限
He:
Help: 帮助
Hidden: 隐藏
Expand All @@ -355,9 +355,9 @@ highlight: 高亮
Highlight: 高亮
Hint: 提示
home_account: 账户设置
home_domain_account: 当前域的设置
home_domain_create: 创建域
home_domain: 我的域
home_domain_account: 当前网站的设置
home_domain_create: 创建网站
home_domain: 我的网站
home_files: 我的文件
home_messages: 站内消息
home_preference: 偏好设置
Expand Down Expand Up @@ -453,7 +453,7 @@ Lost Password: 忘记密码
Lucky: 手气不错
Mail From: 发件人
manage_dashboard: 控制面板
manage_join_applications: 加域申请
manage_join_applications: 加网站申请
manage_module: 管理模块
manage_setting: 系统设置
manage_user_import: 导入用户
Expand All @@ -478,7 +478,7 @@ monacoTheme: 编辑器主题
Month:
Monthly Popular: 月度最受欢迎
Most Upvoted Solutions: 最被赞同的题解
My Domains: 我的域
My Domains: 我的网站
My Files: 我的文件
My Profile: 我的资料
My Recent Submissions: 我的最近递交记录
Expand All @@ -505,7 +505,7 @@ No problem.: 没有题目。
No solutions so far...: 目前还没有题解...
No Submissions: 没有递交
No testdata at current.: 暂无测试数据。
No user is allowed to join this domain: 没有用户可以自助加入此域
No user is allowed to join this domain: 没有用户可以自助加入此网站
no_translation_warn: ''
None:
Not Attended: 未参加
Expand Down Expand Up @@ -689,7 +689,7 @@ Select Category: 选择标签
Select User: 选择用户
Selected categories: 已选标签
Selected roles have been deleted.: 所选角色已删除。
Selected users have been removed from the domain.: 所选用户已从此域中移除
Selected users have been removed from the domain.: 所选用户已从此网站中移除
Send Code after acceptance: 通过题目后发送源代码
Send Message: 发送站内信息
Send Password Reset Email: 发送密码重置邮件
Expand All @@ -703,7 +703,7 @@ Set Roles for selected users: 为所选用户设置角色
setting_basic: 基础设置
setting_customize: 个性化
setting_display: 显示偏好
setting_domain: 域设置
setting_domain: 网站设置
setting_file: 存储桶设置
setting_info_domain: 个人信息
setting_info: 个人信息
Expand All @@ -713,7 +713,7 @@ setting_session: Session 设置
setting_smtp: SMTP 设置
setting_usage: 使用偏好
Settings: 设置
Share problem with domain (* for any): 允许引用该域题目的域(* 表示所有域均允许
Share problem with domain (* for any): 允许引用该网站题目的网站(* 表示所有网站均允许
Share: 分享
She:
Show all tags: 显示所有标签
Expand Down Expand Up @@ -746,7 +746,7 @@ Status: 状态
Storage engine accessKey: 存储桶 accessKey
Storage engine bucket: 存储桶名称
Storage engine endPoint: 存储桶 endPoint
Storage engine region: 存储桶地域
Storage engine region: 存储桶地网站
Storage engine secret: 存储桶 secretKey
Student ID: 学号
Submission Statistics: 递交统计
Expand All @@ -766,12 +766,12 @@ Testdata Config: 测试数据配置
Text: 文本
The discussion is locked, you can not reply anymore.: 此讨论已经锁定,您不能再回复。
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 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 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 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 角色访问。
theme: 主题
Expand Down Expand Up @@ -836,9 +836,9 @@ Use average of above: 使用上面的平均值
User {0} already exists.: 用户 {0} 已存在。
User {0} mentioned you in {1:link}: 用户 {0} 在 {1:link} 中提到了你。
User {0} not found.: 用户 {0} 不存在。
User can join this domain by visiting the following URL: 用户可以访问此链接来加入此域
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 will no longer be allowed to join the domain after expiration.: 过期后,用户将不能加入此网站
user_detail: 用户
user_login: 登录
user_logout: 登出
Expand All @@ -849,10 +849,10 @@ User-defined role: 用户定义的角色
User: 用户
Username / UID: 用户名或 UID
Username: 用户名
Users with those roles will be removed from the domain.: 拥有这些角色的用户将从此域中移除
Users with those roles will be removed from the domain.: 拥有这些角色的用户将从此网站中移除
Users: 用户
Using your {0} universal account: 使用您的 {0} 通用账户
Valid for registered users who are not members of the domain: 对域外注册用户有效
Valid for registered users who are not members of the domain: 对网站外注册用户有效
Valid for visitors: 对未登录的游客有效
Verify register email: 注册需邮件验证
Version: 版本
Expand All @@ -863,7 +863,7 @@ View Contest: 查看比赛
View contests: 查看比赛
View Details: 查看详情
View discussions: 查看讨论
View domain user displayname: 显示域中用户的显示名
View domain user displayname: 显示网站中用户的显示名
View hidden contest submission status and scoreboard: 查看隐藏的比赛递交状态和成绩表
View hidden homework submission status and scoreboard: 查看隐藏的作业递交状态和成绩表
View hidden problems: 查看隐藏的题目
Expand All @@ -879,7 +879,7 @@ View problem solutions: 查看题解
View Problem: 查看题目
View problems: 查看题目
View ranking: 查看排名
View this domain: 查看此域
View this domain: 查看此网站
View training plans: 查看训练计划
View: 查看
Visible to registered users: 对注册用户可见
Expand All @@ -890,34 +890,34 @@ We will check code similarity after this contest.: 我们会在赛后检查代
WeChat Visibility: 微信可见性
WeChat: 微信
Week:
What is domain?: 什么是域?
What is domain?: 什么是网站?
What is this?: 这是什么?
What's domain?: 什么是域
What's domain?: 什么是网站
What's script?: 什么是脚本?
What's this?: 这是什么?
Whether to show tags in the problem list.: 是否在题目列表中显示题目的标签。
Will be used as the domain 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.: 您可以通过这个功能将某域下您能查看的题目复制到其它域中,题目的标题、描述、标签与分类将被复制过来。但是测试数据不会被直接复制。
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.: 您可以通过这个功能将某网站下您能查看的题目复制到其它网站中,题目的标题、描述、标签与分类将被复制过来。但是测试数据不会被直接复制。
With this feature, you can import problems that you can view from a site to here. Their title, content, tags and categories will be imported. However, their test data are not copied directly.: 您可以通过这个功能将其他 OJ 的题目导入到本站。题目的标题、题面、标签和分类将会被直接导入,测试数据将会在后台自动导入。
With this feature, you can import problems that you can view from a site to here. Their title, content, tags and categories will be imported.: 您可以通过这个功能将其他 OJ 的题目导入到本站。题目的标题、题面、标签和分类都将会被自动导入。
Write Your Comment: 发表您的评论
Write Your Solution: 发表您的题解
WYSIWYG: 所见即所得
Year:
You are not allowed to join the domain. The link is either invalid or expired.: 您无法加入该域,链接无效或已过期。
You are not allowed to join the domain. The link is either invalid or expired.: 您无法加入该网站,链接无效或已过期。
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.: 您不能访问此域
You don't have the required permission ({0}) in this domain.: 您在该域中无相应权限 ({0})。
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 don't own any domain and don't have privilege to create domain.: 您不拥有任何网站也没有创建网站的特权
You have not submitted any solutions for this problem: 您在该题下没有递交过任何解答
You have permission to create problems for this domain.: 您有权限为此域创建题目
You have uncompleted domain creation operation. You can click "Continue" to finish the creation.: 您有未完成的创建域操作。您可以点击“继续”来完成创建。
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.: 您还未认领过该作业。
You need to enter the invitation code to join the domain.: 您需要输入邀请码来加入此域
You need to enter the invitation code to join the domain.: 您需要输入邀请码来加入此网站
You're not logged in.: 您没有登录。
You've already attended this contest.: 您已经参加本次比赛。
You've already claimed this homework.: 您已认领过该作业。
Expand Down
Loading

0 comments on commit 97fe1e6

Please sign in to comment.