mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 08:37:13 +00:00
Fix invalid translation unit
This commit is contained in:
1 parent
76d2df3bde
commit
4a4e810a14
3 files changed
+12
-5
No files matched your search
@@ -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" i18n-title title="Filter documents with this {{title}}">
|
||||
<button *ngIf="showFilter" class="btn btn-outline-secondary" type="button" (click)="onFilterDocuments()" [disabled]="isPrivate || this.value === null" title="{{ filterTitle }}">
|
||||
<svg class="buttonicon" fill="currentColor">
|
||||
<use xlink:href="assets/bootstrap-icons.svg#filter" />
|
||||
</svg>
|
||||
|
||||
@@ -144,4 +144,8 @@ export class SelectComponent extends AbstractInputComponent<number> {
|
||||
onFilterDocuments() {
|
||||
this.filterDocuments.emit([this.items.find((i) => i.id === this.value)])
|
||||
}
|
||||
|
||||
get filterTitle() {
|
||||
return $localize`Filter documents with this ${this.title}`
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user