U4-1057: Add localization of 'relate copied items' text

This commit is contained in:
Tom Fulton
2012-10-25 19:42:16 +04:00
parent d9c37a03b9
commit e4bfccf974
4 changed files with 7 additions and 3 deletions

View File

@@ -482,6 +482,7 @@ To manage your website, simply open the umbraco back office and start adding con
<key alias="notAllowedByContentType">The current node is not allowed under the chosen node because of its type</key>
<key alias="notAllowedByPath">The current node cannot be moved to one of its subpages</key>
<key alias="notValid">The action isn't allowed since you have insufficient permissions on 1 or more child documents.</key>
<key alias="relateToOriginal">Relate copied items to original</key>
</area>
<area alias="notifications">
<key alias="editNotifications">Edit your notification for %0%</key>

View File

@@ -62,7 +62,7 @@
IsDialog="true" DialogMode="id" ShowContextMenu="false" FunctionToCall="dialogHandler"
Height="200"></umbraco:TreeControl>
</cc1:PropertyPanel>
<cc1:PropertyPanel runat="server" ID="pp_relate" Text="Relate copied items to original">
<cc1:PropertyPanel runat="server" ID="pp_relate" Text="relateToOriginal">
<asp:CheckBox runat="server" ID="RelateDocuments" Checked="false" />
</cc1:PropertyPanel>
</cc1:Pane>

View File

@@ -62,7 +62,7 @@
IsDialog="true" DialogMode="id" ShowContextMenu="false" FunctionToCall="dialogHandler"
Height="200"></umbraco:TreeControl>
</cc1:PropertyPanel>
<cc1:PropertyPanel runat="server" ID="pp_relate" Text="Relate copied items to original">
<cc1:PropertyPanel runat="server" ID="pp_relate" Text="relateToOriginal">
<asp:CheckBox runat="server" ID="RelateDocuments" Checked="false" />
</cc1:PropertyPanel>
</cc1:Pane>

View File

@@ -33,7 +33,10 @@ namespace umbraco.dialogs
JTree.DataBind();
// Put user code to initialize the page here
if (!IsPostBack) {
if (!IsPostBack)
{
pp_relate.Text = ui.Text("moveOrCopy", "relateToOriginal");
//Document Type copy Hack...
string app = helper.Request("app");