translations

This commit is contained in:
JesmoDev
2024-02-20 10:33:56 +01:00
parent 2eed2f3acc
commit 8d99210e44
2 changed files with 6 additions and 2 deletions

View File

@@ -150,7 +150,9 @@ export class UmbInputImageCropperFieldElement extends UmbLitElement {
.src=${this.source}></umb-image-cropper-focus-setter>
<div id="actions">
<slot name="actions"></slot>
<uui-button label="Reset focal point" @click=${this.#onResetFocalPoint}>Reset focal point</uui-button>
<uui-button label="Reset focal point" @click=${this.#onResetFocalPoint}
><umb-localize key="content_resetFocalPoint">Reset focal point</umb-localize></uui-button
>
</div> `;
}

View File

@@ -153,7 +153,9 @@ export class UmbImageCropperPreviewElement extends LitElement {
</div>
<span id="alias">${this.crop.alias}</span>
<span id="dimensions">${this.crop.width} x ${this.crop.height}</span>
${this.crop.coordinates ? html`<span id="user-defined">User defined</span>` : nothing}
${this.crop.coordinates
? html`<span id="user-defined"><umb-localize key="imagecropper_customCrop">User defined</umb-localize></span>`
: nothing}
`;
}
static styles = css`