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
@@ -11,17 +11,17 @@
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" Title="基本信息"
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" Title="<%$ Resources:UiText, T_基本信息 %>"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="DropImportType" Label="文件类别" ShowRedStar="true" Required="true" LabelAlign="Right" LabelWidth="140px" AutoPostBack="true">
<f:ListItem Text="ISO轴测图" Value="0" />
<f:ListItem Text="ISO施工轴测图" Value="4" />
<f:ListItem Text="管道预制加工图" Value="3" />
<f:DropDownList runat="server" ID="DropImportType" Label="<%$ Resources:UiText, T_文件类别 %>" ShowRedStar="true" Required="true" LabelAlign="Right" LabelWidth="140px" AutoPostBack="true">
<f:ListItem Text="<%$ Resources:UiText, T_ISO轴测图 %>" Value="0" />
<f:ListItem Text="<%$ Resources:UiText, T_ISO施工轴测图 %>" Value="4" />
<f:ListItem Text="<%$ Resources:UiText, T_管道预制加工图 %>" Value="3" />
</f:DropDownList>
<f:DropDownList ID="DropDesignProfessional" runat="server" Label="专业" ShowRedStar="true" AutoSelectFirstItem="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="DropDesignProfessional" runat="server" Label="<%$ Resources:UiText, T_专业 %>" ShowRedStar="true" AutoSelectFirstItem="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
</Items>
</f:FormRow>
<%--<f:FormRow>
@@ -32,8 +32,8 @@
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="更新原因" LabelAlign="Right" AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" LabelWidth="140px"></f:TextArea>
<f:Button ID="btnAttachUrl_Remark" Text="上传附件" ToolTip="附件" Icon="TableCell" runat="server"
<f:TextArea ID="txtRemark" runat="server" Label="<%$ Resources:UiText, T_更新原因 %>" LabelAlign="Right" AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" LabelWidth="140px"></f:TextArea>
<f:Button ID="btnAttachUrl_Remark" Text="<%$ Resources:UiText, T_上传附件 %>" ToolTip="<%$ Resources:UiText, T_附件_2 %>" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_Remark_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
@@ -42,14 +42,14 @@
<Toolbars>
<f:Toolbar ID="Toolbar5" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" ToolTip="保存" Icon="SystemSave" OnClick="btnSave_Click"
<f:Button ID="btnSave" ToolTip="<%$ Resources:UiText, T_保存 %>" Icon="SystemSave" OnClick="btnSave_Click"
EnablePostBack="true" runat="server">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="WindowAtt" Title="附件上传" Hidden="true" EnableMaximize="true" EnableIFrame="true"
<f:Window ID="WindowAtt" Title="<%$ Resources:UiText, T_附件上传 %>" Hidden="true" EnableMaximize="true" EnableIFrame="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>