diff --git a/src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx b/src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
index 8e8e53e196..755b3d772d 100644
--- a/src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
+++ b/src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
@@ -26,6 +26,6 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/create/PartialViewMacro.ascx b/src/Umbraco.Web.UI/umbraco/create/PartialViewMacro.ascx
index 7ceea23455..deaeebe2f9 100644
--- a/src/Umbraco.Web.UI/umbraco/create/PartialViewMacro.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/PartialViewMacro.ascx
@@ -33,6 +33,6 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/create/content.ascx b/src/Umbraco.Web.UI/umbraco/create/content.ascx
index 47ea26143d..e3e0f3f75f 100644
--- a/src/Umbraco.Web.UI/umbraco/create/content.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/content.ascx
@@ -1,11 +1,11 @@
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="content.ascx.cs" Inherits="umbraco.cms.presentation.create.controls.content" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
-
<%=umbraco.ui.Text("name")%>:
+<%=Services.TextService.Localize("name")%>:
*
-<%=umbraco.ui.Text("choose")%> <%=umbraco.ui.Text("documentType")%>:
+<%=Services.TextService.Localize("choose")%> <%=Services.TextService.Localize("documentType")%>:
*
@@ -18,10 +18,10 @@
diff --git a/src/Umbraco.Web.UI/umbraco/create/language.ascx b/src/Umbraco.Web.UI/umbraco/create/language.ascx
index 686cbbdb96..a5c2f06c4f 100644
--- a/src/Umbraco.Web.UI/umbraco/create/language.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/language.ascx
@@ -11,8 +11,8 @@
- <%=umbraco.ui.Text("cancel")%>
-
+ <%=Services.TextService.Localize("cancel")%>
+
diff --git a/src/Umbraco.Web.UI/umbraco/create/member.ascx b/src/Umbraco.Web.UI/umbraco/create/member.ascx
index 5d6ea30f8e..6bb3b6d378 100644
--- a/src/Umbraco.Web.UI/umbraco/create/member.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/member.ascx
@@ -7,8 +7,8 @@
- <%=umbraco.ui.Text("choose")%>
- <%=umbraco.ui.Text("membertype")%>:
+ <%=Services.TextService.Localize("membertype")%>:*
@@ -44,5 +44,5 @@
- <%= umbraco.ui.Text("or") %> <%=umbraco.ui.Text("cancel")%>
+ <%= Services.TextService.Localize("or") %> <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx b/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
index 4b11f4d990..a4c010a46e 100644
--- a/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/nodeType.ascx
@@ -27,6 +27,6 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/create/script.ascx b/src/Umbraco.Web.UI/umbraco/create/script.ascx
index 4a4671ec6f..0dc6ebc9a3 100644
--- a/src/Umbraco.Web.UI/umbraco/create/script.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/script.ascx
@@ -29,6 +29,6 @@
- <%=umbraco.ui.Text("cancel")%>
-
+ <%=Services.TextService.Localize("cancel")%>
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/create/simple.ascx b/src/Umbraco.Web.UI/umbraco/create/simple.ascx
index a057cb3d98..4dba61cbe8 100644
--- a/src/Umbraco.Web.UI/umbraco/create/simple.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/simple.ascx
@@ -9,7 +9,7 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/create/xslt.ascx b/src/Umbraco.Web.UI/umbraco/create/xslt.ascx
index 857db84f9e..38475c2457 100644
--- a/src/Umbraco.Web.UI/umbraco/create/xslt.ascx
+++ b/src/Umbraco.Web.UI/umbraco/create/xslt.ascx
@@ -24,7 +24,7 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/developer/Packages/SubmitPackage.aspx b/src/Umbraco.Web.UI/umbraco/developer/Packages/SubmitPackage.aspx
index a882fedef2..1a986594e3 100644
--- a/src/Umbraco.Web.UI/umbraco/developer/Packages/SubmitPackage.aspx
+++ b/src/Umbraco.Web.UI/umbraco/developer/Packages/SubmitPackage.aspx
@@ -105,7 +105,7 @@
- <%= umbraco.ui.Text("or") %> "><%= umbraco.ui.Text("cancel") %>
+ <%= Services.TextService.Localize("or") %> "><%= Services.TextService.Localize("cancel") %>
diff --git a/src/Umbraco.Web.UI/umbraco/developer/RelationTypes/NewRelationType.aspx b/src/Umbraco.Web.UI/umbraco/developer/RelationTypes/NewRelationType.aspx
index b42ec52761..b6aeecca43 100644
--- a/src/Umbraco.Web.UI/umbraco/developer/RelationTypes/NewRelationType.aspx
+++ b/src/Umbraco.Web.UI/umbraco/developer/RelationTypes/NewRelationType.aspx
@@ -42,7 +42,7 @@
- <%=umbraco.ui.Text("cancel")%>
+ <%=Services.TextService.Localize("cancel")%>
diff --git a/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltChooseExtension.aspx b/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltChooseExtension.aspx
index 0700ee1c91..5fab78f083 100644
--- a/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltChooseExtension.aspx
+++ b/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltChooseExtension.aspx
@@ -37,7 +37,7 @@ div.code input{border: none; background:#F6F6F9; color: #000; padding: 5px; font
- <%= umbraco.ui.Text("or") %> <%= umbraco.ui.Text("cancel") %>
+ <%= Services.TextService.Localize("or") %> <%= Services.TextService.Localize("cancel") %>
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltInsertValueOf.aspx b/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltInsertValueOf.aspx
index 576cd6dff2..4a0a92f2a4 100644
--- a/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltInsertValueOf.aspx
+++ b/src/Umbraco.Web.UI/umbraco/developer/Xslt/xsltInsertValueOf.aspx
@@ -57,6 +57,6 @@ body{margin: 0px; padding: 0px;}
- <%= umbraco.ui.Text("or") %> <%= umbraco.ui.Text("cancel") %>
+ <%= Services.TextService.Localize("or") %> <%= Services.TextService.Localize("cancel") %>
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx
index a5ebd8be30..03f909abaa 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx
@@ -113,7 +113,7 @@
- <%= umbraco.ui.Text("or") %>
+ <%= Services.TextService.Localize("or") %>
<%=umbraco.ui.Text("general", "cancel", Security.CurrentUser)%>
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/SendPublish.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/SendPublish.aspx
index 39ee58aee0..5ab6a3b97a 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/SendPublish.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/SendPublish.aspx
@@ -2,12 +2,12 @@
- umbraco - <%=umbraco.ui.Text("editContentSendToPublish")%>
+ umbraco - <%=Services.TextService.Localize("editContentSendToPublish")%>
- <%=umbraco.ui.Text("editContentSendToPublishText")%>
+ <%=Services.TextService.Localize("editContentSendToPublishText")%>
- <%=umbraco.ui.Text("closewindow")%>
+ <%=Services.TextService.Localize("closewindow")%>
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/create.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/create.aspx
index a60a23a9a3..64b856a697 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/create.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/create.aspx
@@ -52,11 +52,11 @@
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/emptyTrashcan.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/emptyTrashcan.aspx
index 0d886037a8..86ae240117 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/emptyTrashcan.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/emptyTrashcan.aspx
@@ -30,7 +30,7 @@
}
function updateStatusLabel(retVal) {
- jQuery('#statusLabel').html("" + retVal + " <%=umbraco.ui.Text("remaining")%> ");
+ jQuery('#statusLabel').html("" + retVal + " <%=Services.TextService.Localize("remaining")%> ");
if (retVal != '' && retVal != '0') {
setTimeout('updateStatus();', 500);
@@ -74,9 +74,9 @@
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/importDocumenttype.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/importDocumenttype.aspx
index f684e368ba..94f4cdd485 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/importDocumenttype.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/importDocumenttype.aspx
@@ -12,7 +12,7 @@
- <%=umbraco.ui.Text("importDocumentTypeHelp")%>
+ <%=Services.TextService.Localize("importDocumentTypeHelp")%>
@@ -21,18 +21,18 @@
- <%= umbraco.ui.Text("or") %> <%= umbraco.ui.Text("cancel") %>
+ <%= Services.TextService.Localize("or") %> <%= Services.TextService.Localize("cancel") %>
- <%=umbraco.ui.Text("name")%>
+ <%=Services.TextService.Localize("name")%>
:
- <%=umbraco.ui.Text("alias")%>
+ <%=Services.TextService.Localize("alias")%>
:
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpageContent.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpageContent.aspx
index 988b0e179e..349c4b542d 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpageContent.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpageContent.aspx
@@ -27,6 +27,6 @@
<%=umbraco.ui.Text("general", "cancel", this.getUser())%>
- " />
+ " />
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpagePlaceholder.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpagePlaceholder.aspx
index bfa223b4b0..fea07fc474 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpagePlaceholder.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/insertMasterpagePlaceholder.aspx
@@ -31,6 +31,6 @@
<%=umbraco.ui.Text("general", "cancel", this.getUser())%>
- " />
+ " />
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/dialogs/insertTable.aspx b/src/Umbraco.Web.UI/umbraco/dialogs/insertTable.aspx
index 3943cae364..7d8c745564 100644
--- a/src/Umbraco.Web.UI/umbraco/dialogs/insertTable.aspx
+++ b/src/Umbraco.Web.UI/umbraco/dialogs/insertTable.aspx
@@ -284,7 +284,7 @@ function insertTable()
- ')) window.close();" value="<%=umbraco.ui.Text("cancel")%>">
- ">
+ ')) window.close();" value="<%=Services.TextService.Localize("cancel")%>">
+ ">