Fix date component incorrect translation unit

This commit is contained in:
shamoon
2023-06-21 20:59:29 -07:00
parent 0dc46581e6
commit 33e017e776
5 changed files with 18 additions and 17 deletions

View File

@@ -26,7 +26,7 @@
<use xlink:href="assets/bootstrap-icons.svg#plus" />
</svg>
</button>
<button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="isPrivate || this.value === null" title="{{ filterTitle }}">
<button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="isPrivate || this.value === null" title="{{ filterButtonTitle }}">
<svg class="buttonicon" fill="currentColor">
<use xlink:href="assets/bootstrap-icons.svg#filter" />
</svg>

View File

@@ -145,7 +145,7 @@ export class SelectComponent extends AbstractInputComponent<number> {
this.filterDocuments.emit([this.items.find((i) => i.id === this.value)])
}
get filterTitle() {
get filterButtonTitle() {
return $localize`Filter documents with this ${this.title}`
}
}