diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 33609a5..cd82e25 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -64,7 +64,11 @@ namespace VPet_Simulator.Windows var destr = Sub.TextDeReplace(str); if (destr == str) return str; - return destr.Translate(); + if (LocalizeCore.CurrentLPS != null && LocalizeCore.CurrentLPS.Assemblage.TryGetValue(destr, out ILine line)) + { + return line.GetString(); + } + return str; }; CultureInfo.CurrentCulture = new CultureInfo(CultureInfo.CurrentCulture.Name); diff --git a/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj b/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj index f9646b8..7509048 100644 --- a/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj +++ b/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj @@ -219,7 +219,7 @@ - + diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/TextClick_v2.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/TextClick_v2.lps index d4b2193..a157dde 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/TextClick_v2.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/TextClick_v2.lps @@ -49,7 +49,7 @@ Hello,I am Li Hua#Hello, I am Li Hua:| 想不出来了啦!#My Brain doesn't work anymore, i need a break!:| 想写主人#I want to write soemthing about master.:| 乱写乱画中#...scribble, scribble, scribble...:| -《我与主人的故事》写好了!诶?不行吗#"My Love Story with My Master" is finished! Or? Is it?:| +《我与主人的故事》写好了!诶?不行吗#"My Story with My Master" is finished! Or? Is it?:| 我有一个好点子!#I have a great idea!:| 《我与主人的现实世界美好生活》#"My Beutiful Life in the Real World with my Master".:| 有了!#Got it!:|