feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -63,14 +63,14 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
||||
var q = Funs.DB.Base_ProtectionGas.FirstOrDefault(x => x.ProtectionGasCode == this.txtProtectionGasCode.Text.Trim() && (x.ProtectionGasId != this.ProtectionGasId || (this.ProtectionGasId == null && x.ProtectionGasId != null)));
|
||||
if (q != null)
|
||||
{
|
||||
Alert.ShowInTop("此保护气体代码已经存在!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("此保护气体代码已经存在!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
var q2 = Funs.DB.Base_ProtectionGas.FirstOrDefault(x => x.ProtectionGasName == this.txtProtectionGasName.Text.Trim() && (x.ProtectionGasId != this.ProtectionGasId || (this.ProtectionGasId == null && x.ProtectionGasId != null)));
|
||||
if (q2 != null)
|
||||
{
|
||||
Alert.ShowInTop("此保护气体名称已经存在!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("此保护气体名称已经存在!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user