A tampermonkey script for translating the screeps.com content to Chinese. It is spontaneously created and maintained by Screeps Chinese players. Click here to see how to join this project!
This script is published on greasyfork - screeps-chinese-pack, refer to installing-user-scripts for installation.
- node
>=10.13.0
- yarn
latest
- tampermonkey
latest
(in your browser)
yarn install
Enter edge://extensions
or chrome://extensions
in the browser address bar and check the Tampermonkey Details button to allow access to the file URLs.
Execute the following commands in the project directory, and the dist/main.js
will be generated in the same directory.
yarn start
Open Tampermonkey, create a new script and fill in the following content, you need to modify the path after file:// to your corresponding local file path:
// ==UserScript==
// @name screeps-chinese-pack-dev
// @match https://screeps.com/*
// @require file://e:\project\screeps-chinese-pack\dist\main.js
// ==/UserScript==
Then edit the files in the /src
directory and refresh the browser to see your changes.
This project and the Screeps-cn community are completely self-sustaining, thanks to those who have contributed! If you have made a contribution but have not found your name below, please contact us in time:
HoPGoldy, masterkeze, NSKMaki, LOSKIw.
The ranking depends on participation date.