Skip to content

Commit

Permalink
chore(zh-cn): add rule to disallow '您' (#15536)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Aug 31, 2023
1 parent 97e8180 commit 56c32dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/zh-cn/translation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ Like this.

### 代名词

<!-- markdownlint-disable search-replace -->

我们无需将“you”翻译为“您”,在文档正文部分的翻译中,请统一使用“你”。

<!-- markdownlint-enable search-replace -->

### 复数形式

英文文档中,为了使语句的语法正确,会使用大量的复数形式。在中文翻译中,则无需保留这些复数的形式(未翻译的英文名词也同理)。
Expand Down
6 changes: 6 additions & 0 deletions files/zh-cn/.markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@
"searchPattern": "/\\]\\(https?:\\/\\/localhost:\\d+\\//g",
"replace": "](/",
"searchScope": "text"
},
{
"name": "force-pronoun",
"message": "Consider using '你' instead of '您'",
"searchPattern": "/您/g",
"searchScope": "text"
}
]
}
Expand Down

0 comments on commit 56c32dd

Please sign in to comment.