From 08037e9880fd5ae1a70e3adb7ccece0cc0f85feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E8=8B=B1=E7=90=AA?= Date: Tue, 12 Apr 2022 02:15:45 +0800 Subject: [PATCH] add README.md & CONTRIBUTING.md translation into chinese version --- CONTRIBUTING.md | 34 ++++++++++++++++++------------- README.md | 54 +++++++++++++++++++++++++++++-------------------- 2 files changed, 52 insertions(+), 36 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b68a573..bc95f7a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,26 +1,32 @@ -# Contributing Guide +# 贡献指引 -Thank you for considering contributing to this repository! -Please note that by participating, you are expected to uphold the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). -## Adding an item to the gallery +非常感谢您考虑为这个项目做出贡献! -We have a [Gallery](gallery) of GitHub Copilot examples set up to show how it can be used. We hope that it's useful for newcomers to quickly level up and see some of the things it's capable of. Basic-to-advanced level examples in all supported languages are all welcome. +参与之前请注意,请您遵守并维护该准则 [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md) -To add a gallery example -* Simply create a sub-directory within the `gallery` directory named with the pattern `language-brief-description` and place the relevant content in there. E.g. [`ruby-twitter-api-example`](gallery/ruby-twitter-api-example). -* Create `README.md` file with details on what you're doing in the directory you created along with any code or supporting assets for your examples. +## 添加一个项目到gallery示例库 -* GIFs and videos are welcome, but please keep the file sizes small. +我们有一个GitHub Copilot的[Gallery](gallery) 示例库,展示它是如何应用。我们希望这能帮助新用户看到它的能力和快速掌握。欢迎所有受支持的编程语言的从入门到高级的各层级的示例。 -We'll highlight some of our favorites on the [README](gallery/README.md) and on [Twitter](https://twitter.com/github). +添加一个示例到gallery示例库 + +* 只需在`gallery`目录中创建一个子目录,目录使用如下命名格式`language-brief-description`,并将相关内容保存在该子目录里即可。例如 [`ruby-twitter-api-example`](gallery/ruby-twitter-api-example). +* 创建`README.md`文件,并请您详细描述该目录中的代码的目的或一些案例。 +* 您可以使用GIFs或者视频,但请务必保持偏小的文件容量 + +我们将在[README](gallery/README.md)和 [Twitter](https://twitter.com/github)上突出介绍一些我们最喜欢的内容 + +## 规范 + +* 请保持内容适合公众浏览 +* //Please avoid conflicts of interest - such as self-promotion of your product, library, etc. +* 请避免利益冲突,例如营销推广您的产品、库等。 + +如果GitHub Copilot能够让您感到惊讶或者为您节省了大量的时间,这将会是我们喜闻乐见的案例 ❤️ -## Guidelines -* Please keep it SFW. -* Please avoid conflicts of interest - such as self-promotion of your product, library, etc. -If GitHub Copilot blew your mind and/or saved you a ton of time, that's a great example of something we'd love to see ❤️ diff --git a/README.md b/README.md index b969f2d..6941813 100644 --- a/README.md +++ b/README.md @@ -2,48 +2,58 @@ GitHub Copilot Logo -Welcome to the GitHub Copilot user community! -In this repository, you can find documentation, walkthroughs, examples, and the latest resources you need to use GitHub Copilot. +欢迎来到 GitHub Copilot 用户社区! +在这个代码仓库,你将找到文档,实践,示例,和您需要使用 GitHub Copilot的最新资源。 -## Getting Started -To install GitHub Copilot, check out the Getting Started guides: + +## 开始使用 + +请按照以下工具列表,按需安装 GitHub Copilot: + - [Visual Studio Code](docs/visualstudiocode/gettingstarted.md#getting-started-with-github-copilot-in-visual-studio-code) - [Visual Studio](docs/visualstudio/gettingstarted.md#getting-started-with-github-copilot-in-visual-studio) - [JetBrains](docs/jetbrains/gettingstarted.md#getting-started-with-github-copilot-in-jetbrains) - [Neovim](https://github.com/github/copilot.vim#getting-started) -For a tour of GitHub Copilot, visit the homepage at [copilot.github.com](https://copilot.github.com). +想了解更多 GitHub Copilot,请访问我们的官网 [copilot.github.com](https://copilot.github.com)。 + + + +## 获得帮助 + +如果您有问题需要解决或想给予我们建议?请访问论坛[Feedback forum](https://github.com/github/feedback/discussions/categories/copilot-feedback),在那里您可以提问,报告Bug或者反馈建议,或者和其他用户讨论前景。 + +GitHub Copilot团队将尽可能多的回复,但我们也非常欢迎您来分享您的经验和帮助其他社区用户。 -## How to get help -Have a question, or want to provide feedback? Visit the [Feedback forum](https://github.com/github/feedback/discussions/categories/copilot-feedback) -to ask questions, share bugs or feedback, or chat with other users in the Preview. -The GitHub Copilot team will respond as often as possible, but we also welcome you to -share your experiences and help others in the community. -## Safety +## 安全 -We take safety seriously and are constantly working to improve GitHub Copilot. If you discover dangerous, biased, -or offensive output from GitHub Copilot, please report it privately to -[copilot-safety@github.com](mailto:copilot-safety@github.com). +我们认真对待安全并不断努力改进GitHub Copilot。如果你发现从GitHub Copilot发出有危险、有偏见或攻击性输出,请立刻私信[copilot-safety@github.com](mailto:copilot-safety@github.com). -## Useful links + + +## 链接 - [GitHub Copilot homepage](https://copilot.github.com) - [Gallery](gallery) - [Documentation](docs) - [Feedback forum](https://github.com/github/feedback/discussions/categories/copilot-feedback) -## Code of conduct -All users of GitHub Copilot are expected to comply with our -[Code of Conduct](CODE_OF_CONDUCT.md). -By participating in this repository, you are also agreeing to the same -[Terms of Service](https://help.github.com/articles/github-terms-of-service/) that you agree to when using GitHub.com. + +## 行为准则 + +所有GitHub Copilot的用户都应该遵守我们的行为准则[Code of Conduct](CODE_OF_CONDUCT.md)。 + +参与本代码库,意味着您同意和使用与GitHub.com相同的服务条款[Terms of Service](https://help.github.com/articles/github-terms-of-service/) + + ## License -Content in this repository is released under [CC-BY-4.0](LICENSE.txt). -When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos). +本代码库所有内容遵循 [CC-BY-4.0](LICENSE.txt) 发布。 + +当使用GitHub logos,请务必确认遵守[GitHub logo guidelines](https://github.com/logos)。