initial commit

This commit is contained in:
RhenCloud 2026-07-24 21:48:50 +08:00
commit 512d4b01d5
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
55 changed files with 6430 additions and 0 deletions

173
src/locales/zh.ts Normal file
View file

@ -0,0 +1,173 @@
export const zh = {
actions: {
opened: "已打开",
closed: "已关闭",
reopened: "重新打开",
synchronized: "已同步",
edited: "已编辑",
labeled: "已添加标签",
unlabeled: "已移除标签",
assigned: "已分配",
unassigned: "已取消分配",
converted_to_draft: "已转为草稿",
ready_for_review: "可供审查",
completed: "已完成",
published: "已发布",
created: "已创建",
deleted: "已删除",
started: "已开始",
added: "已添加",
removed: "已移除",
submitted: "已提交",
dismissed: "已忽略",
approved: "已批准",
changes_requested: "请求修改",
answered: "已回答",
unanswered: "未回答",
pinned: "已置顶",
unpinned: "已取消置顶",
transferred: "已转移",
locked: "已锁定",
unlocked: "已解锁",
renamed: "已重命名",
archived: "已归档",
unarchived: "已取消归档",
fixed: "已修复",
appeared_in_branch: "出现在分支中",
reopened_by_user: "用户重新打开",
closed_by_user: "用户关闭",
},
fields: {
branch: "分支",
changes: "变更",
labels: "标签",
assignees: "指派人",
milestone: "里程碑",
status: "状态",
run: "运行",
duration: "耗时",
type: "类型",
name: "名称",
description: "描述",
file: "文件",
commit: "提交",
environment: "环境",
url: "链接",
severity: "严重程度",
rule: "规则",
package: "包",
vulnerable_range: "受影响版本",
summary: "摘要",
progress: "进度",
due: "截止日期",
number: "编号",
color: "颜色",
label: "标签",
transferred: "已转移",
renamed: "已重命名",
details: "详情",
branch_tag: "分支/标签",
},
common: {
footer: "{repo}",
unknown: "未知",
no_message: "无消息",
repository: "仓库",
untitled: "无标题",
github: "GitHub",
and_n_more: "... 还有 {count} 个提交",
n_files: "{count} 个文件",
},
events: {
push: {
force_push: "⚠️ **强制推送**",
branch_created: "🆕 分支已创建",
commits_pushed: "**{count}** 个提交已推送到 `{ref}`",
view_comparison: "[查看比较]({url})",
added: "+{count} 新增",
removed: "-{count} 删除",
modified: "~{count} 修改",
title: "推送了 {count} 个提交到 {repo}",
},
pr: {
action_pr: "{emoji} **{action}** 拉取请求",
title: "{repo}#{number}: {title}",
},
issues: {
action_issue: "{emoji} **{action}** 议题",
title: "{repo}#{number}: {title}",
},
issue_comment: {
comment_on: "{repo}#{number} 的评论: {title}",
action_comment: "💬 **{action}** 评论",
},
workflow_run: {
title: "{name} — {conclusion}",
},
release: {
action_release: "{emoji} **{action}** 发布 `{tag}`",
title: "{name} — {repo}",
},
create: {
title: "{emoji} 已创建{type} `{ref}` 于 {repo}",
},
delete: {
title: "{emoji} 已删除{type} `{ref}` 于 {repo}",
},
star: {
starred: "⭐ 已加星标",
unstarred: "💫 已取消星标",
},
fork: {
title: "🍴 已将 {repo} 复刻到 {forkee}",
},
check_run: {
title: "{name} — {conclusion}",
},
pr_review: {
action_review: "{emoji} **{action}** 审查",
title: "{repo}#{number} 的审查: {title}",
},
pr_review_comment: {
action_inline: "💬 **{action}** 行内评论",
title: "{repo}#{number} 的审查评论",
line: " (第 {position} 行)",
},
commit_comment: {
action_comment: "💬 **{action}**",
title: "{repo} 中提交 `{sha}` 的评论",
},
deployment: {
title: "部署到 `{env}` — {state}",
},
member: {
title: "{emoji} {action} 协作者: {name}",
},
label: {
title: "{emoji} 标签 {action}: {name}",
},
milestone: {
title: "{emoji} 里程碑 {action}: {title}",
},
discussion: {
title: "{emoji} 讨论 #{number}: {title}",
action_discussion: "{action} 讨论{category}",
},
discussion_comment: {
comment_on: "讨论 #{number} 的评论: {title}",
action_comment: "💬 **{action}** 评论",
},
repository: {
title: "📦 仓库 {action}: {repo}",
},
code_scanning: {
title: "🔍 代码扫描: {action}",
},
dependabot: {
title: "🛡️ Dependabot: {action}",
},
generic: {
title: "{event}{action}",
},
},
};