Skip to content

Commit 6112df5

Browse files
committed
see #12: translation of contributing and community
1 parent 407148c commit 6112df5

10 files changed

+74
-40
lines changed

COMMUNITY.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 交流
2+
3+
本书有以下读者交流群,有兴趣的读者可以加入,加群需正确回答加群密码:
4+
5+
![](qq-group.png)
6+
7+
> 提示: `bW9kZXJuLWNwcC10dXRvcmlhbC1naXRodWI=`
8+
9+
# Community
10+
11+
The book offers a telegram chat group, feel free to join if you are interested:
12+
13+
[![](https://img.shields.io/badge/chat-telegram-blue.svg?style=popout-square&logo=telegram)](https://t.me/joinchat/FEeulBM5OVYzuDI4phQ9Mg)

CONTRIBUTING.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# 如何参与贡献
22

3-
[![](https://img.shields.io/badge/chat-%E4%BA%A4%E6%B5%81-667ed5.svg)](./assets/community.md)
4-
53
## 提交 Issue
64

75
『C++ 11/14/17/20』的 issue 用于追踪书中存在的原则性的描述错误、存在的 `typo` 错误,以及向本书作者提问等。
@@ -38,3 +36,36 @@
3836
- [ ] 只改动原书正文 `book` 下的部分内容,不涉及代码片段的修改,则无需进行修改
3937
- [ ] 如果同时还改动了正文中的代码片段,则需要同步 `code` 文件夹下对应的代码片段
4038
- [ ] 如果改动还涉及习题的设计,则需要同步 `exercises` 文件夹下的内容
39+
40+
# How to contribute
41+
42+
## Submit Issue
43+
44+
C++ 11/14/17 issue is used to track the principle description error, `typo` error, and the questions to the author of the book.
45+
46+
- Usually, you may encounter typos, semantic errors, grammatical errors, and etc. These are all `typo` errors. If an error has caused some obstacles to your reading and you strongly believe that the `typo` will also affect others reading. Then you are very welcome to [submit issue](https://github.com/changkun/modern-cpp-tutorial/issues) to report the `typo` error.
47+
48+
- Do not hasitate to submit a principle error because it prevent wrong knowledge being propagation.
49+
Report the error immediately by [submitting issue](https://github.com/changkun/modern-cpp-tutorial/issues) to avoid the spread of wrong knowledge.
50+
51+
- If you found some part of the book is confusing, you are very welcome to [submit an issue](https://github.com/changkun/modern-cpp-tutorial/issues) for asking questions.
52+
53+
- The book cannot cover the entire C++ of course, however, you are very welcome to [submit an issue](https://github.com/changkun/modern-cpp-tutorial/issues) for a suggestion if you found some important feature is missing in the book.
54+
55+
## Pull Request
56+
57+
"C++ 11/14/17 On the Fly" is open source so that everyone can contribute to contribute to PR. However, it is required read the following instructions carefully before submitting your pull request:
58+
59+
- Before you submit your pull request, make sure that the [issue list](https://github.com/changkun/modern-cpp-tutorial/issues) already contains the problem you want to solve. If not, please refer to the **Submit Issue** section.
60+
61+
- Make sure your PR has improved the `typo` error of more than 50 words, otherwise please do not submit a PR.
62+
63+
- For a PR that fixes principled errors, please don't hesitate, all readers of the book are very grateful for your contribution!
64+
65+
- If you would like to be a co-author of this book, please send an email to ask: `hi at changkun dot us`.
66+
67+
Since this repository provides a variety of reading approaches, thus make sure you have checked all items in the following checklist:
68+
69+
- [ ] If you only making changes to the main part of the book (i.e. the `book` folder), and no changes to the code snippet, then you are good to go;
70+
- [ ] If you also change the code snippet in the main body of the book, then you need to synchronize the corresponding code snippet in the `code` folder;
71+
- [ ] If you changes also involve the exercises, you also need to synchronize the contents of the `exercises` folder.

DONATE.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: 资助
3+
type: about
4+
order: 1
5+
---
6+
7+
# 资助
8+
9+
如果你认为本书对你起到了帮助,并希望赞助作者,可以通过下面的二维码给予支持:
10+
11+
|微信|支付宝|
12+
|:--:|:--:|
13+
|![](../assets/wechat.jpg) | ![](../assets/alipay.jpg)|
14+
15+
# Donate
16+
17+
I would love if you support me to make the book better:
18+
19+
[![](https://img.shields.io/badge/donate-PayPal-104098.svg?style=popout-square&logo=PayPal)](https://www.paypal.me/ouchangkun/4.99eur)

README-en-us.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<img src="assets/cover-2nd-en.png" alt="logo" height="600" align="right" />
1+
<img src="assets/cover-2nd-en.png" alt="logo" height="550" align="right" />
22

33
# C++11/14/17/20 On the Fly
44

5-
![](https://img.shields.io/badge/version-v2-green.svg) [![](https://img.shields.io/badge/language-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg)](./README.md) [![](https://img.shields.io/badge/language-English-blue.svg)](./README-en-us.md) [![](https://img.shields.io/badge/$-donate-ff69b4.svg)](./assets/donate.md) [![](https://img.shields.io/badge/chat-community-667ed5.svg)](./assets/community.md)
5+
[![](https://img.shields.io/badge/language-简体中文-red.svg?style=flat-square)](./README.md) [![](https://img.shields.io/badge/language-English-blue.svg?style=flat-square)](./README-en-us.md) [![](https://img.shields.io/badge/-donate-ff69b4.svg?style=flat-square)](./DONATE.md) [![](https://img.shields.io/badge/chat-community-667ed5.svg?style=flat-square)](./COMMUNITY.md)
66

77
## Purpose
88

@@ -16,7 +16,7 @@ In addition, The author would like to encourage that readers should be able to u
1616

1717
## Targets
1818

19-
- This book assumes that readers are already familiar with traditional C++ (e.g. C++98), at least they do not have any difficulty in reading traditional C++ code. In other words, those who have long experience in traditional C++ and people who desire to quickly understand the features of modern C++ in a short period of time are well suited to read the book;
19+
- This book assumes that readers are already familiar with traditional C++ (i.e. C++98 or earlier), at least they do not have any difficulty in reading traditional C++ code. In other words, those who have long experience in traditional C++ and people who desire to quickly understand the features of modern C++ in a short period of time are well suited to read the book;
2020

2121
- This book introduces to a certain extent of the dark magic of modern C++. However, these magics are very limited, they are not suitable for readers who want to learn advanced C++. The purpose of this book is offering a quick start for modern C++. Of course, advanced readers can also use this book to review and examine themselves on modern C++.
2222

@@ -42,9 +42,11 @@ The source code of the [website](https://changkun.de/modern-cpp) of this book ca
4242

4343
## Acknowledgements
4444

45-
This book is originally written in Chinese.
45+
This book was originally written in Chinese by [Changkun Ou](https://changkun.de).
4646

47-
The author has limited time and language skills. If readers find any mistakes of the book or any language improvements, please feel free to open an [Issue](https://github.com/changkun/modern-cpp-tutorial/issues) or start a [Pull request](https://github.com/changkun/modern-cpp-tutorial/pulls).
47+
The author has limited time and language skills. If readers find any mistakes of the book or any language improvements, please feel free to open an [Issue](https://github.com/changkun/modern-cpp-tutorial/issues) or start a [Pull request](https://github.com/changkun/modern-cpp-tutorial/pulls). For detailed guidelines and checklist, please refer to [How to contribute](CONTRIBUTING.md).
48+
49+
The author would be grateful to all contributors, including but not limited to [Contributors](https://github.com/changkun/modern-cpp-tutorial/graphs/contributors).
4850

4951
## Licenses
5052

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
# 《高速上手 C++11/14/17/20》
44

5-
[![](https://img.shields.io/badge/language-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg)](./README.md) [![](https://img.shields.io/badge/language-English-blue.svg)](./README-en-us.md)
6-
[![](https://img.shields.io/badge/%C2%A5-%E8%B5%9E%E5%8A%A9-ff69b4.svg)](./assets/donate.md)
5+
[![](https://img.shields.io/badge/language-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-red.svg?style=flat-square)](./README.md) [![](https://img.shields.io/badge/language-English-blue.svg?style=flat-square)](./README-en-us.md) [![](https://img.shields.io/badge/%C2%A5-%E8%B5%9E%E5%8A%A9-ff69b4.svg?style=flat-square)](./DONATE.md) [![](https://img.shields.io/badge/%E4%BA%A4%E6%B5%81-%E7%A4%BE%E5%8C%BA-667ed5.svg?style=flat-square)](./COMMUNITY.md)
76

87
## 本书目的
98

assets/community-international.md

-5
This file was deleted.

assets/community.md

-7
This file was deleted.

assets/donate-international.md

-5
This file was deleted.

assets/donate.md

-13
This file was deleted.

website/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ all: clean
44
cp ../assets/cover-2nd.png ./src/modern-cpp/assets/cover-2nd.png
55
cp ../assets/alipay.jpg ./src/modern-cpp/assets/alipay.jpg
66
cp ../assets/wechat.jpg ./src/modern-cpp/assets/wechat.jpg
7-
cp ../assets/donate.md ./src/modern-cpp/about/
7+
cp ../DONATE.md ./src/modern-cpp/about/
88
cp -r ../assets/figures ./src/modern-cpp/assets/figures
99
cp -r ../exercises ./src/modern-cpp/book/
1010
cp -r ../code ./src/modern-cpp/book/

0 commit comments

Comments
 (0)