From f73d8a0154670c8dbf68ae7eed54a8cf3c51e780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zhenyu=20Yan=20=28=E9=84=A2=E6=8C=AF=E5=AE=87=29?= <1015198808@qq.com> Date: Thu, 14 Sep 2023 22:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=8B=B1=E8=AF=AD=E6=97=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Core/Display/WorkTimer.xaml.cs | 4 ++-- VPet-Simulator.Core/Graph/GraphHelper.cs | 1 + .../mod/0000_core/lang/en/Base2306.lps | 13 ++++++++++--- .../mod/0000_core/lang/zh-Hans/Base2306.lps | 9 ++++++++- .../mod/0000_core/lang/zh-Hant/Base2306.lps | 9 ++++++++- 5 files changed, 29 insertions(+), 7 deletions(-) diff --git a/VPet-Simulator.Core/Display/WorkTimer.xaml.cs b/VPet-Simulator.Core/Display/WorkTimer.xaml.cs index 432b31d..88341b9 100644 --- a/VPet-Simulator.Core/Display/WorkTimer.xaml.cs +++ b/VPet-Simulator.Core/Display/WorkTimer.xaml.cs @@ -119,12 +119,12 @@ namespace VPet_Simulator.Core else { DisplayBorder.Visibility = Visibility.Visible; - btnStop.Content = LocalizeCore.Translate("停止") + nowWork.NameTrans; + btnStop.Content = LocalizeCore.Translate("停止") + nowWork.DoingTrans; switch (DisplayType) { default: case 0: - tNow.Text = LocalizeCore.Translate("当前已") + nowWork.NameTrans; + tNow.Text = LocalizeCore.Translate("当前已{0}", nowWork.DoingTrans); break; case 1: tNow.Text = LocalizeCore.Translate("剩余{0}时间", nowWork.NameTrans); diff --git a/VPet-Simulator.Core/Graph/GraphHelper.cs b/VPet-Simulator.Core/Graph/GraphHelper.cs index 35ce6af..a9774ca 100644 --- a/VPet-Simulator.Core/Graph/GraphHelper.cs +++ b/VPet-Simulator.Core/Graph/GraphHelper.cs @@ -101,6 +101,7 @@ namespace VPet_Simulator.Core /// 工作名称 已翻译 /// public string NameTrans => Name.Translate(); + public string DoingTrans => (Name + "中").Translate(); /// /// 使用动画名称 /// diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps index 03c61d6..6ac775b 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps @@ -220,6 +220,11 @@ text#Text Set:| 工作#Work:| 文案#Copywriting:| 直播#Livestreaming:| +睡觉中#Sleeping:| +学习中#Learning:| +工作中#Working:| +文案中#Copywriting:| +直播中#Livestreaming:| 和桌宠说#Send message:| 按 Ctrl+Enter 发送#Press Ctrl+Enter to send:| 正在加载游戏#Loading game:| @@ -227,8 +232,10 @@ text#Text Set:| 开发控制台#Console:| 反馈中心#Feedback:| 设置面板#Settings:| -吃饭#Food:| +吃饭#Eat:| 喝水#Drink:| +吃饭中#Eating:| +喝水中#Drinking:| 虚拟桌宠模拟器#VPet-Simulator:| 点击此处开关鼠标穿透\n右键开关置于顶层\n长按挪动位置\n可在设置中关闭#Click here toggle mouse HitThrough\nRight-click toggle place in TopMost\nPress and hold to move position\nCan be turned off in the settings:| 操作教程#How-to Tutorials:| @@ -280,8 +287,8 @@ DLL引用名单#DLL Reference List:| 提交#Submit:| 玩家取消上传存档#Player cancels uploading saved:| 秒#Sec:| -停止#Stop:| -当前已#Currently:| +停止#Stop :| +当前已{0}#{0} for:| 您的桌宠等级不足{0}/{2}\n无法进行{1}#Your pet don't have enough level {0}/{2}\nUnable to {1}:| {0}取消#{0} Cancel:| 搜索商品#Search for products:| diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2306.lps index 1e1b32f..7133447 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2306.lps @@ -220,6 +220,11 @@ text#文本集:| 工作#工作:| 文案#文案:| 直播#直播:| +睡觉中#睡觉中:| +学习中#学习中:| +工作中#工作中:| +文案中#文案中:| +直播中#直播中:| 和桌宠说#和桌宠说:| 按 Ctrl+Enter 发送#按 Ctrl+Enter 发送:| 正在加载游戏#正在加载游戏:| @@ -229,6 +234,8 @@ text#文本集:| 设置面板#设置面板:| 吃饭#吃饭:| 喝水#喝水:| +吃饭中#吃饭中:| +喝水中#喝水中:| 虚拟桌宠模拟器#虚拟桌宠模拟器:| 点击此处开关鼠标穿透\n右键开关置于顶层\n长按挪动位置\n可在设置中关闭#点击此处开关鼠标穿透\n右键开关置于顶层\n长按挪动位置\n可在设置中关闭:| 操作教程#操作教程:| @@ -283,7 +290,7 @@ DLL引用名单#DLL引用名单:| 玩家取消上传存档#玩家取消上传存档:| 秒#秒:| 停止#停止:| -当前已#当前已:| +当前已{0}#当前已{0}:| 您的桌宠等级不足{0}/{2}\n无法进行{1}#您的桌宠等级不足{0}/{2}\n无法进行{1}:| {0}取消#{0}取消:| 搜索商品#搜索商品:| diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index c12b3f8..a367b3f 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -220,6 +220,11 @@ text#text:| 工作#工作:| 文案#文案:| 直播#直播:| +睡觉中#睡覺中:| +学习中#學習中:| +工作中#工作中:| +文案中#文案中:| +直播中#直播中:| 和桌宠说#和桌寵說:| 按 Ctrl+Enter 发送#按Ctrl+Enter發送:| 正在加载游戏#正在加載遊戲:| @@ -229,6 +234,8 @@ text#text:| 设置面板#設定面板:| 吃饭#吃飯:| 喝水#喝水:| +吃饭中#吃飯中:| +喝水中#喝水中:| 虚拟桌宠模拟器#虛擬桌寵模擬器:| 点击此处开关鼠标穿透\n右键开关置于顶层\n长按挪动位置\n可在设置中关闭#點擊此處開關滑鼠穿透\n右鍵開關置於頂層\n長按挪動位置\n可在設定中關閉:| 操作教程#操作教程:| @@ -281,7 +288,7 @@ DLL引用名单#DLL引用名單:| 玩家取消上传存档#玩家取消上傳存檔:| 秒#秒:| 停止#停止:| -当前已#當前已:| +当前已{0}#當前已{0}:| 您的桌宠等级不足{0}/{2}\n无法进行{1}#您的桌寵等級不足{0}/{2}\n無法進行{1}:| {0}取消#{0}取消:| 搜索商品#搜索商品:|