From 9e0b199e9764ef45521244d9cf53b1355cc638ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=9E=AA968?= <67826085+GodGun968@users.noreply.github.com> Date: Sat, 26 Aug 2023 16:19:24 +0800 Subject: [PATCH 1/2] Create zh_cn.json --- .../assets/toolleveling/lang/zh_cn.json | 119 ++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 Common/src/main/resources/assets/toolleveling/lang/zh_cn.json diff --git a/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json b/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json new file mode 100644 index 0000000..d01fb8e --- /dev/null +++ b/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json @@ -0,0 +1,119 @@ +{ + "block.toolleveling.tool_leveling_table": "工具升级台", + "container.toolleveling.tool_leveling_table": "工具升级台", + "commands.superenchant.failed": "%s cannot support that enchantment, you can enable this in the ToolLevelingConfig (%s)", + "screen.toolleveling.tool_leveling_table.start_upgrade.button_text": "Upgrade", + "screen.toolleveling.tool_leveling_table.start_upgrade.button_tooltip": "Start the upgrade process", + "screen.toolleveling.tool_leveling_table.success_chance.field_title": "Iteration Success", + "screen.toolleveling.tool_leveling_table.success_chance": "Success Chance", + "screen.toolleveling.tool_leveling_table.success_chance.min": "Minimum %s%%", + "screen.toolleveling.tool_leveling_table.success_chance.max": "Maximum %s%%", + "screen.toolleveling.tool_leveling_table.summary.field_title": "Summary", + "screen.toolleveling.tool_leveling_table.summary.field_text": "Up to %s enchantment(s) will be added to your item, each with a level of %s", + "screen.toolleveling.tool_leveling_table.summary.field_text.multi": "Up to %s enchantment(s) will be added to your item, each with a level between %s and %s", + "screen.toolleveling.tool_leveling_table.percentages.button_text": "Info", + "screen.toolleveling.tool_leveling_table.percentages.button_tooltip": "Show/Hide the percentages", + "screen.toolleveling.tool_leveling_table.percentages.field_title": "Chosen Enchantment", + "screen.toolleveling.tool_leveling_table.help.button_text": "Help", + "screen.toolleveling.tool_leveling_table.help.field_title": "How does this work?", + "screen.toolleveling.tool_leveling_table.help.field_text": "1. Put an enchantable item in the big middle slot\n\n2. Place enough Enchanted Books in the left slots (at least %s books)\n\n3. Bookshelfs around the table increase the chance of success\n\n4. Special items in the right slots will result in more and higher level enchantments\n\n5. Press 'Upgrade'", + "screen.toolleveling.tool_leveling_table.help.button_tooltip": "Show/Hide the help text", + "commands.link.click_here": "点击此处", + "commands.toolleveling.config.path": "%s的配置可以在这里找到:%s", + "commands.toolleveling.config.reload": "配置已成功重新加载。", + "commands.toolleveling.config.noconfig": "找不到工具升级的配置。", + "commands.toolleveling.config.info_general": "可以在此处找到配置的一般信息:%s", + "commands.toolleveling.config.info_single": "可以在此处找到对配置%s及其选项的完整说明:%s", + "commands.toolleveling.config.reset": "配置%s已设置为默认值。", + "enchantment.level.0": "0", + "enchantment.level.11": "11", + "enchantment.level.12": "12", + "enchantment.level.13": "13", + "enchantment.level.14": "14", + "enchantment.level.15": "15", + "enchantment.level.16": "16", + "enchantment.level.17": "17", + "enchantment.level.18": "18", + "enchantment.level.19": "19", + "enchantment.level.20": "20", + "enchantment.level.21": "21", + "enchantment.level.22": "22", + "enchantment.level.23": "23", + "enchantment.level.24": "24", + "enchantment.level.25": "25", + "enchantment.level.26": "26", + "enchantment.level.27": "27", + "enchantment.level.28": "28", + "enchantment.level.29": "29", + "enchantment.level.30": "30", + "enchantment.level.31": "31", + "enchantment.level.32": "32", + "enchantment.level.33": "33", + "enchantment.level.34": "34", + "enchantment.level.35": "35", + "enchantment.level.36": "36", + "enchantment.level.37": "37", + "enchantment.level.38": "38", + "enchantment.level.39": "39", + "enchantment.level.40": "40", + "enchantment.level.41": "41", + "enchantment.level.42": "42", + "enchantment.level.43": "43", + "enchantment.level.44": "44", + "enchantment.level.45": "45", + "enchantment.level.46": "46", + "enchantment.level.47": "47", + "enchantment.level.48": "48", + "enchantment.level.49": "49", + "enchantment.level.50": "50", + "enchantment.level.51": "51", + "enchantment.level.52": "52", + "enchantment.level.53": "53", + "enchantment.level.54": "54", + "enchantment.level.55": "55", + "enchantment.level.56": "56", + "enchantment.level.57": "57", + "enchantment.level.58": "58", + "enchantment.level.59": "59", + "enchantment.level.60": "60", + "enchantment.level.61": "61", + "enchantment.level.62": "62", + "enchantment.level.63": "63", + "enchantment.level.64": "64", + "enchantment.level.65": "65", + "enchantment.level.66": "66", + "enchantment.level.67": "67", + "enchantment.level.68": "68", + "enchantment.level.69": "69", + "enchantment.level.70": "70", + "enchantment.level.71": "71", + "enchantment.level.72": "72", + "enchantment.level.73": "73", + "enchantment.level.74": "74", + "enchantment.level.75": "75", + "enchantment.level.76": "76", + "enchantment.level.77": "77", + "enchantment.level.78": "78", + "enchantment.level.79": "79", + "enchantment.level.80": "80", + "enchantment.level.81": "81", + "enchantment.level.82": "82", + "enchantment.level.83": "83", + "enchantment.level.84": "84", + "enchantment.level.85": "85", + "enchantment.level.86": "86", + "enchantment.level.87": "87", + "enchantment.level.88": "88", + "enchantment.level.89": "89", + "enchantment.level.90": "90", + "enchantment.level.91": "91", + "enchantment.level.92": "92", + "enchantment.level.93": "93", + "enchantment.level.94": "94", + "enchantment.level.95": "95", + "enchantment.level.96": "96", + "enchantment.level.97": "97", + "enchantment.level.98": "98", + "enchantment.level.99": "99", + "enchantment.level.100": "100" +} From 15e7f78897fe59c87b9324615332da2994ffd388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=9E=AA968?= <67826085+GodGun968@users.noreply.github.com> Date: Sat, 26 Aug 2023 16:53:13 +0800 Subject: [PATCH 2/2] Update zh_cn.json --- .../assets/toolleveling/lang/zh_cn.json | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json b/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json index d01fb8e..967c26c 100644 --- a/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json +++ b/Common/src/main/resources/assets/toolleveling/lang/zh_cn.json @@ -1,23 +1,23 @@ { "block.toolleveling.tool_leveling_table": "工具升级台", "container.toolleveling.tool_leveling_table": "工具升级台", - "commands.superenchant.failed": "%s cannot support that enchantment, you can enable this in the ToolLevelingConfig (%s)", - "screen.toolleveling.tool_leveling_table.start_upgrade.button_text": "Upgrade", - "screen.toolleveling.tool_leveling_table.start_upgrade.button_tooltip": "Start the upgrade process", - "screen.toolleveling.tool_leveling_table.success_chance.field_title": "Iteration Success", - "screen.toolleveling.tool_leveling_table.success_chance": "Success Chance", - "screen.toolleveling.tool_leveling_table.success_chance.min": "Minimum %s%%", - "screen.toolleveling.tool_leveling_table.success_chance.max": "Maximum %s%%", - "screen.toolleveling.tool_leveling_table.summary.field_title": "Summary", - "screen.toolleveling.tool_leveling_table.summary.field_text": "Up to %s enchantment(s) will be added to your item, each with a level of %s", - "screen.toolleveling.tool_leveling_table.summary.field_text.multi": "Up to %s enchantment(s) will be added to your item, each with a level between %s and %s", - "screen.toolleveling.tool_leveling_table.percentages.button_text": "Info", - "screen.toolleveling.tool_leveling_table.percentages.button_tooltip": "Show/Hide the percentages", - "screen.toolleveling.tool_leveling_table.percentages.field_title": "Chosen Enchantment", - "screen.toolleveling.tool_leveling_table.help.button_text": "Help", - "screen.toolleveling.tool_leveling_table.help.field_title": "How does this work?", - "screen.toolleveling.tool_leveling_table.help.field_text": "1. Put an enchantable item in the big middle slot\n\n2. Place enough Enchanted Books in the left slots (at least %s books)\n\n3. Bookshelfs around the table increase the chance of success\n\n4. Special items in the right slots will result in more and higher level enchantments\n\n5. Press 'Upgrade'", - "screen.toolleveling.tool_leveling_table.help.button_tooltip": "Show/Hide the help text", + "commands.superenchant.failed": "%s无法被付上此附魔,你可以在ToolLeveling配置(%s)中启用此附魔", + "screen.toolleveling.tool_leveling_table.start_upgrade.button_text": "升级", + "screen.toolleveling.tool_leveling_table.start_upgrade.button_tooltip": "开始升级", + "screen.toolleveling.tool_leveling_table.success_chance.field_title": "迭代信息", + "screen.toolleveling.tool_leveling_table.success_chance": "成功几率", + "screen.toolleveling.tool_leveling_table.success_chance.min": "最少 %s%%", + "screen.toolleveling.tool_leveling_table.success_chance.max": "最多 %s%%", + "screen.toolleveling.tool_leveling_table.summary.field_title": "总结", + "screen.toolleveling.tool_leveling_table.summary.field_text": "最多%s个附魔被添加到物品中,每个附魔等级为%s", + "screen.toolleveling.tool_leveling_table.summary.field_text.multi": "最多%s个附魔被添加到物品中,每个附魔等级在%s到%s之间", + "screen.toolleveling.tool_leveling_table.percentages.button_text": "信息", + "screen.toolleveling.tool_leveling_table.percentages.button_tooltip": "显示/隐藏百分比", + "screen.toolleveling.tool_leveling_table.percentages.field_title": "被选中的附魔", + "screen.toolleveling.tool_leveling_table.help.button_text": "帮助", + "screen.toolleveling.tool_leveling_table.help.field_title": "这东西咋用?", + "screen.toolleveling.tool_leveling_table.help.field_text": "1. 将要被附魔的物品放置到中间槽位\n\n2. 在左侧槽位中放置足够的附魔书(至少%s本)\n\n3. 在升级台周围放置书架增加成功几率\n\n4. 在右侧槽位中放置特殊物品将产生更多、更高等级的附魔\n\n5. 点击‘升级’", + "screen.toolleveling.tool_leveling_table.help.button_tooltip": "显示/隐藏帮助文本", "commands.link.click_here": "点击此处", "commands.toolleveling.config.path": "%s的配置可以在这里找到:%s", "commands.toolleveling.config.reload": "配置已成功重新加载。",