feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -86,7 +86,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
{
|
||||
//if (this.drpProjectType.SelectedValue == BLL.Const._Null)
|
||||
//{
|
||||
// Alert.ShowInTop("所属工程不能为空!", MessageBoxIcon.Warning);
|
||||
// Alert.ShowInTop(BLL.UiText.Message("所属工程不能为空!"), MessageBoxIcon.Warning);
|
||||
// return;
|
||||
//}
|
||||
string UnitWorkId = Request.Params["UnitWorkId"];
|
||||
@@ -97,7 +97,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
int serialNumber;
|
||||
if (!int.TryParse(serialNumberText, out serialNumber) || serialNumber < 0)
|
||||
{
|
||||
Alert.ShowInTop("序号请输入0至2147483647之间的整数!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop(BLL.UiText.Message("序号请输入0至2147483647之间的整数!"), MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
UnitWork.SerialNumber = serialNumber;
|
||||
@@ -107,7 +107,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
UnitWork.UnitWorkName = this.txtUnitWorkName.Text.Trim();
|
||||
if (this.drpUnit.SelectedValue == BLL.Const._Null && this.drpUnit.SelectedValueArray.Length == 1)
|
||||
{
|
||||
Alert.ShowInTop("请选择施工单位!");
|
||||
Alert.ShowInTop(BLL.UiText.Message("请选择施工单位!"));
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user