feat: add locales and tests for workflow_job, status, ping formatters

This commit is contained in:
RhenCloud 2026-08-03 07:24:56 +08:00
parent 4f6b5929c1
commit b14b9f0bde
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
4 changed files with 91 additions and 1 deletions

View file

@ -48,6 +48,8 @@ export const zh = {
status: "状态",
run: "运行",
job: "作业",
workflow: "工作流",
context: "上下文",
duration: "耗时",
type: "类型",
name: "名称",
@ -108,6 +110,15 @@ export const zh = {
workflow_run: {
title: "{repo}: {name} — {conclusion}",
},
workflow_job: {
title: "{repo}: 作业 {name} — {conclusion}",
},
status: {
title: "{repo}: {context} — {state}",
},
ping: {
title: "{repo}: Webhook ping",
},
release: {
action_release: "{emoji}**{action}** 发布 `{tag}`",
title: "{repo}: {name}",