From 4c56be966720b9ec701f4f9c3ec160a376722892 Mon Sep 17 00:00:00 2001 From: Ginsway Date: Mon, 17 Jul 2023 12:44:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/owo-lib/owo/lang/en_us.json | 57 +++++++++++++++++++ .../assets/owo-lib/owo/lang/zh_cn.json | 57 +++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 projects/1.20-fabric/assets/owo-lib/owo/lang/en_us.json create mode 100644 projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json diff --git a/projects/1.20-fabric/assets/owo-lib/owo/lang/en_us.json b/projects/1.20-fabric/assets/owo-lib/owo/lang/en_us.json new file mode 100644 index 000000000000..1a727366e5ff --- /dev/null +++ b/projects/1.20-fabric/assets/owo-lib/owo/lang/en_us.json @@ -0,0 +1,57 @@ +{ + "text.owo.itemGroup.tab_template": [ + { "index": 0 }, + { "text": " > ", "color": "gray" }, + { "index": 1, "color": "dark_gray" } + ], + "text.owo.configure_hot_reload.title": "Configure Hot Reload", + "text.owo.configure_hot_reload.choose_file": "Choose file", + "text.owo.configure_hot_reload.choose_ui_model_source": "Choose UI Model source", + "text.owo.configure_hot_reload.save": "Save", + "text.owo.configure_hot_reload.model": [ + { "text": "Model: ", "color": "yellow" }, + { "index": 0, "color": "gray" } + ], + "text.owo.configure_hot_reload.reload_from.unset": "Unset", + "text.owo.configure_hot_reload.reload_from": [ + { "text": "Reload from: ", "color": "yellow" }, + { "index": 0, "color": "gray" } + ], + "text.owo.config.search": "Search...", + "text.owo.config.search.matches": "%d of %d", + "text.owo.config.search.no_matches": "No matches", + "text.owo.config.must_restart": "Some changes you made require a restart to apply", + "text.owo.config.button.exit_minecraft": "Exit Minecraft", + "text.owo.config.button.ignore_restart": "Restart later", + "text.owo.config.button.range.edit_as_text": "Edit as text", + "text.owo.config.button.range.edit_with_slider": "Edit with slider", + "text.owo.config.applies_after_restart": [ + { "text": "⏻ ", "color": "#FAEA48" }, + { "text": "This option applies after a restart", "color": "gray" } + ], + "text.owo.config.managed_by_server": [ + { "text": "⚑ ", "color": "#EB1D36" }, + { + "text": "This option is being managed by the server\n Disconnect to edit it", + "color": "gray" + } + ], + "text.owo.config.button.reload": "Reload", + "text.owo.config.button.done": "Done", + "text.owo.config.sections": { "text": "Sections", "underlined": true }, + "text.owo.config.list.add_entry": "Add entry", + "text.owo.config.boolean_toggle.enabled": [ + "", + { "text": "[", "color": "gray" }, + { "text": "✔", "color": "#28FFBF" }, + { "text": "]", "color": "gray" }, + " Enabled" + ], + "text.owo.config.boolean_toggle.disabled": [ + "", + { "text": "[", "color": "gray" }, + { "text": "❌", "color": "#EB1D36" }, + { "text": "]", "color": "gray" }, + " Disabled" + ] +} diff --git a/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json b/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json new file mode 100644 index 000000000000..ad1a36db10ac --- /dev/null +++ b/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json @@ -0,0 +1,57 @@ +{ + "text.owo.itemGroup.tab_template": [ + { "index": 0 }, + { "text": " > ", "color": "gray" }, + { "index": 1, "color": "dark_gray" } + ], + "text.owo.configure_hot_reload.title": "配置热重载", + "text.owo.configure_hot_reload.choose_file": "选择文件", + "text.owo.configure_hot_reload.choose_ui_model_source": "选择UI模型源", + "text.owo.configure_hot_reload.save": "保存", + "text.owo.configure_hot_reload.model": [ + { "text": "Model: ", "color": "yellow" }, + { "index": 0, "color": "gray" } + ], + "text.owo.configure_hot_reload.reload_from.unset": "复位", + "text.owo.configure_hot_reload.reload_from": [ + { "text": "重载自: ", "color": "yellow" }, + { "index": 0, "color": "gray" } + ], + "text.owo.config.search": "搜索……", + "text.owo.config.search.matches": "%d of %d", + "text.owo.config.search.no_matches": "没有匹配项", + "text.owo.config.must_restart": "您所做的某些更改需要重启才能应用", + "text.owo.config.button.exit_minecraft": "退出 Minecraft", + "text.owo.config.button.ignore_restart": "稍后重启", + "text.owo.config.button.range.edit_as_text": "编辑为文本", + "text.owo.config.button.range.edit_with_slider": "使用滑块编辑", + "text.owo.config.applies_after_restart": [ + { "text": "⏻ ", "color": "#FAEA48" }, + { "text": "此选项在重启后应用", "color": "gray" } + ], + "text.owo.config.managed_by_server": [ + { "text": "⚑ ", "color": "#EB1D36" }, + { + "text": "该选项由服务器管理\n断开连接以进行编辑", + "color": "gray" + } + ], + "text.owo.config.button.reload": "重新加载", + "text.owo.config.button.done": "完成", + "text.owo.config.sections": { "text": "", "underlined": true }, + "text.owo.config.list.add_entry": "添加条目", + "text.owo.config.boolean_toggle.enabled": [ + "", + { "text": "[", "color": "gray" }, + { "text": "✔", "color": "#28FFBF" }, + { "text": "]", "color": "gray" }, + " 启用" + ], + "text.owo.config.boolean_toggle.disabled": [ + "", + { "text": "[", "color": "gray" }, + { "text": "❌", "color": "#EB1D36" }, + { "text": "]", "color": "gray" }, + " 不启用" + ] +} From 244b69e39155071e794c0347d33b355e8416e568 Mon Sep 17 00:00:00 2001 From: Ginsway <106016532+Ginsway@users.noreply.github.com> Date: Wed, 19 Jul 2023 10:52:15 +0800 Subject: [PATCH 2/2] Update projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 笨鱼/Fish <101028476+Slow-Witted-Fish@users.noreply.github.com> --- projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json b/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json index ad1a36db10ac..f7810dccb5e9 100644 --- a/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json +++ b/projects/1.20-fabric/assets/owo-lib/owo/lang/zh_cn.json @@ -20,7 +20,7 @@ "text.owo.config.search": "搜索……", "text.owo.config.search.matches": "%d of %d", "text.owo.config.search.no_matches": "没有匹配项", - "text.owo.config.must_restart": "您所做的某些更改需要重启才能应用", + "text.owo.config.must_restart": "你所做的某些更改需要重启才能应用", "text.owo.config.button.exit_minecraft": "退出 Minecraft", "text.owo.config.button.ignore_restart": "稍后重启", "text.owo.config.button.range.edit_as_text": "编辑为文本",