Skip to content

Commit

Permalink
Moved the accessibiity texts created in umbraco#6315 and umbraco#5760
Browse files Browse the repository at this point in the history
…into visuallyhidden section to comply with other commits (umbraco#6978)
  • Loading branch information
RachBreeze authored and kjac committed Jan 14, 2020
1 parent 8829d7f commit d841fdc
Show file tree
Hide file tree
Showing 5 changed files with 2,410 additions and 2,410 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,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"
];

Expand Down
6 changes: 3 additions & 3 deletions src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,6 @@
<key alias="anchor">#value eller ?key=value</key>
<key alias="enterAlias">Indtast alias...</key>
<key alias="generatingAlias">Genererer alias...</key>
<key alias="a11yCreateItem">Opret element</key>
<key alias="a11yEdit">Rediger</key>
<key alias="a11yName">Navn</key>
</area>
<area alias="editcontenttype">
<key alias="createListView" version="7.2">Opret brugerdefineret listevisning</key>
Expand Down Expand Up @@ -1740,6 +1737,9 @@ Mange hilsner fra Umbraco robotten
<key alias="currentLanguage">Aktivt sprog</key>
<key alias="switchLanguage">Skift sprog til</key>
<key alias="createNewFolder">Opret ny mappe</key>
<key alias="createItem">Opret element</key>
<key alias="edit">Rediger</key>
<key alias="name">Navn</key>
</area>
<area alias="references">
<key alias="tabName">Referencer</key>
Expand Down
8 changes: 4 additions & 4 deletions src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,6 @@
<key alias="anchor">#value or ?key=value</key>
<key alias="enterAlias">Enter alias...</key>
<key alias="generatingAlias">Generating alias...</key>
<key alias="a11yCreateItem">Create item</key>
<key alias="a11yCreate">Create</key>
<key alias="a11yEdit">Edit</key>
<key alias="a11yName">Name</key>
</area>
<area alias="editcontenttype">
<key alias="createListView" version="7.2">Create custom list view</key>
Expand Down Expand Up @@ -2213,6 +2209,10 @@ To manage your website, simply open the Umbraco back office and start adding con
<key alias="redirectDashboardSearchLabel">Search the redirect dashboard</key>
<key alias="userGroupSearchLabel">Search the user group section</key>
<key alias="userSearchLabel">Search the users section</key>
<key alias="createItem">Create item</key>
<key alias="create">Create</key>
<key alias="edit">Edit</key>
<key alias="name">Name</key>
</area>
<area alias="references">
<key alias="tabName">References</key>
Expand Down
Loading

0 comments on commit d841fdc

Please sign in to comment.