Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 3d640cf

Browse files
committed
feat: 更新 mods.toml 和 README.md
- 在 mods.toml 中添加 mod 图标文件 - 在 README.md 中添加本地化实现说明
1 parent 55b725a commit 3d640cf

File tree

4 files changed

+1568
-1
lines changed

4 files changed

+1568
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<img height="120" src="src/main/resources/icon.png" width="120"/>
2+
13
# Checklist Localizer
24
Make Checklist Mod support task localization!
35

6+
You can localize it in the following ways:
7+
First, create a new language file (e.g. `en_us.json`).
8+
Then you can use the text contents of `tasks.txt` as a translation key to write the language file. As shown below:
9+
```json
10+
{
11+
"Example Title": "Localized Title",
12+
"Task 1": "Localized Task 1",
13+
"Task 2": "Localized Task 2"
14+
}
15+
```
16+
17+
Finally you'll be able to load it into the resource pack and load the resource pack in the game.

0 commit comments

Comments
 (0)