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
@@ -126,7 +126,7 @@
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
return;
}
@@ -135,7 +135,7 @@
string roleIds = getRoleId(Grid1.DataKeys[rowIndex][0].ToString());
if (string.IsNullOrEmpty(roleIds))
{
Alert.ShowInTop("请先选中项目角色!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请先选中项目角色!"), MessageBoxIcon.Warning);
return;
}
else
@@ -188,14 +188,14 @@
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请至少选择一条记录!"), MessageBoxIcon.Warning);
return;
}
string roleIds = getRoleId(Grid1.SelectedRowID);
string info = string.Empty;
if (string.IsNullOrEmpty(roleIds))
{
Alert.ShowInTop("请先选中项目角色!", MessageBoxIcon.Warning);
Alert.ShowInTop(BLL.UiText.Message("请先选中项目角色!"), MessageBoxIcon.Warning);
return;
}
else