From 58f59209a1cb8f93aa75586d631481f12314419c Mon Sep 17 00:00:00 2001 From: Rachel Breeze Date: Wed, 30 Oct 2019 13:48:29 +0000 Subject: [PATCH] Moved the accessibiity texts created in #6315 and #5760 into visuallyhidden section to comply with other commits --- .../editor/umbeditorcontentheader.directive.js | 4 ++-- .../components/editor/umbeditorheader.directive.js | 4 ++-- src/Umbraco.Web.UI/Umbraco/config/lang/da.xml | 6 +++--- src/Umbraco.Web.UI/Umbraco/config/lang/en.xml | 12 ++++++------ src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml | 12 ++++++------ 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js index b3948bd7c42e..fe2a6aa40ad0 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js @@ -17,8 +17,8 @@ scope.isNew = scope.content.state == "NotCreated"; localizationService.localizeMany([ - scope.isNew ? "placeholders_a11yCreateItem" : "placeholders_a11yEdit", - "placeholders_a11yName", + scope.isNew ? "visuallyHiddenTexts_createItem" : "visuallyHiddenTexts_edit", + "visuallyHiddenTexts_name", scope.isNew ? "general_new" : "general_edit"] ).then(function (data) { diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js index 5607251a7f36..d0201925571b 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js @@ -231,8 +231,8 @@ Use this directive to construct a header inside the main editor window. editorState.current.id === "-1"; var localizeVars = [ - scope.isNew ? "placeholders_a11yCreateItem" : "placeholders_a11yEdit", - "placeholders_a11yName", + scope.isNew ? "visuallyHiddenTexts_createItem" : "visuallyHiddenTexts_edit", + "visuallyHiddenTexts_name", scope.isNew ? "general_new" : "general_edit" ]; diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml index 83b27bc8d4e6..579438b1f55f 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml @@ -534,9 +534,6 @@ #value eller ?key=value Indtast alias... Genererer alias... - Opret element - Rediger - Navn Opret brugerdefineret listevisning @@ -1722,6 +1719,9 @@ Mange hilsner fra Umbraco robotten Aktivt sprog Skift sprog til Opret ny mappe + Opret element + Rediger + Navn Referencer diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml index 9b049ca40a0b..e7100cda04fd 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml @@ -540,10 +540,6 @@ #value or ?key=value Enter alias... Generating alias... - Create item - Create - Edit - Name Create custom list view @@ -2167,7 +2163,11 @@ To manage your website, simply open the Umbraco back office and start adding con Create new folder Partial View Partial View Macro - Member + Member + Create item + Edit + Name + Create References @@ -2209,4 +2209,4 @@ To manage your website, simply open the Umbraco back office and start adding con Open - \ No newline at end of file + diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml index 56b9bb2d9bbd..6124a4803447 100644 --- a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml +++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml @@ -543,10 +543,6 @@ #value or ?key=value Enter alias... Generating alias... - Create item - Create - Edit - Name Create custom list view @@ -2183,7 +2179,11 @@ To manage your website, simply open the Umbraco back office and start adding con Create new folder Partial View Partial View Macro - Member + Member + Create item + Edit + Name + Create References @@ -2224,4 +2224,4 @@ To manage your website, simply open the Umbraco back office and start adding con Find Logs with Machine Name Open - \ No newline at end of file +