feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -15,63 +15,63 @@
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCode" runat="server" Label="材料编码"
|
||||
<f:TextBox ID="txtCode" runat="server" Label="<%$ Resources:UiText, T_材料编码 %>"
|
||||
Required="true" MaxLength="50" ShowRedStar="true" FocusOnPageLoad="true" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtHeatNo" runat="server" Label="炉号"
|
||||
<f:TextBox ID="txtHeatNo" runat="server" Label="<%$ Resources:UiText, T_炉号 %>"
|
||||
MaxLength="50" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtBatchNo" runat="server" Label="批号"
|
||||
<f:TextBox ID="txtBatchNo" runat="server" Label="<%$ Resources:UiText, T_批号 %>"
|
||||
MaxLength="50" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialName" runat="server" Label="类型"
|
||||
<f:TextBox ID="txtMaterialName" runat="server" Label="<%$ Resources:UiText, T_类型 %>"
|
||||
Required="true" MaxLength="50" ShowRedStar="true" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialSpec" runat="server" Label="规格"
|
||||
<f:TextBox ID="txtMaterialSpec" runat="server" Label="<%$ Resources:UiText, T_规格 %>"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialMade" runat="server" Label="材质" Hidden="true"
|
||||
<f:TextBox ID="txtMaterialMade" runat="server" Label="<%$ Resources:UiText, T_材质 %>" Hidden="true"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialUnit" runat="server" Label="单位"
|
||||
<f:TextBox ID="txtMaterialUnit" runat="server" Label="<%$ Resources:UiText, T_单位 %>"
|
||||
LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtDesignInstitute" runat="server" Label="所属设计院"
|
||||
<f:TextBox ID="txtDesignInstitute" runat="server" Label="<%$ Resources:UiText, T_所属设计院 %>"
|
||||
MaxLength="200" LabelWidth="100px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtMaterialDef" runat="server" Label="描述" MaxLength="300" LabelWidth="100px">
|
||||
<f:TextArea ID="txtMaterialDef" runat="server" Label="<%$ Resources:UiText, T_描述 %>" MaxLength="300" LabelWidth="100px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
@@ -82,7 +82,7 @@
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" Text="关闭"
|
||||
<f:Button ID="btnClose" EnablePostBack="false" Text="<%$ Resources:UiText, T_关闭 %>"
|
||||
runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
|
||||
Reference in New Issue
Block a user