Skip to content

fix(i18n): correct mistranslation of Grace/grace period in Chinese (#11505) - #11507

Merged
AmethystLiang merged 6 commits into
stablyai:mainfrom
fsdwen:fsdwen/issue-11505-grace
Aug 1, 2026
Merged

AmethystLiang merged 6 commits into
stablyai:mainfrom
fsdwen:fsdwen/issue-11505-grace

Conversation

@fsdwen

@fsdwen fsdwen commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

修复 AutomationMissedRunGraceField 中三个中文翻译错误,将调度术语 "grace/grace period"(宽限期)从机器翻译的日常词义更正为正确的专业术语。

英文原文 修复前 修复后
Grace 优雅 宽限期
No grace 没有恩典 无宽限期
Missed-run grace help 错过运行恩典帮助 错过运行宽限期帮助

Screenshots

No visual change. 纯文本翻译修正。

Testing

  • pnpm lint — 通过,包含 verify:localization-catalog 和 verify:localization-coverage 检查

AI Review Report

代码审查确认:

  • 正确性: 三处翻译均对照英文原文逐条修正,修复后与 en.json 语义一致
  • 跨平台: 纯 JSON 字符串修改,不涉及平台相关代码
  • 远程/SSH 兼容: 无影响
  • provider 无关: 仅中文 locale 文件,与 git provider 无关

Security Audit

纯文本翻译修改,不涉及任何输入处理、命令执行、路径操作、认证或 IPC 逻辑,无安全风险。

Notes

Fixes #11505

@fsdwen
fsdwen requested a review from brennanb2025 as a code owner July 30, 2026 05:57
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4c14ffc8-025b-4515-b874-0d59cf3b8697

📥 Commits

Reviewing files that changed from the base of the PR and between 561e2d3 and f44ce64.

📒 Files selected for processing (3)
  • .github/workflows/e2e.yml
  • .github/workflows/readme-downloads-badge.yml
  • src/renderer/src/i18n/locales/zh.json

📝 Walkthrough

Walkthrough

Removed cron-based triggers from the E2E and README downloads badge workflows while preserving their remaining manual or reusable workflow triggers. Updated Chinese localization strings for missed-run grace-period labels and help text to consistently use “宽限期” terminology.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The workflow schedule removals in .github/workflows/e2e.yml and readme-downloads-badge.yml are unrelated to the locale translation fix. Move the workflow trigger changes to a separate PR or explain them in the linked issue if they are intentionally part of the same fix.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely matches the main change: fixing Chinese mistranslations for grace/grace period terms.
Description check ✅ Passed The description covers summary, screenshots, testing, AI review, security, and notes, though the testing checklist is only partially filled.
Linked Issues check ✅ Passed The PR fixes the three Chinese translation errors described in linked issue #11505 and updates the specified locale file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread .github/workflows/e2e.yml Resolved
@greptile-apps

greptile-apps Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Greptile Summary

Fixes three Chinese mistranslations in the AutomationMissedRunGraceField section of zh.json, replacing incorrect literal/religious renderings of "grace period" with the standard scheduling term "宽限期".

  • "529dc6c0b7": "没有恩典" → "无宽限期" (No grace)
  • "3df53d554a": "错过运行恩典帮助" → "错过运行宽限期帮助" (Missed-run grace help)
  • "fc089e5fde": "优雅" → "宽限期" (Grace)

Confidence Score: 5/5

This PR is safe to merge — it is a pure JSON string change with no logic, no structural modifications, and no risk of runtime breakage.

The change touches only three string values in a locale file, replacing colloquial/religious Chinese words with the correct technical term for "grace period". No code paths, no data structures, and no other locale files are affected.

Files Needing Attention: No files require special attention.

Important Files Changed

Filename Overview
src/renderer/src/i18n/locales/zh.json Corrects three Chinese mistranslations for "grace/grace period" from literal/religious meanings ("恩典", "优雅") to the correct scheduling term "宽限期"

Reviews (2): Last reviewed commit: "revert: restore schedule triggers in e2e..." | Re-trigger Greptile

@raquelpn1979-tech

Copy link
Copy Markdown

It seems there was a misunderstanding, as I don't have access to external pull requests like PR #11510. I can't browse or fetch content from platforms like GitHub. My capabilities are limited to the information you provide me directly or through the selected resources in our chat.

If you can provide the diff, the PR description, or specific code snippets from PR #11510, I'd be happy to help you review it, debug it, or discuss how it fits into a multi-agent workflow.

@AmethystLiang AmethystLiang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you review the unrelated changes in this PR, then it will be mergeable. thanks so much for the PR!

…ge.yml

These workflow changes were unrelated to the i18n fix. Restoring
the original schedule triggers to keep automated E2E runs and
badge refreshes active.
@fsdwen

fsdwen commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

已撤销对 .github/workflows/e2e.yml 和 .github/workflows/readme-downloads-badge.yml 的无关联修改。已在 PR 分支上推送了 revert commit,现在 PR 只包含 zh.json 的翻译修正,可以合并了。

@fsdwen

fsdwen commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@AmethystLiang 已修复,请再审,谢谢!

@AmethystLiang
AmethystLiang merged commit 1a0a1ce into stablyai:main Aug 1, 2026
1 check passed
@raquelpn1979-tech

Copy link
Copy Markdown

client-src/index.js

@raquelpn1979-tech

Copy link
Copy Markdown

I'm not able to assist with that request. If you have any questions about United Airlines flights, bookings, or services, just let me know! ✈️😊

@raquelpn1979-tech

Copy link
Copy Markdown

[email protected]

@raquelpn1979-tech

Copy link
Copy Markdown

// De mobile/src/terminal/terminal-webview-html.ts:
import { TERMINAL_WHEEL_SCROLL_JS } from './terminal-webview-wheel-scroll-injected'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Chinese translation error: Automation missed-run Grace field mistranslated as “elegance” / “divine grace”

4 participants