mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
对多开内容进行翻译
This commit is contained in:
parent
25fed07686
commit
e37ce15b72
@ -239,7 +239,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
Main.ToolBar.MenuDIY.Items.Clear();
|
||||
|
||||
if (App.MutiSaves.Count > 0)
|
||||
if (App.MutiSaves.Count > 1)
|
||||
{
|
||||
var list = App.MutiSaves.ToList();
|
||||
foreach (var win in App.MainWindows)
|
||||
@ -273,7 +273,6 @@ namespace VPet_Simulator.Windows
|
||||
}
|
||||
Main.ToolBar.MenuDIY.Items.Add(menuItem);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
foreach (Sub sub in Set["diy"])
|
||||
|
@ -964,7 +964,7 @@ namespace VPet_Simulator.Windows
|
||||
LBHave.Items.Clear();
|
||||
foreach (var str in App.MutiSaves)
|
||||
{
|
||||
var rn = str;
|
||||
var rn = str.Translate();
|
||||
if (str == "")
|
||||
rn = "默认存档".Translate();
|
||||
if (str == mw.PrefixSave.Trim('-'))
|
||||
@ -1008,6 +1008,7 @@ namespace VPet_Simulator.Windows
|
||||
File.WriteAllText(ExtensionValue.BaseDirectory + @$"\Setting-{savename}.lps", lps.ToString());
|
||||
App.MutiSaves.Add(savename);
|
||||
new MainWindow(savename).Show();
|
||||
LoadMutiUI();
|
||||
return;
|
||||
case MessageBoxResult.No:
|
||||
break;
|
||||
@ -1455,7 +1456,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (LBHave.SelectedIndex == -1)
|
||||
return;
|
||||
var str = LBHave.SelectedItem as string;
|
||||
var str = App.MutiSaves[LBHave.SelectedIndex];
|
||||
if (str == "默认存档".Translate())
|
||||
{
|
||||
str = string.Empty;
|
||||
@ -1494,7 +1495,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (LBHave.SelectedIndex == -1)
|
||||
return;
|
||||
var str = LBHave.SelectedItem as string;
|
||||
var str = App.MutiSaves[LBHave.SelectedIndex];
|
||||
if (str == "默认存档".Translate())
|
||||
{
|
||||
MessageBoxX.Show("默认存档无法删除,请使用重新开始功能重新开始游戏".Translate());
|
||||
|
Loading…
Reference in New Issue
Block a user