translations
This commit is contained in:
@@ -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> `;
|
||||
}
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user