From 0c0d4ede6736fbb9befc4a8d8cb4ffdf9b72ba66 Mon Sep 17 00:00:00 2001 From: dirtTW Date: Tue, 15 Oct 2024 19:51:41 +0700 Subject: [PATCH 1/2] Add Traditional Chinese (zh_tw.json) Add Traditional Chinese localization --- .../resources/assets/aswitch/lang/zh_tw.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/resources/assets/aswitch/lang/zh_tw.json diff --git a/src/main/resources/assets/aswitch/lang/zh_tw.json b/src/main/resources/assets/aswitch/lang/zh_tw.json new file mode 100644 index 0000000..c5b7f74 --- /dev/null +++ b/src/main/resources/assets/aswitch/lang/zh_tw.json @@ -0,0 +1,18 @@ +{ + "key.autoswitch.toggle": "AutoSwitch 切換鍵", + "key.autoswitch.toggle_mowing": "除草保護切換鍵", + "msg.autoswitch.mow_false": "戰鬥時除草:停用", + "msg.autoswitch.mow_true": "戰鬥時除草:啟用", + "msg.autoswitch.toggle_false": "AutoSwitch:停用", + "msg.autoswitch.toggle_true": "AutoSwitch:啟用", + "msg.autoswitch.config.1": "AutoSwitch 設定檔位於 config 資料夾中。", + "msg.autoswitch.config.2": "請勿開啟或反編譯 AutoSwitch 來更改它們!", + "msg.autoswitch.config.3": "快速前往該資料夾的方法是:前往「選項」,然後「開啟資源包資料夾」。", + "msg.autoswitch.config.4": "然後向上移動一層,使您位於 minecraft 資料夾中。您將看到 config 資料夾。", + "msg.autoswitch.config.5": "config 資料夾中將包含您的設定檔。", + "msg.autoswitch.reset" : "已重設切換狀態", + "button.autoswitch.openconfigs": "開啟設定檔", + "button.autoswitch.openfolder": "開啟設定資料夾", + "screen.autoswitch.config": "AutoSwitch 設定畫面", + "button.autoswitch.openwiki": "開啟關於為何沒有圖形介面的 Wiki 頁面" + } \ No newline at end of file From 74d2a2ca233cb6c68e0ad31af09b994706607e79 Mon Sep 17 00:00:00 2001 From: dirtTW <31981880+yichifauzi@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:48:37 +0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: notlin4 <121224522+notlin4@users.noreply.github.com> --- src/main/resources/assets/aswitch/lang/zh_tw.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/assets/aswitch/lang/zh_tw.json b/src/main/resources/assets/aswitch/lang/zh_tw.json index c5b7f74..643af62 100644 --- a/src/main/resources/assets/aswitch/lang/zh_tw.json +++ b/src/main/resources/assets/aswitch/lang/zh_tw.json @@ -6,10 +6,10 @@ "msg.autoswitch.toggle_false": "AutoSwitch:停用", "msg.autoswitch.toggle_true": "AutoSwitch:啟用", "msg.autoswitch.config.1": "AutoSwitch 設定檔位於 config 資料夾中。", - "msg.autoswitch.config.2": "請勿開啟或反編譯 AutoSwitch 來更改它們!", - "msg.autoswitch.config.3": "快速前往該資料夾的方法是:前往「選項」,然後「開啟資源包資料夾」。", - "msg.autoswitch.config.4": "然後向上移動一層,使您位於 minecraft 資料夾中。您將看到 config 資料夾。", - "msg.autoswitch.config.5": "config 資料夾中將包含您的設定檔。", + "msg.autoswitch.config.2": "請勿開啟或反編譯 AutoSwitch 來修改設定!", + "msg.autoswitch.config.3": "快速前往該資料夾的方法是:前往「選項」,然後按下「開啟資源包資料夾」。", + "msg.autoswitch.config.4": "接著回到上一層,你就會在你的 Minecraft 資料夾中看到 config 資料夾。", + "msg.autoswitch.config.5": "你的設定檔就會在 config 資料夾中。", "msg.autoswitch.reset" : "已重設切換狀態", "button.autoswitch.openconfigs": "開啟設定檔", "button.autoswitch.openfolder": "開啟設定資料夾",