-
Notifications
You must be signed in to change notification settings - Fork 1
feat(translation): add simplified chinese translation #1
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2a1031f
Create zh_cn.json
ZHAY10086 de6e9f5
Migrate to datagen
pharuxtan cdedf05
Create zh_cn.json
ZHAY10086 1c8f83d
Migrate to datagen
pharuxtan b59a153
update
ZHAY10086 3c4efda
Merge branch '1.21.1' of https://github.com/ZHAY10086/industrialforeg…
ZHAY10086 0bf0766
update datagen
pharuxtan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,6 @@ | ||
| { | ||
| "item.ifwootaddon.laser_drill_upgrade": "镭射钻升级", | ||
| "item.ifwootaddon.mob_crusher_upgrade": "生物粉碎机升级", | ||
| "item.ifwootaddon.mob_slaughter_factory_upgrade": "生物屠宰厂升级", | ||
| "item.ifwootaddon.stygian_laser_lens": "幽冥镭射聚焦透镜" | ||
| } |
This file contains hidden or 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
23 changes: 23 additions & 0 deletions
23
src/main/java/wootrevived/ifwootaddon/datagen/languages/SimplifiedChinese.java
This file contains hidden or 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 @@ | ||
| package wootrevived.ifwootaddon.datagen.languages; | ||
|
|
||
| import net.minecraft.data.PackOutput; | ||
| import net.neoforged.neoforge.common.data.LanguageProvider; | ||
| import wootrevived.ifwootaddon.IFWootAddon; | ||
| import wootrevived.ifwootaddon.registries.IFItemsRegistry; | ||
| import wootrevived.ifwootaddon.upgrades.LaserDrill; | ||
| import wootrevived.ifwootaddon.upgrades.MobCrusher; | ||
| import wootrevived.ifwootaddon.upgrades.MobSlaughterFactory; | ||
|
|
||
| public class SimplifiedChinese extends LanguageProvider { | ||
| public SimplifiedChinese(PackOutput output){ | ||
| super(output, IFWootAddon.MOD_ID, "zh_cn"); | ||
| } | ||
|
|
||
| @Override | ||
| protected void addTranslations() { | ||
| add(MobCrusher.MOB_CRUSHER_ITEM.get(), "生物粉碎机升级"); | ||
| add(MobSlaughterFactory.MOB_SLAUGHTER_FACTORY_ITEM.get(), "生物屠宰厂升级"); | ||
| add(LaserDrill.LASER_DRILL_ITEM.get(), "镭射钻升级"); | ||
| add(IFItemsRegistry.STYGIAN_LASER_LENS_ITEM.get(), "幽冥镭射聚焦透镜"); | ||
| } | ||
| } | ||
39 changes: 39 additions & 0 deletions
39
...resources/assets/woot_revived/guidebook/_zh_cn/upgrades/industrial-foregoing.md
This file contains hidden or 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 @@ | ||
| --- | ||
| navigation: | ||
| parent: upgrades/upgrades-index.md | ||
| title: "工业先锋升级" | ||
| icon: "ifwootaddon:laser_drill_upgrade" | ||
| position: 2 | ||
| --- | ||
| # 工业先锋升级 | ||
|
|
||
| <Row> | ||
| <ItemImage id="ifwootaddon:laser_drill_upgrade" scale="3"/> | ||
| <ItemImage id="ifwootaddon:mob_crusher_upgrade" scale="3"/> | ||
| <ItemImage id="ifwootaddon:mob_slaughter_factory_upgrade" scale="3"/> | ||
| </Row> | ||
|
|
||
| 工业先锋附属模组添加的升级 | ||
|
|
||
| ## <ItemImage id="ifwootaddon:laser_drill_upgrade" scale="0.5" /> 镭射钻升级 | ||
|
|
||
| 输出每种生物相关的流体配方产物。 | ||
|
|
||
| ## <ItemImage id="ifwootaddon:mob_crusher_upgrade" scale="0.5" /> 生物粉碎机升级 | ||
|
|
||
| 基于生物掉落的经验输出<ItemImage id="industrialforegoing:essence_bucket" scale="0.5"/>精华流体 | ||
|
|
||
| 公式:经验x20 | ||
|
|
||
| ## <ItemImage id="ifwootaddon:mob_slaughter_factory_upgrade" scale="0.5" /> 生物屠宰厂升级 | ||
|
|
||
| 基于生物最大生命值输出<ItemImage id="industrialforegoing:meat_bucket" scale="0.5"/>肉汤流体和<ItemImage id="industrialforegoing:pink_slime_bucket" scale="0.5"/>粉红黏液流体 | ||
|
|
||
| 公式: | ||
| 生物为动物时: | ||
| - <ItemImage id="industrialforegoing:pink_slime_bucket" scale="0.5"/>粉红黏液: 最大生命值x20 | ||
| - <ItemImage id="industrialforegoing:meat_bucket" scale="0.5"/>肉汤:最大生命值 | ||
|
|
||
| 生物非动物时: | ||
| - <ItemImage id="industrialforegoing:pink_slime_bucket" scale="0.5"/>粉红黏液:最大生命值 | ||
| - <ItemImage id="industrialforegoing:meat_bucket" scale="0.5"/>肉汤:最大生命值x20 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.