From 13a7ad4277ede28e8e673ff0b10d0c44df989d70 Mon Sep 17 00:00:00 2001 From: tartaric_acid Date: Sun, 8 Sep 2024 18:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20mixin=20=E4=BC=98=E5=85=88?= =?UTF-8?q?=E7=BA=A7=EF=BC=8C=E5=BA=94=E8=AF=A5=E8=83=BD=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=20mca=20=E7=9A=84=E8=AF=AD=E8=A8=80=E5=86=B2=E7=AA=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20-=20=E4=BF=AE=E6=AD=A3=E8=8B=B1=E6=96=87=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../touhoulittlemaid/mixin/client/LanguageMixin.java | 2 +- src/main/resources/assets/touhou_little_maid/lang/zh_cn.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/tartaricacid/touhoulittlemaid/mixin/client/LanguageMixin.java b/src/main/java/com/github/tartaricacid/touhoulittlemaid/mixin/client/LanguageMixin.java index ccc262345..2d8278645 100644 --- a/src/main/java/com/github/tartaricacid/touhoulittlemaid/mixin/client/LanguageMixin.java +++ b/src/main/java/com/github/tartaricacid/touhoulittlemaid/mixin/client/LanguageMixin.java @@ -10,7 +10,7 @@ import java.util.Map; -@Mixin(ClientLanguage.class) +@Mixin(value = ClientLanguage.class, priority = 943) public class LanguageMixin { @Inject(method = "getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", at = @At(value = "HEAD"), cancellable = true) public void getCustomLanguage(String key, String defaultValue, CallbackInfoReturnable call) { diff --git a/src/main/resources/assets/touhou_little_maid/lang/zh_cn.json b/src/main/resources/assets/touhou_little_maid/lang/zh_cn.json index 8b59cb16f..d8fd21a0a 100644 --- a/src/main/resources/assets/touhou_little_maid/lang/zh_cn.json +++ b/src/main/resources/assets/touhou_little_maid/lang/zh_cn.json @@ -133,9 +133,9 @@ "tooltips.touhou_little_maid.servant_bell.desc.2": "- 绑定后,右键使用即可召回女仆。", "tooltips.touhou_little_maid.monster_list.desc": "放置在女仆的副手,她会依据此名单来进行攻击", "overlay.touhou_little_maid.compass.tips": "右击可以显示女仆的任务区域", - "overlay.touhou_little_maid.golden_apple.tips": "金苹果可以 Shfit 右击喂给女仆", + "overlay.touhou_little_maid.golden_apple.tips": "金苹果可以 Shift 右击喂给女仆", "overlay.touhou_little_maid.potion.tips": "药水可以 Shift 右击喂给女仆", - "overlay.touhou_little_maid.milk_bucket.tips": "牛奶桶可以 Shfit 右击清除女仆的药水效果", + "overlay.touhou_little_maid.milk_bucket.tips": "牛奶桶可以 Shift 右击清除女仆的药水效果", "overlay.touhou_little_maid.script_book.tips": "它可以向女仆写入聊天气泡文本", "overlay.touhou_little_maid.glass_bottle.tips": "右击取出经验,Shift 右击全部取出", "overlay.touhou_little_maid.name_tag.tips": "右击命名女仆",