Skip to content

Commit 66cf087

Browse files
authored
Code Editor Modal, adds localization support (#18325)
1 parent fe7db00 commit 66cf087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/code-editor/code-editor-modal/code-editor-modal.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class UmbCodeEditorModalElement extends UmbModalBaseElement<UmbCodeEditor
3737
slot="actions"
3838
color=${this.data?.color || 'positive'}
3939
look="primary"
40-
label=${this.data?.confirmLabel || this.localize.term('general_submit')}
40+
label=${this.localize.string(this.data?.confirmLabel) || this.localize.term('general_submit')}
4141
@click=${this.#handleConfirm}></uui-button>
4242
</umb-body-layout>
4343
`;

0 commit comments

Comments
 (0)