From c0d50667d1776f800cfc25ba4da7a30dd0089910 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 31 Aug 2023 17:16:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E9=83=A8=E5=88=86=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet.ModMaker/Models/ModInfoModel.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/VPet.ModMaker/Models/ModInfoModel.cs b/VPet.ModMaker/Models/ModInfoModel.cs index 9c9873a..0b94132 100644 --- a/VPet.ModMaker/Models/ModInfoModel.cs +++ b/VPet.ModMaker/Models/ModInfoModel.cs @@ -1,6 +1,7 @@ using HKW.HKWViewModels.SimpleObservable; using LinePutScript; using LinePutScript.Converter; +using LinePutScript.Localization.WPF; using System; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -59,10 +60,10 @@ public class ModInfoModel : I18nModel public string GetSummary() { - return $@"包含以下内容: -食物: {Foods.Count} -点击文本: {ClickTexts.Count} -低状态文本: {LowTexts.Count}"; + return @"包含以下内容: +食物: {0} +点击文本: {1} +低状态文本: {2}".Translate(Foods.Count, ClickTexts.Count, LowTexts.Count); } public const string ModInfoFile = "info.lps";