From cae4d4b5b508a666fbd0dff3c2a981fdff841bc8 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 30 三月 2023 13:10:33 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' into wjc --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs index 93f3500..ff748b3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/MechanicalArmPage.cs @@ -138,6 +138,13 @@ { tipMsg = "纭畾鍏抽棴?"; } + if (Language.CurrentLanguage != "Chinese") + { + + tipMsg = "Are you sure to close?"; + if (this.btnSwitch.IsSelected) + tipMsg = "Are you sure to open it?"; + } Action action = () => { this.btnPictrue.CanClick = false; @@ -155,7 +162,7 @@ }); }); }; - new PublicAssmebly().TipOptionMsg(StringId.EmptyString, tipMsg, action); + new PublicAssmebly().TipOptionMsg(StringId.Tip, tipMsg, action); } -- Gitblit v1.8.0