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
@@ -56,7 +56,7 @@
var materialEntities = MaterialEntities;
if (materialEntities == null || this.Index < 0 || this.Index >= materialEntities.Count)
{
Alert.ShowInTop("材料实体数据已失效,请关闭窗口后重新审核!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("材料实体数据已失效,请关闭窗口后重新审核!"), MessageBoxIcon.Warning);
return;
}
@@ -83,13 +83,13 @@
var materialEntities = MaterialEntities;
if (materialEntities == null || this.Index < 0 || this.Index >= materialEntities.Count)
{
Alert.ShowInTop("材料实体数据已失效,请关闭窗口后重新审核!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("材料实体数据已失效,请关闭窗口后重新审核!"), MessageBoxIcon.Warning);
return;
}
if (!int.TryParse(this.txtPageNo.Text, out var pipePageNo))
{
Alert.ShowInTop("管线页码必须为整数!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("管线页码必须为整数!"), MessageBoxIcon.Warning);
return;
}
@@ -101,7 +101,7 @@
material.Spec = this.txtSpec.Text;
material.Pipe_page_no = pipePageNo;
material.Description = this.txtDescription.Text;
Alert.ShowInTop("信息修改完成!", MessageBoxIcon.Success);
Alert.ShowInTop(BLL.UiText.Message("信息修改完成!"), MessageBoxIcon.Success);
if (ckAll.Checked)
{