mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix invalid translation unit
This commit is contained in:
		| @@ -1922,10 +1922,6 @@ | ||||
|           <context context-type="sourcefile">src/app/components/common/input/date/date.component.html</context> | ||||
|           <context context-type="linenumber">12</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/common/input/select/select.component.html</context> | ||||
|           <context context-type="linenumber">29</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="445302259125375799" datatype="html"> | ||||
|         <source>Invalid date.</source> | ||||
| @@ -2104,6 +2100,13 @@ | ||||
|           <context context-type="linenumber">80</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="6344437738844463465" datatype="html"> | ||||
|         <source>Filter documents with this <x id="PH" equiv-text="this.title"/></source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/common/input/select/select.component.ts</context> | ||||
|           <context context-type="linenumber">149</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="6560126119609945418" datatype="html"> | ||||
|         <source>Add tag</source> | ||||
|         <context-group purpose="location"> | ||||
|   | ||||
| @@ -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
	 shamoon
					shamoon