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

autoconf, pr: add Chinese translation #15106

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

yuyuasm
Copy link

@yuyuasm yuyuasm commented Dec 9, 2024

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page(s) have at most 8 examples.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):

@CLAassistant
Copy link

CLAassistant commented Dec 9, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ sebastiaanspeck
❌ yuyu


yuyu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions bot added the translation Issues requesting translating pages from English to other languages. label Dec 9, 2024
@blueskyson blueskyson changed the title jadd zh pr.md, 增加中文 pr.md autoconf, pr: add Chinese translation Dec 10, 2024
Copy link
Member

@blueskyson blueskyson left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. I left some suggestions. Please sign the Contributor License Agreement so we can approve and merge the code.

# 自动配置

> 生成配置脚本,自动配置软件源码包。
> 更多信息:<https://www.gnu.org/software/autoconf>。
Copy link
Member

Choose a reason for hiding this comment

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

Using Latin period is a mandatory rule for more info link. See: https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/more-info-link.md#zh

Suggested change
> 更多信息:<https://www.gnu.org/software/autoconf>
> 更多信息:<https://www.gnu.org/software/autoconf>.

# pr

> 对文件进行分页或分栏以便打印。
> 更多信息:<https://www.gnu.org/software/coreutils/pr>。
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
> 更多信息:<https://www.gnu.org/software/coreutils/pr>
> 更多信息:<https://www.gnu.org/software/coreutils/pr>.

`pr {{路径/到/文件1 路径/到/文件2 ...}}`

- 使用自定义居中标题打印:
`pr -h "{{header}}" {{path/to/file1 path/to/file2 ...}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`pr -h "{{header}}" {{path/to/file1 path/to/file2 ...}}`
`pr -h "{{标题}}" {{路径/到/文件1 路径/到/文件2 ...}}`


- 使用编号行和自定义日期格式打印:

`pr -n -D "{{format}}" {{path/to/file1 path/to/file2 ...}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`pr -n -D "{{format}}" {{path/to/file1 path/to/file2 ...}}`
`pr -n -D "{{格式}}" {{路径/到/文件1 路径/到/文件2 ...}}`


- 使用每行的偏移量和截断的自定义页面宽度进行打印:

`pr -o {{offset}} -W {{width}} {{path/to/file1 path/to/file2 ...}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`pr -o {{offset}} -W {{width}} {{path/to/file1 path/to/file2 ...}}`
`pr -o {{偏移量}} -W {{宽度}} {{路径/到/文件1 路径/到/文件2 ...}}`


- 打印,从第 2 页开始到第 5 页,具有给定的页面长度(包括页眉和页脚):

`pr +2:5 -l {{page_length}} {{路径/到/文件1 路径/到/文件2 ...}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`pr +2:5 -l {{page_length}} {{路径/到/文件1 路径/到/文件2 ...}}`
`pr +2:5 -l {{页面长度}} {{路径/到/文件1 路径/到/文件2 ...}}`

dozingli

This comment was marked as outdated.

Copy link
Contributor

@dozingli dozingli left a comment

Choose a reason for hiding this comment

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

I'm really sorry, this is my first time doing a review, and I misunderstood blueskyson's comment as an already effective commit. I made a mistake :(

I'll be more careful next time! :(

Copy link
Member

@einverne einverne left a comment

Choose a reason for hiding this comment

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

hi @yuyuasm Thanks for the translation, please fix the format suggested by @blueskyson , and the left looks good to me.

@tldr-pages tldr-pages deleted a comment from tldr-bot Dec 26, 2024
@@ -0,0 +1,16 @@
# 自动配置
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# 自动配置
# autoconf

@sebastiaanspeck sebastiaanspeck added the waiting Issues/PRs with Pending response by the author. label Dec 30, 2024
@github-actions github-actions bot added new translation PRs translating a page(s) from English to other languages. review needed Prioritized PRs marked for reviews from maintainers. and removed waiting Issues/PRs with Pending response by the author. labels Jan 5, 2025
@tldr-bot
Copy link

tldr-bot commented Jan 5, 2025

Hello! I've noticed something unusual when checking this PR:

Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits.

@tldr-bot
Copy link

tldr-bot commented Jan 5, 2025

The build for this PR failed with the following error(s):

pages.zh/common/autoconf.md:1: TLDR013 Title should be alphanumeric with dashes, underscores or spaces
pages.zh/common/pr.md:11: TLDR007 Example descriptions should be surrounded by empty lines
pages.zh/common/pr.md:28: TLDR008 File should contain no trailing whitespace

Please fix the error(s) and push again.

@sebastiaanspeck sebastiaanspeck added waiting Issues/PRs with Pending response by the author. and removed translation Issues requesting translating pages from English to other languages. labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new translation PRs translating a page(s) from English to other languages. review needed Prioritized PRs marked for reviews from maintainers. waiting Issues/PRs with Pending response by the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants