feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -382,7 +382,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("ControlItemInitEdit.aspx?type=modify&ControlItemCode={0}&WorkPackageCode={1}", this.Grid1.SelectedRowID, this.trWBS.SelectedNodeID, "新增 - ")));
|
||||
@@ -399,14 +399,14 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
BLL.ControlItemInitService.DeleteControlItemInit(Grid1.SelectedRowID);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, Grid1.SelectedRowID, Grid1.SelectedRowID, BLL.Const.ControlItemInitSetMenuId, "删除工作包");
|
||||
Grid1.DataBind();
|
||||
BindGrid();
|
||||
Alert.ShowInTop("删除数据成功!", MessageBoxIcon.Success);
|
||||
Alert.ShowInTop(BLL.UiText.Message("删除数据成功!"), MessageBoxIcon.Success);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -474,12 +474,12 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (workPackageInit.ProjectType == "1") //建筑工程
|
||||
{
|
||||
this.Grid1.Columns[4].HeaderText = "对应的建筑资料表格";
|
||||
SetLocalizedHeader(this.Grid1, 4, "对应的建筑资料表格");
|
||||
this.Grid1.Columns[5].Hidden = true;
|
||||
}
|
||||
else //安装工程
|
||||
{
|
||||
this.Grid1.Columns[4].HeaderText = "对应的化工资料表格";
|
||||
SetLocalizedHeader(this.Grid1, 4, "对应的化工资料表格");
|
||||
this.Grid1.Columns[5].Hidden = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user