forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New translation batch for cn (github#25638)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/lint-translation-files.js --check parsing * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn * run script/i18n/reset-known-broken-translation-files.js * Check in cn CSV report Co-authored-by: Rachael Sewell <[email protected]>
- Loading branch information
Showing
115 changed files
with
1,183 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 为什么我的贡献没有在我的个人资料中显示? | ||
title: Why are my contributions not showing up on my profile? | ||
intro: Learn common reasons that contributions may be missing from your contributions graph. | ||
redirect_from: | ||
- /articles/why-are-my-contributions-not-showing-up-on-my-profile | ||
|
@@ -17,43 +17,43 @@ shortTitle: Missing contributions | |
|
||
## About your contribution graph | ||
|
||
Your profile contributions graph is a record of contributions you've made to repositories {% ifversion ghae %}owned by{% else %}on{% endif %} {% data variables.product.product_location %}. 贡献按照协调世界时 (UTC) 而不是您当地的时区加时间戳。 只有在满足特定标准时才会计算贡献。 在某些情况下,我们可能需要重建您的图表才能显示贡献。 | ||
Your profile contributions graph is a record of contributions you've made to repositories {% ifversion ghae %}owned by{% else %}on{% endif %} {% data variables.product.product_location %}. Contributions are timestamped according to Coordinated Universal Time (UTC) rather than your local time zone. Contributions are only counted if they meet certain criteria. In some cases, we may need to rebuild your graph in order for contributions to appear. | ||
|
||
## 计算的贡献 | ||
## Contributions that are counted | ||
|
||
### 议题、拉取请求和讨论 | ||
### Issues, pull requests and discussions | ||
|
||
如果议题、拉取请求和讨论在独立的仓库而不是复刻中打开,它们将在您的贡献图中显示。 | ||
Issues, pull requests and discussions will appear on your contribution graph if they were opened in a standalone repository, not a fork. | ||
|
||
### 提交 | ||
如果提交符合以下**所有**条件,则会在您的贡献图中显示: | ||
### Commits | ||
Commits will appear on your contributions graph if they meet **all** of the following conditions: | ||
- The email address used for the commits is associated with your account on {% data variables.product.product_location %}. | ||
- 提交在独立的仓库而不是复刻中进行。 | ||
- 提交在以下位置进行: | ||
- 在仓库的默认分支中 | ||
- 在 `gh-pages` 分支中(对于包含项目站点的仓库) | ||
- The commits were made in a standalone repository, not a fork. | ||
- The commits were made: | ||
- In the repository's default branch | ||
- In the `gh-pages` branch (for repositories with project sites) | ||
|
||
有关项目网站的更多信息,请参阅“[关于 {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)”。 | ||
For more information on project sites, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)." | ||
|
||
此外,必须**至少**满足以下条件之一: | ||
- 您是仓库中的协作者,或者是拥有该仓库的组织的成员。 | ||
- 您已复刻该仓库。 | ||
- 您已打开仓库中的拉取请求或议题。 | ||
- 您已为仓库加星标。 | ||
In addition, **at least one** of the following must be true: | ||
- You are a collaborator on the repository or are a member of the organization that owns the repository. | ||
- You have forked the repository. | ||
- You have opened a pull request or issue in the repository. | ||
- You have starred the repository. | ||
|
||
## 贡献未计算的常见原因 | ||
## Common reasons that contributions are not counted | ||
|
||
{% data reusables.pull_requests.pull_request_merges_and_contributions %} | ||
|
||
### 24 小时内进行的提交 | ||
### Commit was made less than 24 hours ago | ||
|
||
进行满足计为贡献要求的提交后,您可能需要等待最长 24 小时才能看到在贡献图中显示的贡献。 | ||
After making a commit that meets the requirements to count as a contribution, you may need to wait for up to 24 hours to see the contribution appear on your contributions graph. | ||
|
||
### 您的本地 Git 提交电子邮件地址未连接到您的帐户 | ||
### Your local Git commit email isn't connected to your account | ||
|
||
Commits must be made with an email address that is connected to your account on {% data variables.product.product_location %}{% ifversion fpt or ghec %}, or the {% data variables.product.prodname_dotcom %}-provided `noreply` email address provided to you in your email settings,{% endif %} in order to appear on your contributions graph.{% ifversion fpt or ghec %} For more information about `noreply` email addresses, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#about-commit-email-addresses)."{% endif %} | ||
|
||
您可以通过将 `.patch` 添加到提交 URL 结尾来检查用于提交的电子邮件地址,例如 <a href="https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch" data-proofer-ignore>https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch</a>: | ||
You can check the email address used for a commit by adding `.patch` to the end of a commit URL, e.g. <a href="https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch" data-proofer-ignore>https://github.com/octocat/octocat.github.io/commit/67c0afc1da354d8571f51b6f0af8f2794117fd10.patch</a>: | ||
|
||
``` | ||
From 67c0afc1da354d8571f51b6f0af8f2794117fd10 Mon Sep 17 00:00:00 2001 | ||
|
@@ -62,37 +62,37 @@ Date: Sun, 27 Apr 2014 15:36:39 +0530 | |
Subject: [PATCH] updated index for better welcome message | ||
``` | ||
|
||
`From:` 字段中的电子邮件地址是在[本地 git 配置设置](/articles/set-up-git)中设置的地址。 在本例中,用于提交的电子邮件地址是 `[email protected]`。 | ||
The email address in the `From:` field is the address that was set in the [local git config settings](/articles/set-up-git). In this example, the email address used for the commit is `[email protected]`. | ||
|
||
If the email address used for the commit is not connected to your account on {% data variables.product.product_location %}, {% ifversion ghae %}change the email address used to author commits in Git. For more information, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git)."{% else %}you must [add the email address](/articles/adding-an-email-address-to-your-github-account) to your account on {% data variables.product.product_location %}. 您的贡献图将在添加新地址后自动重建。{% endif %} | ||
If the email address used for the commit is not connected to your account on {% data variables.product.product_location %}, {% ifversion ghae %}change the email address used to author commits in Git. For more information, see "[Setting your commit email address](/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address#setting-your-commit-email-address-in-git)."{% else %}you must [add the email address](/articles/adding-an-email-address-to-your-github-account) to your account on {% data variables.product.product_location %}. Your contributions graph will be rebuilt automatically when you add the new address.{% endif %} | ||
|
||
{% warning %} | ||
|
||
**Warning**: Generic email addresses, such as `[email protected]`, cannot be added to {% data variables.product.prodname_dotcom %} accounts. If you use such an email for your commits, the commits will not be linked to your {% data variables.product.prodname_dotcom %} profile and will not show up in your contribution graph. | ||
|
||
{% endwarning %} | ||
|
||
### 提交没有在默认或 `gh-pages` 分支中进行 | ||
### Commit was not made in the default or `gh-pages` branch | ||
|
||
仅发生在默认分支或 `gh-pages` 分支(对于包含项目站点的仓库)中的提交才会计入。 更多信息请参阅“[关于 {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)”。 | ||
Commits are only counted if they are made in the default branch or the `gh-pages` branch (for repositories with project sites). For more information, see "[About {% data variables.product.prodname_pages %}](/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites)." | ||
|
||
如果您的提交位于非默认或非 `gh-pages` 分支中,并且您希望将其计入您的贡献,则需要执行以下操作之一: | ||
- [打开拉取请求](/articles/creating-a-pull-request)以将您的更改合并到默认分支或 `gh-pages` 分支。 | ||
- [更改仓库的默认分支](/github/administering-a-repository/changing-the-default-branch)。 | ||
If your commits are in a non-default or non-`gh-pages` branch and you'd like them to count toward your contributions, you will need to do one of the following: | ||
- [Open a pull request](/articles/creating-a-pull-request) to have your changes merged into the default branch or the `gh-pages` branch. | ||
- [Change the default branch](/github/administering-a-repository/changing-the-default-branch) of the repository. | ||
|
||
{% warning %} | ||
|
||
**Warning**: Changing the default branch of the repository will change it for all repository collaborators. 仅当您希望新分支成为进行所有未来拉取请求和提交的基础时才执行此操作。 | ||
**Warning**: Changing the default branch of the repository will change it for all repository collaborators. Only do this if you want the new branch to become the base against which all future pull requests and commits will be made. | ||
|
||
{% endwarning %} | ||
|
||
### 提交在复刻中进行 | ||
### Commit was made in a fork | ||
|
||
在复刻中进行的提交不会计入您的贡献。 要将其计入,您必须执行以下操作之一: | ||
- [打开拉取请求](/articles/creating-a-pull-request)以将您的更改合并到父仓库。 | ||
- To detach the fork and turn it into a standalone repository on {% data variables.product.product_location %}, contact {% data variables.contact.contact_support %}. If the fork has forks of its own, let {% data variables.contact.contact_support %} know if the forks should move with your repository into a new network or remain in the current network. 更多信息请参阅“[关于复刻](/articles/about-forks/)”。 | ||
Commits made in a fork will not count toward your contributions. To make them count, you must do one of the following: | ||
- [Open a pull request](/articles/creating-a-pull-request) to have your changes merged into the parent repository. | ||
- To detach the fork and turn it into a standalone repository on {% data variables.product.product_location %}, contact {% data variables.contact.contact_support %}. If the fork has forks of its own, let {% data variables.contact.contact_support %} know if the forks should move with your repository into a new network or remain in the current network. For more information, see "[About forks](/articles/about-forks/)." | ||
|
||
## 延伸阅读 | ||
## Further reading | ||
|
||
- "[在个人资料中公开或隐藏私有贡献](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile)" | ||
- "[在个人资料页面中查看贡献](/articles/viewing-contributions-on-your-profile-page)" | ||
- "[Publicizing or hiding your private contributions on your profile](/articles/publicizing-or-hiding-your-private-contributions-on-your-profile)" | ||
- "[Viewing contributions on your profile page](/articles/viewing-contributions-on-your-profile-page)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.