Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Tools_Language

Shirasawa edited this page Mar 20, 2020 · 1 revision

翻译工具 - Translation Tools

安装 - Install

首先, 你需要安装 Node.JS, 且版本建议 大于等于12.0.0.

First, you need to install Node.JS. The recommended version is >=12.0.0.

然后运行下面的命令:

Then run the following command:

git clone https://github.com/Apisium/PureLauncher.git

cd PureLauncher

npm install --production

npm link

使用 - Usage

检查词条 - Linting

用于检查是否多出或缺少词条。

Used to check for redundant or missing entries.

pl-translation lint <语言名字/LanguageName>

例如:

e.g.

pl-translation lint ru

同步词条 - Sync

用于将新增的词条同步到当前语言文件中

Used to synchronize new entries to the current language file.

pl-translation sync <语言名字/LanguageName>

例如:

e.g.

pl-translation sync ru
Clone this wiki locally