feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user