Skip to content
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

Add some Chinese localization #3047

Merged
merged 7 commits into from
Apr 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions config/solarflux/custom_panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function init() {
.buildAndRegister()
.langBuilder()
.put("en_us", "Allthemodium Solar Panel")
.put("zh_cn", "ATM太阳能板")
.build();

panel()
Expand All @@ -53,6 +54,7 @@ function init() {
.buildAndRegister()
.langBuilder()
.put("en_us", "Vibranium Solar Panel")
.put("zh_cn", "振金太阳能板")
.build();

panel()
Expand All @@ -64,5 +66,6 @@ function init() {
.buildAndRegister()
.langBuilder()
.put("en_us", "Unobtainium Solar Panel")
.put("zh_cn", "难得素太阳能板")
.build();
}
41 changes: 41 additions & 0 deletions kubejs/assets/allthemods/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"itemGroup.cartographer": "制图师",
"itemGroup.rftoolscontrol": "RF工具丨控制",
"itemGroup.modularrouters": "模块化路由器",
"itemGroup.chisel.legacy": "凿子(旧版)",
"item.pamhc2trees.maplesyrupitem": "枫糖",
"item.allthemodium.molten_allthemodium_bucket": "熔融ATM桶",
"item.allthemodium.molten_vibranium_bucket": "熔融振金桶",
"item.allthemodium.molten_unobtainium_bucket": "熔融难得素桶",
"item.allthemodium.vapor_allthemodium_bucket": "ATM蒸汽桶",
"item.allthemodium.vapor_vibranium_bucket": "振金蒸汽桶",
"item.allthemodium.vapor_unobtainium_bucket": "难得素蒸汽桶",
"fluid.allthemodium.vapor_allthemodium": "ATM蒸汽",
"fluid.allthemodium.vapor_vibranium": "振金蒸汽",
"fluid.allthemodium.vapor_unobtainium": "难得素蒸汽",
"enchantment.minecolonies.raider_damage_enchant.desc": "增加对模拟殖民地袭击者的伤害。",
"enchantment.draconicevolution.reaper_enchantment.desc": "击杀生物有概率获得对应的怪物灵魂。",
"enchantment.create.capacity.desc": "增加铜背罐的储气量。",
"enchantment.create.potato_recovery.desc": "土豆加农炮的弹药在击中后有概率作为物品掉落。",
"enchantment.mythicbotany.hammer_mobility.desc": "增加雷神之锤的攻击速度。",
"enchantment.mahoutsukai.projector.desc": "由魔法阵投影仪投影的装饰性魔法阵。",
"block.bloodmagic.mimic": "拟态方块",
"block.bloodmagic.ethereal_mimic": "飘渺拟态方块",
"block.bloodmagic.nether_soil": "下界土",
"block.bloodmagic.dungeon_regular_cracked_brick1": "裂纹恶魔砖",
"block.bloodmagic.dungeon_cracked_brick1": "重纹恶魔砖",
"block.bloodmagic.inversion_pillar": "反转柱",
"block.bloodmagic.dungeon_controller": "地牢控制器",
"block.bloodmagic.dungeon_seal": "地牢密封块",
"item.bloodmagic.doubt_bucket": "思疑桶",
"item.bloodmagic.will_power_anointment": "意志之力溶剂",
"fluid.bloodmagic.life_essence_fluid": "生命源质",
"fluid.bloodmagic.doubt_fluid": "思疑液体",
"lens_focus.envirotech.erodium": "艾洛蒂透镜",
"fluid.envirocore.distilled_water": "蒸馏水",
"item.minecolonies.mummyarcheregg": "木乃伊弓箭手刷怪蛋",
"item.minecolonies.mummyegg": "木乃伊刷怪蛋",
"item.minecolonies.pharaoegg": "法老刷怪蛋"
}


23 changes: 23 additions & 0 deletions kubejs/assets/kubejs/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"item.kubejs.mass_of_wills": "§6意志团块",
"item.kubejs.rune_of_sins": "§6原罪符文",
"item.kubejs.uu_matter": "§dUU物质",
"item.kubejs.patrick_star": "§d派大星",
"item.kubejs.saltpeter_ingot": "硝酸盐锭",
"item.kubejs.potassium_nitrate_dust": "硝酸钾粉",
"item.kubejs.potassium_nitrate_ingot": "硝酸钾锭",
"item.kubejs.potassium_dust": "钾粉",
"item.kubejs.potassium_ingot": "钾锭",
"item.kubejs.uru_ingot": "§6乌鲁金属锭",
"item.kubejs.uru_nugget": "§6乌鲁金属粒",

"block.kubejs.magical_soil": "§b魔法土壤",
"block.kubejs.saltpeter_block": "硝酸盐块",
"block.kubejs.potassium_block": "钾块",
"block.kubejs.potassium_nitrate_block": "硝酸钾块",
"block.kubejs.uru_block": "§6乌鲁金属块",
"block.kubejs.atm_star_block": "§eATM之星块",
"block.kubejs.yellow_cake_uranium_block": "§e铀黄饼块"
}


11 changes: 11 additions & 0 deletions kubejs/assets/ponderjs_generated/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"atm6.ponder.atm_shard.atm_shard.header": "如何获得ATM之星碎片",
"atm6.ponder.creative_energy_cube.creative_energy_cube.header": "如何为创造能量立方充能",
"atm6.ponder.creative_energy_cube.creative_energy_cube.text_1": "首先,放置两个满能量的终极能量立方",
"atm6.ponder.creative_energy_cube.creative_energy_cube.text_2": "之后,放置两个终极输导供应器",
"atm6.ponder.creative_energy_cube.creative_energy_cube.text_3": "最后,放置空的创造能量立方",
"atm6.ponder.atm_shard.atm_shard.text_2": "放置一个铁砧",
"atm6.ponder.atm_shard.atm_shard.text_3": "然后,在铁砧上放置任意物品展示框",
"atm6.ponder.atm_shard.atm_shard.text_4": "最后,将雷神之锤放置在铁砧之上",
"atm6.ponder.atm_shard.atm_shard.text_1": "首先,以基岩为基底"
}
6 changes: 6 additions & 0 deletions kubejs/assets/silentgear/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"material.silentgear.peridot": "橄榄石",
"material.silentgear.ruby": "红宝石",
"material.silentgear.sapphire": "蓝宝石",
"material.silentgear.uru": "乌鲁"
}
2 changes: 1 addition & 1 deletion kubejs/startup_scripts/custom_items.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ onEvent('item.registry', e => {
e.create('potassium_dust').displayName('Potassium Dust')
e.create('potassium_ingot').displayName('Potassium Ingot')
e.create('uru_ingot').displayName('§6Uru Metal Ingot')
e.create('uru_nugget').displayName('§6Uru Metal Ingot')
e.create('uru_nugget').displayName('§6Uru Metal Nugget')
})

onEvent('block.registry', e => {
Expand Down
5 changes: 5 additions & 0 deletions packmenu/resources/assets/atm/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ "packmenu.atm.discord": "Discord",
"packmenu.atm.akliz": "创建服务器",
"packmenu.atm.reddit": "Reddit",
"packmenu.atm.github": "Github",
"packmenu.atm.patreon": "Patreon"}
3 changes: 3 additions & 0 deletions packmenu/resources/assets/packmenu/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"packmenu.custom_button": "自定义按钮"
}