feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<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>
|
||||
@@ -19,7 +19,7 @@
|
||||
</f:ToolbarFill>
|
||||
<f:TextBox runat="server" ID="hdCoordinate" Hidden="true"></f:TextBox>
|
||||
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave"
|
||||
runat="server" Text="保存" ValidateForms="SimpleForm1">
|
||||
runat="server" Text="<%$ Resources:UiText, T_保存 %>" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
@@ -32,24 +32,24 @@
|
||||
<Rows>
|
||||
<f:FormRow runat="server">
|
||||
<Items>
|
||||
<f:TextBox ID="txtProjectName" runat="server" Label="项目" MaxLength="70" Readonly="true">
|
||||
<f:TextBox ID="txtProjectName" runat="server" Label="<%$ Resources:UiText, T_项目 %>" MaxLength="70" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow runat="server">
|
||||
<Items>
|
||||
<f:TextBox ID="txtMainItemCode" runat="server" Label="主项编号"
|
||||
<f:TextBox ID="txtMainItemCode" runat="server" Label="<%$ Resources:UiText, T_主项编号 %>"
|
||||
Required="true" MaxLength="70" ShowRedStar="true" AutoPostBack="true" OnTextChanged="txtMainItemCode_TextChanged">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtMainItemName" runat="server" Label="主项名称"
|
||||
<f:TextBox ID="txtMainItemName" runat="server" Label="<%$ Resources:UiText, T_主项名称 %>"
|
||||
Required="true" MaxLength="70" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" Label="包含设计专业" ShowRedStar="true"
|
||||
Required="true" ID="txtCarryUnit" EmptyText="--请选择--" EnableMultiSelect="true" MatchFieldWidth="true">
|
||||
<f:DropDownBox runat="server" Label="<%$ Resources:UiText, T_包含设计专业 %>" ShowRedStar="true"
|
||||
Required="true" ID="txtCarryUnit" EmptyText="<%$ Resources:UiText, T_请选择_2 %>" EnableMultiSelect="true" MatchFieldWidth="true">
|
||||
<PopPanel>
|
||||
<f:Grid ID="gvCarryUnit" DataIDField="DesignProfessionalId"
|
||||
EnableMultiSelect="true" KeepCurrentSelection="true" Height="300px" Hidden="true" SortField="DesignProfessionalId" DataTextField="ProfessionalName"
|
||||
@@ -58,7 +58,7 @@
|
||||
<Columns>
|
||||
<f:BoundField Width="100px" DataField="DesignProfessionalId" SortField="DesignProfessionalId" DataFormatString="{0}" Hidden="true" />
|
||||
<f:BoundField Width="100px" DataField="ProfessionalName" SortField="ProfessionalName" DataFormatString="{0}"
|
||||
HeaderText="专业名称" />
|
||||
HeaderText="<%$ Resources:UiText, T_专业名称 %>" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</PopPanel>
|
||||
@@ -67,13 +67,13 @@
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea runat="server" ID="txtRemark" Label="备注"></f:TextArea>
|
||||
<f:TextArea runat="server" ID="txtRemark" Label="<%$ Resources:UiText, T_备注 %>"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="5% 15% 80%">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="Label1" Label="位置选择" LabelWidth="150px"></f:Label>
|
||||
<f:Button runat="server" ID="Button1" OnClick="btnMap_Click" Text="选择"></f:Button>
|
||||
<f:Label runat="server" ID="Label1" Label="<%$ Resources:UiText, T_位置选择 %>" LabelWidth="150px"></f:Label>
|
||||
<f:Button runat="server" ID="Button1" OnClick="btnMap_Click" Text="<%$ Resources:UiText, T_选择 %>"></f:Button>
|
||||
<f:HiddenField runat="server" ID="HiddenField1"></f:HiddenField>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
@@ -83,7 +83,7 @@
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Window ID="Window2" Title="位置选择" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window2" Title="<%$ Resources:UiText, T_位置选择 %>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window2_Close"
|
||||
Width="860px" Height="660px">
|
||||
</f:Window>
|
||||
|
||||
Reference in New Issue
Block a user