Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(zh-cn): add rule to disallow '您' #15536

Merged
merged 4 commits into from
Aug 31, 2023
Merged

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Aug 31, 2023

Description

add rule to disallow '您'

Motivation

We have added this rule in translation guide.

@yin1999 yin1999 requested a review from a team as a code owner August 31, 2023 02:41
@yin1999 yin1999 requested review from t7yang and removed request for a team August 31, 2023 02:41
@yin1999 yin1999 marked this pull request as draft August 31, 2023 02:41
@yin1999 yin1999 marked this pull request as ready for review August 31, 2023 02:50
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Aug 31, 2023
@yin1999
Copy link
Member Author

yin1999 commented Aug 31, 2023

As we could be noted in vs code when we use "您" in text with markdown-lint extension installed. So I'm for adding replace field in the rule:

image

},
{
"name": "force-pronoun",
"message": "Don't use '您'",
Copy link
Contributor

Choose a reason for hiding this comment

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

What about

Consider using '你' instead of '您'

I'm not sure if message here should instruct user what to replace 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Should we also remove the replace field?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also remove the replace field?

Make sense 👍

@yin1999 yin1999 merged commit 56c32dd into mdn:main Aug 31, 2023
8 of 9 checks passed
@yin1999 yin1999 deleted the force-pronoun branch August 31, 2023 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants