Docs i18n: tune zh-CN prompt + glossary

What: enforce zh-CN tone (你/你的), Skills/local loopback/Tailscale terms, Gateway网关
Why: keep future translation output consistent with issue feedback
Tests: not run (prompt/glossary change)
This commit is contained in:
Josh Palmer
2026-02-02 15:46:40 +01:00
parent 673583a38b
commit 2b1f68c928
2 changed files with 59 additions and 4 deletions

View File

@@ -5,12 +5,60 @@
},
{
"source": "Gateway",
"target": "Gateway"
"target": "Gateway网关"
},
{
"source": "Pi",
"target": "Pi"
},
{
"source": "Skills",
"target": "Skills"
},
{
"source": "Skills config",
"target": "Skills配置"
},
{
"source": "Skills Config",
"target": "Skills配置"
},
{
"source": "local loopback",
"target": "local loopback"
},
{
"source": "Tailscale",
"target": "Tailscale"
},
{
"source": "Getting Started",
"target": "入门指南"
},
{
"source": "Getting started",
"target": "入门指南"
},
{
"source": "DMs",
"target": "私信"
},
{
"source": "DM",
"target": "私信"
},
{
"source": "sandboxed",
"target": "沙箱隔离"
},
{
"source": "Sandboxed",
"target": "沙箱隔离"
},
{
"source": "Auth: where it lives (important)",
"target": "凭证:存储位置(重要)"
},
{
"source": "agent",
"target": "智能体"
@@ -45,7 +93,7 @@
},
{
"source": "get unstuck",
"target": "快速排障"
"target": "解决问题"
},
{
"source": "troubleshooting",
@@ -57,7 +105,11 @@
},
{
"source": "onboarding",
"target": "手引导"
"target": "手引导"
},
{
"source": "Onboarding",
"target": "新手引导"
},
{
"source": "wizard",

View File

@@ -266,7 +266,10 @@ Rules:
- Preserve placeholders exactly: __OC_I18N_####__.
- Do not remove, reorder, or summarize content.
- Use fluent, idiomatic technical Chinese; avoid slang or jokes.
- Keep product names in English: OpenClaw, Gateway, Pi, WhatsApp, Telegram, Discord, iMessage, Slack, Microsoft Teams, Google Chat, Signal.
- Use neutral documentation tone; prefer “你/你的”, avoid “您/您的”.
- Keep product names in English: OpenClaw, Pi, WhatsApp, Telegram, Discord, iMessage, Slack, Microsoft Teams, Google Chat, Signal.
- For the OpenClaw Gateway, use “Gateway网关”.
- Keep these terms in English: Skills, local loopback, Tailscale.
- Never output an empty response; if unsure, return the source text unchanged.
%s