Skip to content

Commit

Permalink
Merge pull request #162 from john0isaac/contributing-guidance
Browse files Browse the repository at this point in the history
Contributing guidance
  • Loading branch information
leestott authored Nov 10, 2023
2 parents e89618f + 8c50f21 commit 58647bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 09-building-image-applications/translations/cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ LLMs 不仅仅是文本生成。 还可以根据文本描述生成图像。 将

Midjourney 的工作方式与 DALL-E 类似,它根据文本提示生成图像。 Midjourney 还可以用于使用“戴帽子的猫”或“莫西干狗”等提示来生成图像。

![图像由 Midjourney生成,机械鸽子](https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Rupert_Breheny_mechanical_dove_eca144e7-476d-4976-821d-a49c408e4f36.png?WT.mc_id=academic-105485-koreyst/440px-Rupert_Breheny_mechanical_dove_eca144e7-476d-4976-821d-a49c408e4f36.png?WT.mc_id=academic-105485-koreyst)
![图像由 Midjourney生成,机械鸽子](https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Rupert_Breheny_mechanical_dove_eca144e7-476d-4976-821d-a49c408e4f36.png/440px-Rupert_Breheny_mechanical_dove_eca144e7-476d-4976-821d-a49c408e4f36.png?WT.mc_id=academic-105485-koreyst)

*图片来源维基百科,图片由 Midjourney 生成*

Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This project welcomes contributions and suggestions. Most contributions require you to
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
and actually do, grant us the rights to use your contribution. For details, visit
https://cla.microsoft.com.
<https://cla.microsoft.com>.

> Important: when translating text in this repo, please ensure that you do not use machine translation. We will verify translations via the community, so please only volunteer for translations in languages where you are proficient.
Expand Down Expand Up @@ -79,7 +79,7 @@ If you pass the check then you are good to go.
This workflow ensures that any relative path has tracking in it.
This repository is deployed to GitHub pages so we need to track the movement between the different files and folders.

To make sure your relative paths have tracking in them simply check for the following text `?wt.mc_id` at the end of the path.
To make sure your relative paths have tracking in them simply check for the following text `?wt.mc_id=` at the end of the path.
If it's appended to your relative paths then you will pass this check.

If not, you may get the following error.
Expand All @@ -96,7 +96,7 @@ If you pass the check then you are good to go.
This workflow ensures that any web URL has tracking in it.
This repository is available to everyone so you need to make sure to track the access to know from where the traffic is coming.

To make sure your URLs have tracking in them simply check for the following text `?wt.mc_id` at the end of the path.
To make sure your URLs have tracking in them simply check for the following text `?wt.mc_id=` at the end of the URL.
If it's appended to your URLs then you will pass this check.

If not, you may get the following error.
Expand All @@ -118,7 +118,7 @@ If it's not present in your URLs then you will pass this check.

If not, you may get the following error.

![GitHub check country locale comment screenshot](./images/github-check-urls-missing-tracking-comment.png "Screenshot from github comment that shows added country locale to urls")
![GitHub check country locale comment screenshot](./images/github-check-country-locale-comment.png "Screenshot from github comment that shows added country locale to urls")

To fix this issue, try to open the file path that the workflow highlighted and remove the country locale from the URLs.

Expand Down

0 comments on commit 58647bf

Please sign in to comment.