Updated docs, display text

This commit is contained in:
shamoon
2024-05-01 13:46:30 -07:00
parent ecee3ae477
commit 26d7d19a98
3 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
<pngx-page-header
title="Trash"
i18n-title
info="Manage trashed items."
info="Manage trashed documents that are pending deletion."
i18n-info
infoLink="usage/#document-trash"
>
<button class="btn btn-sm btn-outline-secondary" (click)="clearSelection()" [hidden]="selectedDocuments.size === 0">
<i-bs name="x"></i-bs>&nbsp;<ng-container i18n>Clear selection</ng-container>

View File

@@ -73,7 +73,7 @@ export class TrashComponent implements OnDestroy {
modal.componentInstance.title = $localize`Confirm delete`
modal.componentInstance.messageBold = $localize`This operation will permanently delete ${
documents?.size ?? $localize`all`
} documents.`
} documents in the trash.`
modal.componentInstance.message = $localize`This operation cannot be undone.`
modal.componentInstance.btnClass = 'btn-danger'
modal.componentInstance.btnCaption = $localize`Delete`