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>
<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>
<base target="_self" />
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
@@ -15,31 +15,31 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtPaintCode" runat="server" Label="防腐等级" Required="true"
<f:TextBox ID="txtPaintCode" runat="server" Label="<%$ Resources:UiText, T_防腐等级 %>" Required="true"
MaxLength="50" ShowRedStar="true" FocusOnPageLoad="true" LabelWidth="120px" />
<f:TextBox ID="txtColorCode" runat="server" Label="色标" MaxLength="100" LabelWidth="120px" />
<f:TextBox ID="txtColorCode" runat="server" Label="<%$ Resources:UiText, T_色标 %>" MaxLength="100" LabelWidth="120px" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtPrimer" runat="server" Label="底漆" MaxLength="300" LabelWidth="120px" />
<f:TextArea ID="txtPrimer" runat="server" Label="<%$ Resources:UiText, T_底漆 %>" MaxLength="300" LabelWidth="120px" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtIntermediatePaint" runat="server" Label="中间漆" MaxLength="300" LabelWidth="120px" />
<f:TextArea ID="txtIntermediatePaint" runat="server" Label="<%$ Resources:UiText, T_中间漆 %>" MaxLength="300" LabelWidth="120px" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtTopcoat" runat="server" Label="面漆" MaxLength="300" LabelWidth="120px" />
<f:TextArea ID="txtTopcoat" runat="server" Label="<%$ Resources:UiText, T_面漆 %>" MaxLength="300" LabelWidth="120px" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtSortIndex" runat="server" Label="排序" DecimalPrecision="0"
<f:NumberBox ID="txtSortIndex" runat="server" Label="<%$ Resources:UiText, T_排序 %>" DecimalPrecision="0"
NoNegative="true" LabelWidth="120px" />
<f:CheckBox ID="chkIsUsed" runat="server" Label="启用" Checked="true" LabelWidth="120px" />
<f:CheckBox ID="chkIsUsed" runat="server" Label="<%$ Resources:UiText, T_启用 %>" Checked="true" LabelWidth="120px" />
</Items>
</f:FormRow>
</Rows>
@@ -47,8 +47,8 @@
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" runat="server" Icon="SystemSave" ValidateForms="SimpleForm1"
OnClick="btnSave_Click" ToolTip="保存" />
<f:Button ID="btnClose" runat="server" Text="关闭" Icon="SystemClose" EnablePostBack="false" />
OnClick="btnSave_Click" ToolTip="<%$ Resources:UiText, T_保存 %>" />
<f:Button ID="btnClose" runat="server" Text="<%$ Resources:UiText, T_关闭 %>" Icon="SystemClose" EnablePostBack="false" />
</Items>
</f:Toolbar>
</Toolbars>