-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from safe049/featured-branch
Added full Chinese translation
- Loading branch information
Showing
11 changed files
with
281 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>使用的项目 - Chainsaw Human Typing</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>使用的项目</h1> | ||
<div class="section"> | ||
<p>我们要感谢以下有助于开发 Chainsaw Human Typing 的资源和库:</p> | ||
<ul> | ||
<li><a href="https://pypi.org/project/PyQt5/">PyQt5</a> - 用于在 Python 中创建图形用户界面的库.</li> | ||
<li><a href="https://github.com/sylvainmetayer/pyautogui">PyAutoGUI</a> - 用于模拟键盘输入的库t.</li> | ||
</ul> | ||
</div> | ||
<a href="Chinese/index.html">回到首页</a> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>贡献 - Chainsaw Human Typing</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1> 为 Chainsaw Human Typing 做贡献 </h1> | ||
<div class="section"> | ||
<p>我们欢迎你为 Chainsaw Human Typing 做贡献! 这是你贡献的方法:</p> | ||
<ol> | ||
<li><strong>Fork整个仓库:</strong> 在你的Github账户上创建一个Fork来做出更改</li> | ||
<li><strong>克隆你Fork过来的仓库:</strong> 把你Fork过来的仓库克隆在你的电脑上: | ||
<pre><code>git clone https://github.com/LyubomirT/chainsaw-human-typing.git</code></pre> | ||
</li> | ||
<li><strong>创建一个分支:</strong> 为你的改变创建一个分支: | ||
<pre><code>git checkout -b my-feature-branch</code></pre> | ||
</li> | ||
<li><strong>做出改变:</strong> 实施你的改变和修复,确保你的代码符合现有的编码标准和实践。</li> | ||
<li><strong>提交你的更改:</strong> 带着一个描述提交你的改变: | ||
<pre><code>git add . | ||
git commit -m "Add feature X or fix issue Y"</code></pre> | ||
</li> | ||
<li><strong>Push 你的改变:</strong> 将你的改变push到Fork仓库: | ||
<pre><code>git push origin my-feature-branch</code></pre> | ||
</li> | ||
<li><strong>打开一个PR:</strong> 去到原仓库并提交一个PR. 为你的改变写一个清晰,具体的描述。</li> | ||
<li><strong>审阅过程:</strong> 你的PR将会被审阅。如果一切都符合要求, 它就会被合并进主仓库。</li> | ||
</ol> | ||
<p>如果你有任何问题或需要帮助,随时打开一个issue或联系维护者</p> | ||
</div> | ||
<a href="Chinese/index.html">回到主页</a> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Chainsaw Human Typing 文档</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Chainsaw Human Typing 文档</h1> | ||
<div class="section"> | ||
<p>欢迎来到 Chainsaw Human Typing 文档. 这个指南会帮助你学会如何使用APP, 从源代码运行, 以及为它的开发做贡献</p> | ||
</div> | ||
<div class="section"> | ||
<h2><span class="emoji">📝</span>目录</h2> | ||
<ul> | ||
<li><a href="usage.html">如何使用app</a></li> | ||
<li><a href="install.html">安装(可执行)</a></li> | ||
<li><a href="run-from-source.html">从源代码运行</a></li> | ||
<li><a href="contributing.html">贡献</a></li> | ||
<li><a href="license.html">许可证</a></li> | ||
<li><a href="acknowledgements.html">使用的项目</a></li> | ||
</ul> | ||
</div> | ||
<div class="section"> | ||
<h2><span class="emoji">🎌</span>在其他语言阅读</h2> | ||
<ul> | ||
<li><a href="index.html">英文</a></li> | ||
<li><a href="../German/index.html">德语</a></li> | ||
<li><a href="../Spanish/index.html">西班牙语</a></li> | ||
<li><a href="../French/index.html">法语</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>安装 - Chainsaw Human Typing</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>安装</h1> | ||
<div class="section"> | ||
<p>要安装 Chainsaw Human Typing, 跟随以下步骤:</p> | ||
<ol> | ||
<li><strong>下载可执行文件:</strong> 在以下链接下载最新的可执行版本 <a href="https://github.com/LyubomirT/chainsaw-human-typing/releases">Releases</a> Github页面.</li> | ||
<li><strong>运行APP:</strong> 一旦下载过程完成了, 解压文件并运行app.</li> | ||
<li><strong>开始打字:</strong> 用你的键盘开始打字【当然啊】,然后 Chainsaw Human Typing 会在你的电脑上模拟人类输入。</li> | ||
</ol> | ||
</div> | ||
<a href="Chinese/index.html">回到首页</a> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>许可证 - Chainsaw Human Typing</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>许可证</h1> | ||
<div class="section"> | ||
<p>Chainsaw Human Typing 项目遵从 <strong>GPL-3.0 许可证</strong>.</p> | ||
<p>要获取更多细节, 请查看项目仓库里的 LICENSE 文件</p> | ||
</div> | ||
<a href="Chinese/index.html">回到主页</a> | ||
</div> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>从源代码运行 - Chainsaw Human Typing</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>从源代码运行 Chainsaw Human Typing</h1> | ||
<div class="section"> | ||
<p>要从源代码运行 Chainsaw Human Typing , 跟随以下步骤:</p> | ||
<ol> | ||
<li><strong>安装 Python:</strong> 确保你安装了 Python 3.6 或更高版本。 你可以从这里下载Python <a href="https://www.python.org/downloads/">【Python官网】</a>.</li> | ||
<li><strong>克隆仓库:</strong> 用Git克隆仓库。 打开终端然后运行: | ||
<pre><code>git clone https://github.com/LyubomirT/chainsaw-human-typing.git</code></pre> | ||
</li> | ||
<li><strong>安装依赖:</strong> 去到项目根目录然后安装必要的依赖: | ||
<pre><code>pip install -r requirements.txt</code></pre> | ||
</li> | ||
<li><strong>运行APP:</strong> 运行主脚本来运行app: | ||
<pre><code>python main.py</code></pre> | ||
</li> | ||
<li><strong>构建项目:</strong> 要把app构建为一个可执行文件, 你可以使用PyInstaller. 运行以下Powershell脚本: | ||
<pre><code>.\build.ps1</code></pre> | ||
这会在 <code>dist</code> 文件夹创造一个可执行文件。</li> | ||
</ol> | ||
</div> | ||
<a href="Chinese/index.html">回到主页</a> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>用法 - Chainsaw Human Typing</title> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>如何使用 Chainsaw Human Typing</h1> | ||
<div class="section"> | ||
<p>Chainsaw Human Typing 设计用于在一些场景下模拟打字,按照以下步骤以有效使用:</p> | ||
<ol> | ||
<li><strong>打开APP:</strong> 从开始菜单或桌面运行app, 你会进入app的主页。</li> | ||
<li><strong>输入文字:</strong> 在主页面, 你会看到一个允许你粘贴和输入的文字框。 这段文字会成为被模拟打字输出的文字</li> | ||
<li><strong>配置设置:</strong> 在文字区域下, 你可以配置以下设置: | ||
<ul> | ||
<li><strong>延迟:</strong> 以秒为单位设置开始打字前的延迟</li> | ||
<li><strong>间隔:</strong> 设置在每笔之间的间隔。 这决定了整体的打字速度。</li> | ||
<li><strong>每笔字符数:</strong> 选择在间隔前写多少个字符</li> | ||
<li><strong>输入 Enter:</strong> 如果你打勾了, 应用会在遇到新行时模拟按下Enter键</li> | ||
</ul> | ||
</li> | ||
<li><strong>开始打字:</strong> 点击 "开始打字" 按钮来开始模拟。进度将会显示在下面的进度条里。</li> | ||
<li><strong>停止打字:</strong> 如果你希望中止过程, 点击 "停止打字" 按钮。 这会立马中止打字过程。</li> | ||
</ol> | ||
</div> | ||
<a href="Chinese/index.html">回到主页</a> | ||
</div> | ||
<script src="../script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# chainsaw-human-typing | ||
|
||
欢迎来到 chainsaw-human-typing 仓库!Chainsaw Human Typing 是一种工具,允许你在键盘上模拟人类输入(如果你不想或不能的话)。例如,这对于模拟视频中的人类打字非常有用。 | ||
|
||
English/英文 README [README-EN](https://github.com/LyubomirT/chainsaw-human-typing/README.md) | ||
|
||
## 快速上手 🚀 | ||
|
||
只需从 [releases](https://github.com/LyubomirT/chainsaw-human-typing/releases) 页面下载一个二进制文件并运行它。你也可以通过克隆存储库并运行`python main.py`来自己构建它。 | ||
|
||
## 用法 🛠 | ||
|
||
实际上,非常简单,只需在输入字段中输入你想要模拟输入的文本,然后按“开始打字”按钮。文本将在下面的输出字段中输出出来。你可以在进度条中看到进度。 | ||
|
||
## 从源代码运行 🏗 | ||
|
||
要从源代码运行项目,你需要安装 Python 3.6 或更高版本。你还必须通过运行`pip install -r requirements.txt`来安装依赖项。之后,你可以通过运行`python main.py`来运行项目。 | ||
|
||
要构建项目,你可以使用 PyInstaller。 `build.ps1`是一个 PowerShell 脚本,用于使用 PyInstaller 生成项目。你可以通过运行`.\build.ps1`来运行它。输出将位于“dist”文件夹中,请注意,该脚本配置为构建 Windows 可执行文件,并且你需要安装 PyInstaller。 | ||
## 贡献 🤝 | ||
如果你想为这个项目做出贡献,可以大方的fork并提交一个pr。我很乐意审阅,如果你有任何issue,请随时open一个。有关更多信息,请查看[CONTRIBUTING](CONTRIBUTING.md)文件。 | ||
|
||
## 许可证 📝 | ||
|
||
此项目遵从 GPL-3.0 许可 - 查看 [LICENSE](LICENSE) 文件获得更多信息 | ||
|
||
## 使用的项目 🙏 | ||
|
||
- [PyQt5](https://pypi.org/project/PyQt5/) | ||
- [PyInstaller](https://pypi.org/project/pyinstaller/) | ||
- [PyAutoGUI](https://pypi.org/project/PyAutoGUI/) |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"MainWindow": [ | ||
{ | ||
"component": "delayLabel", | ||
"text": "延迟(秒):" | ||
}, | ||
{ | ||
"component": "intervalLabel", | ||
"text": "间隔(秒):" | ||
}, | ||
{ | ||
"component": "charPerStrokeLabel", | ||
"text": "每笔多少个字符:" | ||
}, | ||
{ | ||
"component": "enterCheckBox", | ||
"text": "输入 Enter" | ||
}, | ||
{ | ||
"component": "startButton", | ||
"text": "开始打字" | ||
}, | ||
{ | ||
"component": "stopButton", | ||
"text": "停止打字" | ||
}, | ||
{ | ||
"component": "lightModeCheckbox", | ||
"text": "轻模式" | ||
} | ||
] | ||
} |