Files
Reims-Go/.github/scripts/pr-review-language.mjs
T

70 lines
2.9 KiB
JavaScript

export const english = {
heading: "Automated code review",
mainline: "Mainline",
scope: "Files reviewed",
partial: "partial diffs",
comparisonUnavailable: "Mainline comparison unavailable.",
comparisonPartial: "Mainline comparison covers only some changes.",
value: "Merge value and completeness",
upgrade: "Upgrade compatibility",
ui: "UI consistency",
implementation: "Duplication and simplification",
tests: "Test evidence for this PR commit",
ciRun: "CI run",
ciPassed: "Passed",
ciFailed: "Not passed",
ciPending: "Pending",
ciMissing: "No CI run found for this commit.",
pending: "Still to verify",
recommendation: "Merge recommendation",
merge: "Ready to merge",
changes: "Revise and review again",
verify: "Verify before merging",
decline: "Hold this PR",
conflict: "GitHub detected merge conflicts. Resolve them and request another review.",
mainMoved: "The default branch moved during review. Review against the new commit.",
ciRequired: "Wait for passing CI and evidence of key tests.",
fixFindings: "Address the actionable findings below before merging.",
pendingRequired: "Run the key checks listed above.",
incomplete: "Review the remaining changes before merging.",
inline: "Inline findings",
noFindings: "No actionable issues found in the reviewed changes.",
noDiff: "No text diff was available to review.",
inlineFallback: "GitHub could not attach inline comments. See the findings below.",
};
export const chinese = {
heading: "自动代码审核",
mainline: "主线",
scope: "审核范围",
partial: "个文件仅覆盖部分差异",
comparisonUnavailable: "GitHub 未能生成主线对照。",
comparisonPartial: "主线对照覆盖部分变更。",
value: "合并价值与功能完整性",
upgrade: "旧版本、数据与配置升级",
ui: "界面规范与风格",
implementation: "实现精简与重复逻辑",
tests: "当前 PR 提交的实测记录",
ciRun: "CI 运行记录",
ciPassed: "通过",
ciFailed: "未通过",
ciPending: "尚未完成",
ciMissing: "未找到对应提交的 CI 记录。",
pending: "待实测",
recommendation: "合并建议",
merge: "可以合并",
changes: "修改后再审",
verify: "待实测后再决定",
decline: "暂不合并",
conflict: "GitHub 检测到合并冲突,解决后重新审核。",
mainMoved: "主线已更新,请对照新的主线提交重新审核。",
ciRequired: "等待对应提交的 CI 和关键测试记录。",
fixFindings: "合并前处理下方有证据的实质问题。",
pendingRequired: "完成上面列出的关键流程实测。",
incomplete: "本次只覆盖部分差异,合并前补齐审查。",
inline: "行内问题",
noFindings: "已审核的差异中未发现可报告的问题。",
noDiff: "没有可审核的文本差异。",
inlineFallback: "GitHub 未能附加行内评论,审核意见如下。",
};