From ba6207f52db76ab47cd6534de0cf1712674ff179 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 13 三月 2025 09:00:46 +0800
Subject: [PATCH] 完善国际化语言;

---
 HMI.MenuManage/MenuManage.xaml.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HMI.MenuManage/MenuManage.xaml.cs b/HMI.MenuManage/MenuManage.xaml.cs
index 8ffc3c0..7ed3438 100644
--- a/HMI.MenuManage/MenuManage.xaml.cs
+++ b/HMI.MenuManage/MenuManage.xaml.cs
@@ -71,12 +71,12 @@
                     List<string> ids = Model.DataSource.Where(x => x.Selected).Select(x => x.Id).ToList();
                     if (ids == null || ids.Count <= 0)
                     {
-                        ToastHelper.Warning(Window.GetWindow(this), LangUtil.Get("HMI.Menu.NoDeleteData"));
+                        ToastHelper.Warning(Window.GetWindow(this), LangUtil.Get("HMI.NoDeleteData"));
                         return;
                     }
 
                     var res = MsgBoxHelper.WarnMessage(Window.GetWindow(this),
-                        string.Format(LangUtil.Get("HMI.Menu.MakeSureDeletes"), ids.Count));
+                        string.Format(LangUtil.Get("HMI.MakeSureDeletes"), ids.Count));
                     if (res == MessageBoxResult.OK)
                     {
                         Model.DeleteMenuByIds(ids);
@@ -118,7 +118,7 @@
                 {
                     var data = (MenuData)((Button)sender).DataContext;
                     var res = MsgBoxHelper.WarnMessage(Window.GetWindow(this),
-                        string.Format(LangUtil.Get("HMI.Menu.MakeSureDeleteSingle"), data.Name));
+                        string.Format(LangUtil.Get("HMI.MakeSureDeleteSingle"), data.Name));
                     if (res == MessageBoxResult.OK)
                     {
                         Model.DeleteMenuById(data.Id);

--
Gitblit v1.9.1