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
@@ -125,7 +125,7 @@
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
return;
}
string id = Grid1.SelectedRowID;
@@ -179,7 +179,7 @@
this.BindGrid();
if (!string.IsNullOrEmpty(info))
{
Alert.ShowInTop("删除已完成,其中第" + info + "单据状态已生效,不能删除!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("删除已完成,其中第" + info + "单据状态已生效,不能删除!"), MessageBoxIcon.Warning);
}
else
{
@@ -254,7 +254,7 @@
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)