Skip to content

Commit 6483425

Browse files
committed
Localized the extension label
1 parent 4974147 commit 6483425

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/packages/rte/tiptap/property-editors/property-editor-ui-tiptap-extensions-configuration.element.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,24 +125,24 @@ export class UmbPropertyEditorUiTiptapExtensionsConfigurationElement
125125
<p class="category-name">${category.category}</p>
126126
${repeat(
127127
category.extensions,
128-
(item) =>
129-
html`<div class="extension-item">
128+
(item) => html`
129+
<div class="extension-item">
130130
<uui-button
131131
compact
132-
look="outline"
133132
class=${item.selected ? 'selected' : ''}
134-
label=${item.label}
133+
label=${this.localize.string(item.label)}
134+
look="outline"
135135
.value=${item.alias}
136-
@click=${() => this.#onExtensionClick(item)}
137-
><umb-icon name=${item.icon ?? ''}></umb-icon
138-
></uui-button>
139-
<span>${item.label}</span>
140-
</div>`,
136+
@click=${() => this.#onExtensionClick(item)}>
137+
<umb-icon name=${item.icon ?? ''}></umb-icon>
138+
</uui-button>
139+
<span>${this.localize.string(item.label)}</span>
140+
</div>
141+
`,
141142
)}
142143
</div>
143144
`,
144145
)}
145-
</div>
146146
</div>
147147
`;
148148
}

0 commit comments

Comments
 (0)