Updated the dialog label for the User Picker label (#18034)

This commit is contained in:
jonat123
2025-01-21 13:20:51 +01:00
committed by GitHub
parent 5f8878d012
commit bebb1a8677
4 changed files with 10 additions and 3 deletions

View File

@@ -553,6 +553,7 @@ export default {
selectSections: 'Vælg sektioner',
selectUser: 'Vælg bruger',
selectUsers: 'Vælg brugere',
chooseUsers: 'Vælg brugere',
noIconsFound: 'Ingen ikoner blev fundet',
noMacroParams: 'Der er ingen parametre for denne makro',
noMacros: 'Der er ikke tilføjet nogen makroer',

View File

@@ -585,6 +585,7 @@ export default {
selectSections: 'Select sections',
selectUser: 'Select user',
selectUsers: 'Select users',
chooseUsers: 'Choose users',
noIconsFound: 'No icons were found',
noMacroParams: 'There are no parameters for this macro',
noMacros: 'There are no macros available to insert',

View File

@@ -576,6 +576,7 @@ export default {
selectSections: 'Select sections',
selectUser: 'Select user',
selectUsers: 'Select users',
chooseUsers: 'Choose users',
noIconsFound: 'No icons were found',
noMacroParams: 'There are no parameters for this macro',
noMacros: 'There are no macros available to insert',

View File

@@ -48,7 +48,7 @@ export class UmbUserPickerModalElement extends UmbModalBaseElement<UmbUserPicker
override render() {
return html`
<umb-body-layout headline=${this.localize.term('defaultdialogs_selectUsers')}>
<umb-body-layout headline=${this.localize.term('defaultdialogs_chooseUsers')}>
<uui-box>
${this._users.map(
(user) => html`
@@ -68,8 +68,12 @@ export class UmbUserPickerModalElement extends UmbModalBaseElement<UmbUserPicker
)}
</uui-box>
<div slot="actions">
<uui-button label="Close" @click=${this.#close}></uui-button>
<uui-button label="Submit" look="primary" color="positive" @click=${this.#submit}></uui-button>
<uui-button label=${this.localize.term('general_close')} @click=${this.#close}></uui-button>
<uui-button
label=${this.localize.term('general_choose')}
look="primary"
color="positive"
@click=${this.#submit}></uui-button>
</div>
</umb-body-layout>
`;