mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复与MOD AutoMTL 的兼容性
This commit is contained in:
parent
fa2c40e97a
commit
9808de0396
@ -64,7 +64,11 @@ namespace VPet_Simulator.Windows
|
|||||||
var destr = Sub.TextDeReplace(str);
|
var destr = Sub.TextDeReplace(str);
|
||||||
if (destr == str)
|
if (destr == str)
|
||||||
return 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);
|
CultureInfo.CurrentCulture = new CultureInfo(CultureInfo.CurrentCulture.Name);
|
||||||
|
@ -219,7 +219,7 @@
|
|||||||
<PackageReference Include="Facepunch.Steamworks" Condition="'$(Platform)' == 'x64'" Version="2.3.3" />
|
<PackageReference Include="Facepunch.Steamworks" Condition="'$(Platform)' == 'x64'" Version="2.3.3" />
|
||||||
<PackageReference Include="Facepunch.Steamworks.win32" Condition="'$(Platform)' == 'x86'" Version="2.3.3" />
|
<PackageReference Include="Facepunch.Steamworks.win32" Condition="'$(Platform)' == 'x86'" Version="2.3.3" />
|
||||||
<PackageReference Include="LinePutScript" Version="1.11.6" />
|
<PackageReference Include="LinePutScript" Version="1.11.6" />
|
||||||
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.6" />
|
<PackageReference Include="LinePutScript.Localization.WPF" Version="1.0.7" />
|
||||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
||||||
<PackageReference Include="NAudio" Version="2.2.1" />
|
<PackageReference Include="NAudio" Version="2.2.1" />
|
||||||
<PackageReference Include="Panuon.WPF" Version="1.1.0" />
|
<PackageReference Include="Panuon.WPF" Version="1.1.0" />
|
||||||
|
@ -49,7 +49,7 @@ Hello,I am Li Hua#Hello, I am Li Hua:|
|
|||||||
想不出来了啦!#My Brain doesn't work anymore, i need a break!:|
|
想不出来了啦!#My Brain doesn't work anymore, i need a break!:|
|
||||||
想写主人#I want to write soemthing about master.:|
|
想写主人#I want to write soemthing about master.:|
|
||||||
乱写乱画中#...scribble, scribble, scribble...:|
|
乱写乱画中#...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!:|
|
我有一个好点子!#I have a great idea!:|
|
||||||
《我与主人的现实世界美好生活》#"My Beutiful Life in the Real World with my Master".:|
|
《我与主人的现实世界美好生活》#"My Beutiful Life in the Real World with my Master".:|
|
||||||
有了!#Got it!:|
|
有了!#Got it!:|
|
||||||
|
Loading…
Reference in New Issue
Block a user