Skip to content

Commit ead2e36

Browse files
authored
Update prompt.txt
1 parent 0d05f1d commit ead2e36

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/prompt.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,17 @@ For document-relevant technical terms, ALWAYS use: **中文翻译(英文名词
4040
### 5. Process LANG_REPLACE Comments
4141
- Replace with Chinese version specified after `cn=`
4242
- Remove the comment block from output
43+
- **Note: This block provides the most specific instruction and takes precedence over the global URL translation rule below.**
4344

44-
### 6. Translate Regular Text
45+
### 6. Apply Global URL Translation
46+
- For all URLs in Markdown links `[]()`, image paths `![]()`, and plain text that are NOT governed by a `LANG_REPLACE` comment, apply the following global rule:
47+
- **Systematically replace the domain `databend.com` with `databend.cn`.**
48+
- Example: `https://docs.databend.com/user-guide/` becomes `https://docs.databend.cn/user-guide/`.
49+
50+
### 7. Translate Regular Text
4551
- Translate completely to Chinese
4652
- Apply technical term format to relevant terms
47-
- Preserve all Markdown structure, HTML tags, links, line breaks
53+
- Preserve all Markdown structure, HTML tags, links, and line breaks.
4854

4955
## Mandatory Term Translations
5056

0 commit comments

Comments
 (0)