Skip to content

Commit bebb1a8

Browse files
authored
Updated the dialog label for the User Picker label (#18034)
1 parent 5f8878d commit bebb1a8

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

src/Umbraco.Web.UI.Client/src/assets/lang/da-dk.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ export default {
553553
selectSections: 'Vælg sektioner',
554554
selectUser: 'Vælg bruger',
555555
selectUsers: 'Vælg brugere',
556+
chooseUsers: 'Vælg brugere',
556557
noIconsFound: 'Ingen ikoner blev fundet',
557558
noMacroParams: 'Der er ingen parametre for denne makro',
558559
noMacros: 'Der er ikke tilføjet nogen makroer',

src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ export default {
585585
selectSections: 'Select sections',
586586
selectUser: 'Select user',
587587
selectUsers: 'Select users',
588+
chooseUsers: 'Choose users',
588589
noIconsFound: 'No icons were found',
589590
noMacroParams: 'There are no parameters for this macro',
590591
noMacros: 'There are no macros available to insert',

src/Umbraco.Web.UI.Client/src/assets/lang/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ export default {
576576
selectSections: 'Select sections',
577577
selectUser: 'Select user',
578578
selectUsers: 'Select users',
579+
chooseUsers: 'Choose users',
579580
noIconsFound: 'No icons were found',
580581
noMacroParams: 'There are no parameters for this macro',
581582
noMacros: 'There are no macros available to insert',

src/Umbraco.Web.UI.Client/src/packages/user/user/modals/user-picker/user-picker-modal.element.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class UmbUserPickerModalElement extends UmbModalBaseElement<UmbUserPicker
4848

4949
override render() {
5050
return html`
51-
<umb-body-layout headline=${this.localize.term('defaultdialogs_selectUsers')}>
51+
<umb-body-layout headline=${this.localize.term('defaultdialogs_chooseUsers')}>
5252
<uui-box>
5353
${this._users.map(
5454
(user) => html`
@@ -68,8 +68,12 @@ export class UmbUserPickerModalElement extends UmbModalBaseElement<UmbUserPicker
6868
)}
6969
</uui-box>
7070
<div slot="actions">
71-
<uui-button label="Close" @click=${this.#close}></uui-button>
72-
<uui-button label="Submit" look="primary" color="positive" @click=${this.#submit}></uui-button>
71+
<uui-button label=${this.localize.term('general_close')} @click=${this.#close}></uui-button>
72+
<uui-button
73+
label=${this.localize.term('general_choose')}
74+
look="primary"
75+
color="positive"
76+
@click=${this.#submit}></uui-button>
7377
</div>
7478
</umb-body-layout>
7579
`;

0 commit comments

Comments
 (0)