Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8: Moved the accessibility texts into visuallyHidden #6978

Merged
merged 3 commits into from
Jan 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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