feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -126,7 +126,7 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||
Dictionary<string, HJGL_Pipeline> pipelinesByCode;
|
||||
if(drpUnitWork.SelectedValue == null|| drpUnitWork.SelectedValue==Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择单位工程", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请选择单位工程"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Alert.ShowInTop("识别数据校验或管线保存失败:" + ex.Message, MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("识别数据校验或管线保存失败:" + ex.Message), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -399,7 +399,7 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Alert.ShowInTop("识别结果解析失败:" + ex.Message, MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("识别结果解析失败:" + ex.Message), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -786,14 +786,14 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请选择一条记录!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.HJGL_DataInMenuId, Const.BtnAdd))
|
||||
{
|
||||
if (MaterialEntities == null)
|
||||
{
|
||||
Alert.ShowInTop("实体数据已失效,请重新审核识别结果!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("实体数据已失效,请重新审核识别结果!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user