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
@@ -3,7 +3,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>编辑接口设置</title>
<title><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_编辑接口设置 %>" /></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
@@ -14,7 +14,7 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtFaceName" runat="server" Label="接口名称" Required="true" ShowRedStar="true" MaxLength="50"
<f:TextBox ID="txtFaceName" runat="server" Label="<%$ Resources:UiText, T_接口名称 %>" Required="true" ShowRedStar="true" MaxLength="50"
FocusOnPageLoad="true">
</f:TextBox>
@@ -24,12 +24,12 @@
<Items>
<f:DropDownList ID="drpUnit" runat="server" Label="源单位" EnableEdit="true" ForceSelection="false"
<f:DropDownList ID="drpUnit" runat="server" Label="<%$ Resources:UiText, T_源单位 %>" EnableEdit="true" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
<f:TextBox ID="txtFaceUrl" runat="server" Label="来源地址" Required="true" ShowRedStar="true" >
<f:TextBox ID="txtFaceUrl" runat="server" Label="<%$ Resources:UiText, T_来源地址 %>" Required="true" ShowRedStar="true" >
</f:TextBox>
<f:DropDownList ID="DrpUrlReqMethod" runat="server" Label="请求类型" EnableEdit="false" ForceSelection="false"
<f:DropDownList ID="DrpUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
@@ -38,43 +38,43 @@
<f:FormRow>
<Items>
<f:DropDownBox runat="server" ID="drpAuthUnit" DataControlID="rbAuthUnits"
Label="目标单位" MaxLength="4000">
Label="<%$ Resources:UiText, T_目标单位 %>" MaxLength="4000">
<PopPanel>
<f:SimpleForm ID="SimpleForm2" BodyPadding="10px" runat="server" AutoScroll="true"
ShowBorder="True" ShowHeader="false" Hidden="true">
<Items>
<f:Label ID="Label1" runat="server" Text="请选择目标单位:"></f:Label>
<f:Label ID="Label1" runat="server" Text="<%$ Resources:UiText, T_请选择目标单位 %>"></f:Label>
<f:CheckBoxList ID="rbAuthUnits" ColumnNumber="3" runat="server">
</f:CheckBoxList>
</Items>
</f:SimpleForm>
</PopPanel>
</f:DropDownBox>
<f:TextBox ID="txtFaceForUrl" runat="server" Label="目标地址" Required="true" ShowRedStar="true">
<f:TextBox ID="txtFaceForUrl" runat="server" Label="<%$ Resources:UiText, T_目标地址 %>" Required="true" ShowRedStar="true">
</f:TextBox>
<f:DropDownList ID="DrpForUrlReqMethod" runat="server" Label="请求类型" EnableEdit="false" ForceSelection="false"
<f:DropDownList ID="DrpForUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBox ID="IsCallBack" Label="是否回调" runat="server" DisplayType="Switch" OnCheckedChanged="IsCallBack_CheckedChanged"
<f:CheckBox ID="IsCallBack" Label="<%$ Resources:UiText, T_是否回调 %>" runat="server" DisplayType="Switch" OnCheckedChanged="IsCallBack_CheckedChanged"
Checked="true" AutoPostBack="true">
</f:CheckBox>
<f:TextBox ID="txtCallBackUrl" runat="server" Label="回调地址" Hidden="false" >
<f:TextBox ID="txtCallBackUrl" runat="server" Label="<%$ Resources:UiText, T_回调地址 %>" Hidden="false" >
</f:TextBox>
<f:DropDownList ID="DrpCallBackUrlReqMethod" runat="server" Label="请求类型" EnableEdit="false" ForceSelection="false"
<f:DropDownList ID="DrpCallBackUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpIsOpen" runat="server" Label="是否启用" EnableEdit="false" ForceSelection="false"
<f:DropDownList ID="drpIsOpen" runat="server" Label="<%$ Resources:UiText, T_是否启用 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
<f:TextBox ID="txtRemarks" runat="server" Label="描述" MaxLength="500">
<f:TextBox ID="txtRemarks" runat="server" Label="<%$ Resources:UiText, T_描述 %>" MaxLength="500">
</f:TextBox>
</Items>
</f:FormRow>
@@ -82,10 +82,10 @@
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1" Hidden="true"
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="<%$ Resources:UiText, T_保存 %>" ToolTip="<%$ Resources:UiText, T_保存 %>" ValidateForms="SimpleForm1" Hidden="true"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" Text="关闭" ToolTip="关闭" runat="server" Icon="SystemClose">
<f:Button ID="btnClose" EnablePostBack="false" Text="<%$ Resources:UiText, T_关闭 %>" ToolTip="<%$ Resources:UiText, T_关闭 %>" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>