feat(i18n): 支持系统中英文切换

为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
2026-11-02 11:16:43 +08:00
parent 4bc1da6491
commit e30bb4b1b7
859 changed files with 91079 additions and 11959 deletions
@@ -164,11 +164,11 @@ namespace FineUIPro.Web.ProjectData
{
if (!string.IsNullOrEmpty(this.drpProject.SelectedValue))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitSelect.aspx?ProjectId={0}", this.drpProject.SelectedValue), "单位选择", 900, 520));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitSelect.aspx?ProjectId={0}", this.drpProject.SelectedValue),BLL.UiText.Message( "单位选择"), 900, 520));
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请选择项目!"), MessageBoxIcon.Warning);
return;
}
}
@@ -200,17 +200,17 @@ namespace FineUIPro.Web.ProjectData
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
return;
}
if (this.btnMenuEdit.Hidden) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitView.aspx?ProjectUnitId={0}", Grid1.SelectedRowID), "查看项目单位", 900, 650));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitView.aspx?ProjectUnitId={0}", Grid1.SelectedRowID),BLL.UiText.Message( "查看项目单位"), 900, 650));
}
else
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitSave.aspx?ProjectUnitId={0}", Grid1.SelectedRowID), "编辑项目单位", 900, 650));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectUnitSave.aspx?ProjectUnitId={0}", Grid1.SelectedRowID),BLL.UiText.Message( "编辑项目单位"), 900, 650));
}
}
@@ -313,7 +313,7 @@ namespace FineUIPro.Web.ProjectData
sb.Append("<tr>");
foreach (GridColumn column in grid.Columns)
{
sb.AppendFormat("<td>{0}</td>", column.HeaderText);
sb.AppendFormat("<td>{0}</td>", GetExportHeader(grid, column));
}
sb.Append("</tr>");
foreach (GridRow row in grid.Rows)