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
@@ -97,13 +97,13 @@ namespace FineUIPro.Web.CQMS.WBS
{
if (this.fuAttachUrl.HasFile == false)
{
Alert.ShowInTop("请您选择Excel文件!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请您选择Excel文件!"), MessageBoxIcon.Warning);
return;
}
string IsXls = Path.GetExtension(this.fuAttachUrl.FileName).ToString().Trim().ToLower();
if (IsXls != ".xls")
{
Alert.ShowInTop("只可以选择Excel文件!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("只可以选择Excel文件!"), MessageBoxIcon.Warning);
return;
}
if (ViewWorkPackages != null)
@@ -312,7 +312,7 @@ namespace FineUIPro.Web.CQMS.WBS
{
results = "数据导入失败,未成功数据:" + results.Substring(0, results.LastIndexOf("|"));
errorInfos = results;
Alert.ShowInParent(results, MessageBoxIcon.Warning);
Alert.ShowInParent(BLL.UiText.Message(results), MessageBoxIcon.Warning);
}
else
{
@@ -327,7 +327,7 @@ namespace FineUIPro.Web.CQMS.WBS
}
else
{
Alert.ShowInTop("导入数据为空!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("导入数据为空!"), MessageBoxIcon.Warning);
}
BLL.UploadFileService.DeleteFile(Funs.RootPath, initPath + this.hdFileName.Text);
@@ -383,13 +383,13 @@ namespace FineUIPro.Web.CQMS.WBS
{
if (this.fuAttachUrl.HasFile == false)
{
Alert.ShowInTop("请您选择Excel文件!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请您选择Excel文件!"), MessageBoxIcon.Warning);
return;
}
string IsXls = Path.GetExtension(this.fuAttachUrl.FileName).ToString().Trim().ToLower();
if (IsXls != ".xls")
{
Alert.ShowInTop("只可以选择Excel文件!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("只可以选择Excel文件!"), MessageBoxIcon.Warning);
return;
}
if (ViewWorkPackages != null)
@@ -567,7 +567,7 @@ namespace FineUIPro.Web.CQMS.WBS
{
results = "数据导入失败,未成功数据:" + results.Substring(0, results.LastIndexOf("|"));
errorInfos = results;
Alert.ShowInParent(results, MessageBoxIcon.Warning);
Alert.ShowInParent(BLL.UiText.Message(results), MessageBoxIcon.Warning);
return;
}
else
@@ -582,7 +582,7 @@ namespace FineUIPro.Web.CQMS.WBS
}
else
{
Alert.ShowInTop("导入数据为空!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("导入数据为空!"), MessageBoxIcon.Warning);
}
BLL.UploadFileService.DeleteFile(Funs.RootPath, initPath + this.hdFileName.Text);
}