滚回DoingTrans

This commit is contained in:
ZouJin 2023-09-15 00:31:09 +08:00
parent f73d8a0154
commit 88eb7ae3ff
3 changed files with 4 additions and 5 deletions

View File

@ -119,12 +119,12 @@ namespace VPet_Simulator.Core
else
{
DisplayBorder.Visibility = Visibility.Visible;
btnStop.Content = LocalizeCore.Translate("停止") + nowWork.DoingTrans;
btnStop.Content = LocalizeCore.Translate("停止") + nowWork.NameTrans;
switch (DisplayType)
{
default:
case 0:
tNow.Text = LocalizeCore.Translate("当前已{0}", nowWork.DoingTrans);
tNow.Text = LocalizeCore.Translate("当前已{0}", nowWork.NameTrans);
break;
case 1:
tNow.Text = LocalizeCore.Translate("剩余{0}时间", nowWork.NameTrans);

View File

@ -101,7 +101,6 @@ namespace VPet_Simulator.Core
/// 工作名称 已翻译
/// </summary>
public string NameTrans => Name.Translate();
public string DoingTrans => (Name + "中").Translate();
/// <summary>
/// 使用动画名称
/// </summary>

View File

@ -78,11 +78,11 @@ namespace VPet_Simulator.Windows
{
if (mw.Set.PetData[(gbol)"self"])
{
MessageBoxX.Show("更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账");
MessageBoxX.Show("更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账".Translate());
}
else
{
MessageBoxX.Show("看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你");
MessageBoxX.Show("看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你".Translate());
mw.Set.PetData[(gbol)"self"] = true;
mw.Core.Save.Money += 1000;
}