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

update the Chinese translation based on the latest English version #14924

Merged
merged 42 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
716da67
fix document preview command's directory parameter missing problem on…
epiciskandar Oct 22, 2021
b33d719
replace "code of conduct" link to the updated one
epiciskandar Oct 23, 2021
cc96cb2
retranslate zh-cn documentations based on the latest english version
epiciskandar Oct 23, 2021
419a4b8
document update
epiciskandar Oct 29, 2021
71ce921
fix document.
epiciskandar Nov 10, 2021
e8125db
document translate: zh-ch
epiciskandar Nov 10, 2021
69b7f37
Apply grammar suggestions
epiciskandar Dec 12, 2021
c998dd2
Apply suggestions from code review
epiciskandar Dec 12, 2021
46e00a8
Update docs/zh-cn/cli.md
epiciskandar Dec 21, 2021
5da0cee
Apply suggestions from code review
epiciskandar Dec 21, 2021
09234d2
retranslate zh-cn documentations based on the latest english version
epiciskandar Oct 23, 2021
eea1da6
fix typo
epiciskandar Dec 20, 2021
ba1c85b
add tagging to all files; add zh_cn_doc_status.sh, copied from the Ja…
peepeetee Jan 4, 2022
b1e86d1
zh-cn document translate
epiciskandar Jan 7, 2022
09b496f
zh-cn document translation
epiciskandar Jan 7, 2022
7f414b9
Update docs/zh-cn/cli.md
epiciskandar Jan 8, 2022
40fca81
[Docs] rearrange pnputil parameter instruction information.
epiciskandar Jan 8, 2022
3b3270a
[Docs] zh-cn doc: follow update
epiciskandar Jan 8, 2022
3338163
[Docs] zh-cn doc: link fix
epiciskandar Jan 8, 2022
19b8af1
Update docs/zh-cn/newbs_getting_started.md
epiciskandar Jan 8, 2022
cd8341b
[Docs] zh-cn doc: update
epiciskandar Jan 8, 2022
82ffa94
[Docs] zh-cn doc:
epiciskandar Jan 8, 2022
4e39648
[Docs] zh-cn doc: update tag mark
epiciskandar Jan 8, 2022
2f071ca
[Docs] zh-cn doc: update tag mark
epiciskandar Jan 8, 2022
cb2a5e4
[Docs] zh-cn document tranlate
epiciskandar Jan 8, 2022
7e9d1e9
[Docs] zh-cn: remove obsolete files
epiciskandar Jan 8, 2022
64b2f3f
[Docs] zh-cn documentation translate
epiciskandar Jan 8, 2022
288a8a1
[Docs] zh-cn document translate
epiciskandar Jan 8, 2022
74a8da7
[Docs] remove obsoleted 'pnputil' legacy parameter information
epiciskandar Jan 8, 2022
83b4839
[Docs] zh-cn document: link prefix fix
epiciskandar Jan 9, 2022
577bfc4
[Docs] zh-cn document: remove table indent
epiciskandar Jan 9, 2022
03c7051
[Docs] zh-cn document: update tag
epiciskandar Jan 9, 2022
4dc759a
[Docs] zh-cn document: update tag
epiciskandar Jan 9, 2022
7937e1d
[Docs] zh-cn document: fix in-page link id missing
epiciskandar Jan 9, 2022
250d38c
Update docs/zh-cn/getting_started_github.md
epiciskandar Jan 9, 2022
0245035
[Docs] zh-cn: translate fix
epiciskandar Jan 14, 2022
4c45f56
[Docs] zh-cn: fix configurator diagram SVG links error
epiciskandar Jan 14, 2022
84ee8df
[Docs] zh-cn document translate: minor fixes
epiciskandar Jan 16, 2022
34ed278
change all mentions of 0.15.12 to 0.14.23
peepeetee Jan 16, 2022
9e16161
Merge pull request #3 from peepeetee/14924-pr2
epiciskandar Jan 16, 2022
3a84d75
Chamge all mentions of 0.14.23 to 0.15.12
peepeetee Jan 16, 2022
58712df
Merge pull request #5 from peepeetee/14924-pr-5
epiciskandar Jan 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Docs] zh-cn doc:
* remove old-dated newbs page
* update testing_debugging
  • Loading branch information
epiciskandar committed Jan 8, 2022
commit 82ffa94125ed5c054e99ed773bc50df69adec9c9
168 changes: 0 additions & 168 deletions docs/zh-cn/newbs_best_practices.md

This file was deleted.

47 changes: 5 additions & 42 deletions docs/zh-cn/newbs_testing_debugging.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,14 @@
# 测试和调试

<!---
original document: 0.14.23:docs/newbs_testing_debugging.md
git diff 0.14.23 HEAD -- docs/newbs_testing_debugging.md | cat
original document: 0.15.12:docs/newbs_testing_debugging.md
git diff 0.15.12 HEAD -- docs/newbs_testing_debugging.md | cat
-->

使用自定义固件刷新键盘后,您就可以测试它了。如果您幸运,一切都会完美运行,但如果没有,这份文件将帮助您找出问题所在。

## 测试

测试键盘通常非常简单。按下每一个键并确保它发送的是您期望的键。甚至有一些程序可以帮助您确保没有任何键失效。

注意:这些程序不是由QMK提供或认可的。

* [QMK Configurator](https://config.qmk.fm/#/test/) (网页版)
* [Switch Hitter](https://web.archive.org/web/20190413233743/https://elitekeyboards.com/switchhitter.php) (仅Windows)
* [Keyboard Viewer](https://www.imore.com/how-use-keyboard-viewer-your-mac) (仅Mac)
* [Keyboard Tester](https://www.keyboardtester.com) (网页版)
* [Keyboard Checker](https://keyboardchecker.com) (网页版)

## 使用QMK工具箱进行调试

[QMK工具箱](https://github.com/qmk/qmk_toolbox) 将会在你的`rules.mk`中有`CONSOLE_ENABLE = yes`的时候显示你键盘发来的消息。 默认情况下,输出极为有限,不过您可以打开调试模式来增加输出信息量。使用你键盘布局中的`DEBUG`键码,使用 [命令](feature_command.md) 特性来使能调试模式, 或者向你的布局中添加以下代码。

```c
void keyboard_post_init_user(void) {
// Customise these values to desired behaviour
debug_enable=true;
debug_matrix=true;
//debug_keyboard=true;
//debug_mouse=true;
}
```

<!-- 需要修改之处:这里要添加调试回显。 -->

## 发送您自己的调试消息

有时用[custom code](custom_quantum_functions.md)发送自定义调试信息很有用. 这么做很简单. 首先在你文件头部包含`print.h`:
[已移到这里](zh-cn/faq_misc.md#testing)

```c
#include "print.h"
```
## 调试 :id=debugging

之后,您可以使用一些不同的打印功能:
[已移到这里](zh-cn/faq_debug.md#debugging)

* `print("string")`: 打印简单字符串.
* `uprintf("%s string", var)`: 打印格式化字符串
* `dprint("string")`: 仅在调试模式使能时打印简单字符串
* `dprintf("%s string", var)`: 仅在调试模式使能时打印格式化字符串