feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -542,7 +542,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("ControlItemProjectEdit.aspx?type=modify&ControlItemCode={0}&WorkPackageCode={1}", this.Grid1.SelectedRowID, this.trWBS.SelectedNodeID, "新增 - ")));
|
||||
@@ -559,7 +559,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
var controlItemAndCycle = Funs.DB.WBS_ControlItemAndCycle.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.InitControlItemCode == Grid1.SelectedRowID);
|
||||
@@ -573,7 +573,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, Grid1.SelectedRowID, Grid1.SelectedRowID, BLL.Const.ControlItemProjectSetMenuId, "删除工作包");
|
||||
Grid1.DataBind();
|
||||
BindGrid();
|
||||
Alert.ShowInTop("删除数据成功!", MessageBoxIcon.Success);
|
||||
Alert.ShowInTop(BLL.UiText.Message("删除数据成功!"), MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -642,19 +642,19 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
{
|
||||
if (workPackageProject.ProjectType == "1") //建筑工程
|
||||
{
|
||||
this.Grid1.Columns[4].HeaderText = "对应的建筑资料表格";
|
||||
SetLocalizedHeader(this.Grid1, 4, "对应的建筑资料表格");
|
||||
this.Grid1.Columns[5].Hidden = true;
|
||||
this.lbHd.Width = System.Web.UI.WebControls.Unit.Pixel(480);
|
||||
this.cbAllHGForms.Label = "全选对应的建筑资料表格";
|
||||
this.cbAllHGForms.Label = BLL.UiText.Message("全选对应的建筑资料表格");
|
||||
this.cbAllHGForms.LabelWidth = System.Web.UI.WebControls.Unit.Pixel(175);
|
||||
this.cbAllSHForms.Hidden = true;
|
||||
}
|
||||
else //安装工程
|
||||
{
|
||||
this.Grid1.Columns[4].HeaderText = "对应的化工资料表格";
|
||||
SetLocalizedHeader(this.Grid1, 4, "对应的化工资料表格");
|
||||
this.Grid1.Columns[5].Hidden = false;
|
||||
this.lbHd.Width = System.Web.UI.WebControls.Unit.Pixel(380);
|
||||
this.cbAllHGForms.Label = "全选对应的化工资料表格";
|
||||
this.cbAllHGForms.Label = BLL.UiText.Message("全选对应的化工资料表格");
|
||||
this.cbAllHGForms.LabelWidth = System.Web.UI.WebControls.Unit.Pixel(175);
|
||||
this.cbAllSHForms.Hidden = false;
|
||||
}
|
||||
@@ -1006,7 +1006,7 @@ namespace FineUIPro.Web.CQMS.WBS
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择树节点的末级!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("请选择树节点的末级!"), MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user