From 8bd426b7c9be5a1609b3c3ef3aceb199b9947e06 Mon Sep 17 00:00:00 2001 From: meishiffx <57701493+meishiffx@users.noreply.github.com> Date: Sun, 11 Aug 2024 10:42:58 +0800 Subject: [PATCH 1/2] Create zh_cn.json --- .../assets/ok_zoomer/lang/zh_cn.json | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 src/main/resources/assets/ok_zoomer/lang/zh_cn.json diff --git a/src/main/resources/assets/ok_zoomer/lang/zh_cn.json b/src/main/resources/assets/ok_zoomer/lang/zh_cn.json new file mode 100644 index 0000000..ec49186 --- /dev/null +++ b/src/main/resources/assets/ok_zoomer/lang/zh_cn.json @@ -0,0 +1,121 @@ +{ + "config.ok_zoomer.title": "Ok Zoomer 设置", + "config.ok_zoomer.features": "功能", + "config.ok_zoomer.features.cinematic_camera": "电影镜头", + "config.ok_zoomer.features.cinematic_camera.off": "关闭", + "config.ok_zoomer.features.cinematic_camera.off.tooltip": "禁用缩放时的电影镜头。", + "config.ok_zoomer.features.cinematic_camera.vanilla": "原版", + "config.ok_zoomer.features.cinematic_camera.vanilla.tooltip": "缩放时使用游戏的电影镜头。", + "config.ok_zoomer.features.cinematic_camera.multiplied": "倍增", + "config.ok_zoomer.features.cinematic_camera.multiplied.tooltip": "缩放时使用可配置倍数的电影镜头。", + "config.ok_zoomer.features.reduce_sensitivity": "降低灵敏度", + "config.ok_zoomer.features.reduce_sensitivity.tooltip": "缩放时用缩放倍数除以鼠标灵敏度。", + "config.ok_zoomer.features.zoom_transition": "缩放过渡", + "config.ok_zoomer.features.zoom_transition.off": "关闭", + "config.ok_zoomer.features.zoom_transition.off.tooltip": "缩放会在开启和关闭状态之间突然过渡。", + "config.ok_zoomer.features.zoom_transition.smooth": "平滑", + "config.ok_zoomer.features.zoom_transition.smooth.tooltip": "缩放会在开启和关闭状态之间平滑过渡,类似于游戏的FOV过渡。", + "config.ok_zoomer.features.zoom_transition.linear": "线性", + "config.ok_zoomer.features.zoom_transition.linear.tooltip": "缩放会在开启和关闭状态之间线性过渡。", + "config.ok_zoomer.features.zoom_mode": "缩放模式", + "config.ok_zoomer.features.zoom_mode.hold": "按住", + "config.ok_zoomer.features.zoom_mode.hold.tooltip": "需要按住缩放键进行缩放。", + "config.ok_zoomer.features.zoom_mode.toggle": "切换", + "config.ok_zoomer.features.zoom_mode.toggle.tooltip": "通过缩放键切换缩放。", + "config.ok_zoomer.features.zoom_mode.persistent": "持续", + "config.ok_zoomer.features.zoom_mode.persistent.tooltip": "缩放始终开启,缩放键用于缩放滚动。", + "config.ok_zoomer.features.zoom_scrolling": "缩放滚动", + "config.ok_zoomer.features.zoom_scrolling.tooltip": "允许通过鼠标滚轮增加或减少缩放。", + "config.ok_zoomer.features.extra_key_binds": "额外键绑定", + "config.ok_zoomer.features.extra_key_binds.tooltip": "添加与缩放键一起的缩放操作键。需要重启游戏以应用更改。", + "config.ok_zoomer.features.zoom_overlay": "缩放覆盖", + "config.ok_zoomer.features.zoom_overlay.off": "关闭", + "config.ok_zoomer.features.zoom_overlay.off.tooltip": "禁用缩放覆盖。", + "config.ok_zoomer.features.zoom_overlay.vignette": "晕影", + "config.ok_zoomer.features.zoom_overlay.vignette.tooltip": "使用晕影作为缩放覆盖层。晕影纹理可以在assets/ok_zoomer/textures/misc/zoom_overlay.png找到", + "config.ok_zoomer.features.zoom_overlay.spyglass": "望远镜", + "config.ok_zoomer.features.zoom_overlay.spyglass.tooltip": "使用望远镜覆盖层作为缩放覆盖层。", + "config.ok_zoomer.features.spyglass_mode": "望远镜模式", + "config.ok_zoomer.features.spyglass_mode.off": "关闭", + "config.ok_zoomer.features.spyglass_mode.off.tooltip": "缩放不需要望远镜,也不会替换其缩放。", + "config.ok_zoomer.features.spyglass_mode.require_item": "需要物品", + "config.ok_zoomer.features.spyglass_mode.require_item.tooltip": "缩放需要望远镜才能工作。此选项可通过ok_zoomer:zoom_dependencies物品标签进行配置。", + "config.ok_zoomer.features.spyglass_mode.replace_zoom": "替换缩放", + "config.ok_zoomer.features.spyglass_mode.replace_zoom.tooltip": "缩放将替换望远镜缩放,但不需要望远镜即可工作。", + "config.ok_zoomer.features.spyglass_mode.both": "两者", + "config.ok_zoomer.features.spyglass_mode.both.tooltip": "缩放将完全替换望远镜缩放,需要望远镜才能工作并替换其缩放。", + "config.ok_zoomer.zoom_values": "缩放值", + "config.ok_zoomer.zoom_values.zoom_divisor": "缩放除数", + "config.ok_zoomer.zoom_values.zoom_divisor.tooltip": "应用于视野缩放倍数的除数。数值越高意味着缩放越多。", + "config.ok_zoomer.zoom_values.minimum_zoom_divisor": "最小缩放除数", + "config.ok_zoomer.zoom_values.minimum_zoom_divisor.tooltip": "你可以向下滚动的最小缩放除数。", + "config.ok_zoomer.zoom_values.maximum_zoom_divisor": "最大缩放除数", + "config.ok_zoomer.zoom_values.maximum_zoom_divisor.tooltip": "你可以向上滚动的最大缩放除数。", + "config.ok_zoomer.zoom_values.lower_scroll_steps": "向下滚动步数", + "config.ok_zoomer.zoom_values.lower_scroll_steps.tooltip": "缩放除数和最小缩放除数之间的步数。用于缩放滚动。", + "config.ok_zoomer.zoom_values.upper_scroll_steps": "向上滚动步数", + "config.ok_zoomer.zoom_values.upper_scroll_steps.tooltip": "缩放除数和最大缩放除数之间的步数。用于缩放滚动。", + "config.ok_zoomer.zoom_values.cinematic_multiplier": "电影镜头倍数", + "config.ok_zoomer.zoom_values.cinematic_multiplier.tooltip": "用于电影镜头的倍数。", + "config.ok_zoomer.transition_values": "过渡值", + "config.ok_zoomer.transition_values.smooth_transition_factor": "平滑过渡因子", + "config.ok_zoomer.transition_values.smooth_transition_factor.tooltip": "用于平滑缩放过渡的因子。数值越低表示过渡越平滑,数值越高表示过渡越快。", + "config.ok_zoomer.transition_values.minimum_linear_step": "最小线性步长", + "config.ok_zoomer.transition_values.minimum_linear_step.tooltip": "线性缩放过渡步长可以达到的最小值。", + "config.ok_zoomer.transition_values.maximum_linear_step": "最大线性步长", + "config.ok_zoomer.transition_values.maximum_linear_step.tooltip": "线性缩放过渡步长可以达到的最大值。", + "config.ok_zoomer.tweaks": "调整", + "config.ok_zoomer.tweaks.unbind_conflicting_key": "解除冲突键位", + "config.ok_zoomer.tweaks.unbind_conflicting_key.tooltip": "如果按下,当与缩放键冲突时,将解除“保存工具栏激活器”键位绑定。", + "config.ok_zoomer.tweaks.reset_zoom_with_mouse": "使用鼠标重置缩放", + "config.ok_zoomer.tweaks.reset_zoom_with_mouse.tooltip": "允许使用鼠标中键重置缩放。", + "config.ok_zoomer.tweaks.forget_zoom_divisor": "遗忘缩放倍数", + "config.ok_zoomer.tweaks.forget_zoom_divisor.tooltip": "如果启用,缩放完成后将遗忘当前缩放倍数。", + "config.ok_zoomer.tweaks.use_spyglass_sounds": "使用望远镜音效", + "config.ok_zoomer.tweaks.use_spyglass_sounds.tooltip": "如果启用,缩放时将使用望远镜的音效。", + "config.ok_zoomer.tweaks.show_restriction_toasts": "显示限制提示", + "config.ok_zoomer.tweaks.show_restriction_toasts.tooltip": "当服务器施加限制时显示提示。", + "config.ok_zoomer.tweaks.print_owo_on_start": "启动时打印owo", + "config.ok_zoomer.tweaks.print_owo_on_start.tooltip": "游戏启动时在控制台中随机打印一个owo。", + "config.ok_zoomer.presets": "预设", + "config.ok_zoomer.presets.preset": "预设", + "config.ok_zoomer.presets.preset.default": "默认", + "config.ok_zoomer.presets.preset.default.tooltip": "重置为默认设置。", + "config.ok_zoomer.presets.preset.classic_zoomer": "经典缩放器", + "config.ok_zoomer.presets.preset.classic_zoomer.tooltip": "重置为旧的默认设置,具有更快的平滑过渡因子。", + "config.ok_zoomer.presets.preset.classic": "经典", + "config.ok_zoomer.presets.preset.classic.tooltip": "重置为模拟OptiFine缩放的预设。", + "config.ok_zoomer.presets.preset.persistent": "持久", + "config.ok_zoomer.presets.preset.persistent.tooltip": "重置为以持久缩放模式为考虑的预设。", + "config.ok_zoomer.presets.preset.spyglass": "望远镜", + "config.ok_zoomer.presets.preset.spyglass.tooltip": "重置为模拟望远镜缩放的预设。", + "config.ok_zoomer.presets.apply_preset": "应用预设", + "config.ok_zoomer.presets.apply_preset.tooltip": "将设置重置为所选预设。", + "config.ok_zoomer.discard_changes": "放弃更改", + "command.ok_zoomer.title": "控制面板", + "command.ok_zoomer.config": "模组设置", + "command.ok_zoomer.restrictions": "限制", + "command.ok_zoomer.restrictions.acknowledgement": "此服务器已施加以下限制:", + "command.ok_zoomer.restrictions.disable_zoom": "缩放已被禁用。", + "command.ok_zoomer.restrictions.disable_zoom_scrolling": "缩放滚动已被禁用。", + "command.ok_zoomer.restrictions.force_classic_mode": "经典模式已被启用。", + "command.ok_zoomer.restrictions.force_zoom_divisors": "缩放倍数被限制(最小:%s,最大:%s)。", + "command.ok_zoomer.restrictions.force_zoom_divisor": "缩放倍数已被锁定为 %s。", + "command.ok_zoomer.restrictions.force_spyglass.require_item": "此缩放需要望远镜。", + "command.ok_zoomer.restrictions.force_spyglass.replace_zoom": "此缩放替代了望远镜的缩放。", + "command.ok_zoomer.restrictions.force_spyglass.both": "此缩放需要望远镜但同时也替代了其缩放。", + "command.ok_zoomer.restrictions.force_spyglass_overlay": "望远镜覆盖层已被启用。", + "command.ok_zoomer.restrictions.no_restrictions.acknowledge": "此服务器允许此模组,因此未施加任何限制。", + "command.ok_zoomer.restrictions.no_restrictions": "此服务器未施加任何限制。", + "toast.ok_zoomer.title": "Ok Zoomer", + "toast.ok_zoomer.unbind_conflicting_key.success": "已解除冲突键位", + "toast.ok_zoomer.unbind_conflicting_key.no_conflict": "未发现冲突键位", + "toast.ok_zoomer.acknowledge_mod": "此服务器允许此模组", + "toast.ok_zoomer.acknowledge_mod_restrictions": "此服务器对此模组有限制\n查看 /ok_zoomer 了解更多", + "tag.item.ok_zoomer.zoom_dependencies": "缩放依赖", + "key.ok_zoomer.category": "缩放", + "key.ok_zoomer.decrease_zoom": "减小缩放", + "key.ok_zoomer.increase_zoom": "增大缩放", + "key.ok_zoomer.reset_zoom": "重置缩放", + "key.ok_zoomer.zoom": "缩放" +} From 4b633cf2ecc4e340253d2cea995c1ba66d514fc5 Mon Sep 17 00:00:00 2001 From: meishiffx <57701493+meishiffx@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:35:23 +0800 Subject: [PATCH 2/2] Update zh_cn.json --- .../resources/assets/ok_zoomer/lang/zh_cn.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/resources/assets/ok_zoomer/lang/zh_cn.json b/src/main/resources/assets/ok_zoomer/lang/zh_cn.json index ec49186..2872737 100644 --- a/src/main/resources/assets/ok_zoomer/lang/zh_cn.json +++ b/src/main/resources/assets/ok_zoomer/lang/zh_cn.json @@ -45,16 +45,16 @@ "config.ok_zoomer.features.spyglass_mode.both": "两者", "config.ok_zoomer.features.spyglass_mode.both.tooltip": "缩放将完全替换望远镜缩放,需要望远镜才能工作并替换其缩放。", "config.ok_zoomer.zoom_values": "缩放值", - "config.ok_zoomer.zoom_values.zoom_divisor": "缩放除数", - "config.ok_zoomer.zoom_values.zoom_divisor.tooltip": "应用于视野缩放倍数的除数。数值越高意味着缩放越多。", - "config.ok_zoomer.zoom_values.minimum_zoom_divisor": "最小缩放除数", - "config.ok_zoomer.zoom_values.minimum_zoom_divisor.tooltip": "你可以向下滚动的最小缩放除数。", - "config.ok_zoomer.zoom_values.maximum_zoom_divisor": "最大缩放除数", - "config.ok_zoomer.zoom_values.maximum_zoom_divisor.tooltip": "你可以向上滚动的最大缩放除数。", + "config.ok_zoomer.zoom_values.zoom_divisor": "缩放倍数", + "config.ok_zoomer.zoom_values.zoom_divisor.tooltip": "应用于视野缩放倍数的倍数。数值越高意味着缩放越多。", + "config.ok_zoomer.zoom_values.minimum_zoom_divisor": "最小缩放倍数", + "config.ok_zoomer.zoom_values.minimum_zoom_divisor.tooltip": "你可以向下滚动的最小缩放倍数。", + "config.ok_zoomer.zoom_values.maximum_zoom_divisor": "最大缩放倍数", + "config.ok_zoomer.zoom_values.maximum_zoom_divisor.tooltip": "你可以向上滚动的最大缩放倍数。", "config.ok_zoomer.zoom_values.lower_scroll_steps": "向下滚动步数", - "config.ok_zoomer.zoom_values.lower_scroll_steps.tooltip": "缩放除数和最小缩放除数之间的步数。用于缩放滚动。", + "config.ok_zoomer.zoom_values.lower_scroll_steps.tooltip": "缩放倍数和最小缩放倍数之间的步数。用于缩放滚动。", "config.ok_zoomer.zoom_values.upper_scroll_steps": "向上滚动步数", - "config.ok_zoomer.zoom_values.upper_scroll_steps.tooltip": "缩放除数和最大缩放除数之间的步数。用于缩放滚动。", + "config.ok_zoomer.zoom_values.upper_scroll_steps.tooltip": "缩放倍数和最大缩放倍数之间的步数。用于缩放滚动。", "config.ok_zoomer.zoom_values.cinematic_multiplier": "电影镜头倍数", "config.ok_zoomer.zoom_values.cinematic_multiplier.tooltip": "用于电影镜头的倍数。", "config.ok_zoomer.transition_values": "过渡值",