From cf8d93a7850c6971ca7895106ce2230308f8877b Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 22 Aug 2024 01:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DMOD=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=87=BA=E9=94=99=E6=97=B6=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E7=9A=84bug=20fix=20#420?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 13 ++++++++++--- .../mod/0000_core/lang/en/Base2408.lps | 1 + .../mod/0000_core/lang/zh-Hans/Base2408.lps | 1 + .../mod/0000_core/lang/zh-Hant/Base2408.lps | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 19651d2..db6bbab 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -222,9 +222,16 @@ namespace VPet_Simulator.Windows { //保存日程表 ScheduleTask?.Save(); - //保存插件 - foreach (MainPlugin mp in Plugins) - mp.Save(); + try + { + //保存插件 + foreach (MainPlugin mp in Plugins) + mp.Save(); + } + catch (Exception e) + { + MessageBox.Show(e.ToString(), "由于插件引起的保存错误".Translate()); + } //游戏存档 if (Set != null) { diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2408.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2408.lps index 1855968..488700b 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2408.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2408.lps @@ -11,3 +11,4 @@ 过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#Celebrating birthdays and such is too childish. I'm not a child anymore, how can I follow the childish ways of celebrating birthdays? It has nothing to do with weight! I've been hurt by cakes, starting today, I'm giving up on cakes!:| 是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#I suddenly realized a philosophical problem: if I treat every day as my birthday, then I can celebrate my birthday every day! This is a great discovery of dialectical materialism!:| 转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#It's been a week since then. The feeling of my birthday is slowly fading away. Master, will you still be willing to celebrate my birthday with me next year?:| +由于插件引起的保存错误#Save error caused by the plugin:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2408.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2408.lps index 7918e8f..6658960 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2408.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2408.lps @@ -11,3 +11,4 @@ 过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!:| 是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!:| 转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?:| +由于插件引起的保存错误#由于插件引起的保存错误:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2408.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2408.lps index f6e2f98..52872dc 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2408.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2408.lps @@ -11,3 +11,4 @@ 过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#過生日什麼的太幼稚辣。人家也老大不小了,怎麼可以去學小孩過生日。和體重沒關係!我被蛋糕所傷,今日起,戒蛋糕!:| 是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#是突然發現一個哲學問題,只要我把每天都當生日,那我就可以每天過生日了!這可是辯證唯物論的大發現啊!:| 转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#轉眼之間已經過了一週呢。生日的感覺也在慢慢淡忘。主人,明年你還願意陪我過生日嗎?:| +由于插件引起的保存错误#由於插件引起的保存錯誤:| \ No newline at end of file