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

Updated the dialog label for User -> Assign Access -> Media Start nodes #18043

Open
wants to merge 5 commits into
base: v15/dev
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions src/Umbraco.Web.UI.Client/src/assets/lang/da-dk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export default {
buttons: {
clearSelection: 'Ryd valg',
select: 'Vælg',
choose: 'Vælg',
somethingElse: 'Gør noget andet',
bold: 'Fed',
deindent: 'Fortryd indryk afsnit',
Expand Down Expand Up @@ -535,6 +536,7 @@ export default {
linkToMedia: 'Link til medie',
selectContentStartNode: 'Vælg startnode for indhold',
selectMedia: 'Vælg medie',
chooseMediaStartNode: 'Vælg medie startnode',
Copy link
Contributor

@bjarnef bjarnef Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be selectMediaStartNode to keep to consistent with content?

Then perhaps "Vælg startnode for medie"

selectMediaType: 'Vælg medietype',
selectIcon: 'Vælg ikon',
selectItem: 'Vælg item',
Expand Down Expand Up @@ -1919,6 +1921,9 @@ export default {
selectUserGroup: (multiple: boolean) => {
return multiple ? 'Vælg brugergrupper' : 'Vælg brugergruppe';
},
chooseUserGroup: (multiple: boolean) => {
return multiple ? 'Vælg brugergrupper' : 'Vælg brugergruppe';
},
noStartNode: 'Ingen startnode valgt',
noStartNodes: 'Ingen startnoder valgt',
startnode: 'Indhold startnode',
Expand Down
5 changes: 5 additions & 0 deletions src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default {
buttons: {
clearSelection: 'Clear selection',
select: 'Select',
choose: 'Choose',
somethingElse: 'Do something else',
bold: 'Bold',
deindent: 'Cancel Paragraph Indent',
Expand Down Expand Up @@ -567,6 +568,7 @@ export default {
linkToMedia: 'Link to media',
selectContentStartNode: 'Select content start node',
selectMedia: 'Select media',
chooseMediaStartNode: 'Choose Media Start nodes',
selectMediaType: 'Select media type',
selectIcon: 'Select icon',
selectItem: 'Select item',
Expand Down Expand Up @@ -1971,6 +1973,9 @@ export default {
selectUserGroup: (multiple: boolean) => {
return multiple ? 'Select User Groups' : 'Select User Group';
},
chooseUserGroup: (multiple: boolean) => {
return multiple ? 'Choose User Groups' : 'Choose User Group';
},
noStartNode: 'No start node selected',
noStartNodes: 'No start nodes selected',
startnode: 'Content start node',
Expand Down
5 changes: 5 additions & 0 deletions src/Umbraco.Web.UI.Client/src/assets/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default {
buttons: {
clearSelection: 'Clear selection',
select: 'Select',
choose: 'Choose',
somethingElse: 'Do something else',
bold: 'Bold',
deindent: 'Cancel Paragraph Indent',
Expand Down Expand Up @@ -558,6 +559,7 @@ export default {
selectContentStartNode: 'Select content start node',
selectEvent: 'Select event',
selectMedia: 'Select media',
chooseMediaStartNode: 'Choose Media Start nodes',
selectMediaType: 'Select media type',
selectIcon: 'Select icon',
selectItem: 'Select item',
Expand Down Expand Up @@ -2010,6 +2012,9 @@ export default {
selectUserGroup: (multiple: boolean) => {
return multiple ? 'Select User Groups' : 'Select User Group';
},
chooseUserGroup: (multiple: boolean) => {
return multiple ? 'Choose User Groups' : 'Choose User Group';
},
noStartNode: 'No start node selected',
noStartNodes: 'No start nodes selected',
startnode: 'Content start node',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,12 @@ export class UmbMediaPickerModalElement extends UmbModalBaseElement<

override render() {
return html`
<umb-body-layout headline=${this.localize.term('defaultdialogs_selectMedia')}>
<umb-body-layout headline=${this.localize.term('defaultdialogs_chooseMediaStartNode')}>
${this.#renderBody()} ${this.#renderBreadcrumb()}
<div slot="actions">
<uui-button label=${this.localize.term('general_close')} @click=${this._rejectModal}></uui-button>
<uui-button
label=${this.localize.term('general_submit')}
label=${this.localize.term('general_choose')}
look="primary"
color="positive"
@click=${this._submitModal}></uui-button>
Expand Down
Loading