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

54 lines
2.2 KiB
JavaScript

export const english = {
heading: "Automated code review",
mainline: "Mainline",
scope: "Review scope",
files: "effective files",
lines: "changed lines",
small: "small / low effort",
medium: "medium / medium effort",
large: "large / medium effort",
incremental: "Incremental review based on the previously reviewed commit",
comparisonUnavailable: "Mainline comparison unavailable.",
comparisonPartial: "Mainline comparison covers only some changes.",
anchorsPartial: "GitHub inline anchors cover only part of the PR.",
coverage: "Review coverage",
coveragePartial: "Incomplete",
coverageComplete: "Complete for the selected scope",
findings: "Reported defects",
withheld: "Candidates missing required evidence fields",
questions: "Decisions needed before merging",
warnings: "Incomplete review tasks",
mainMoved: "The default branch moved during this review.",
inline: "Inline findings",
unanchored: "Findings without a stable inline diff anchor",
noDiff: "No reviewable text changes remained after generated and lock files were excluded.",
inlineFallback: "GitHub could not attach inline comments. See the findings below.",
};
export const chinese = {
heading: "自动代码审核",
mainline: "主线",
scope: "审核范围",
files: "个有效文件",
lines: "行变更",
small: "小改动 / 低强度",
medium: "中改动 / 中强度",
large: "大改动 / 中强度",
incremental: "已基于上次审核提交进行增量审查",
comparisonUnavailable: "GitHub 未能生成主线对照。",
comparisonPartial: "主线对照覆盖部分变更。",
anchorsPartial: "GitHub 行内锚点仅覆盖部分 PR 文件。",
coverage: "审查覆盖",
coveragePartial: "部分完成",
coverageComplete: "已完成所选范围",
findings: "已报告缺陷",
withheld: "缺少必需证据字段的候选意见",
questions: "合并前需确认的问题",
warnings: "未完成的审查任务",
mainMoved: "审核期间主线有更新。",
inline: "行内问题",
unanchored: "无法稳定定位到差异行的有效问题",
noDiff: "排除生成文件与锁文件后,没有可审核的文本改动。",
inlineFallback: "GitHub 未能附加行内评论,审核意见如下。",
};