mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	more localization #123
This commit is contained in:
		@@ -21,10 +21,10 @@ const LAST_YEAR = 3
 | 
				
			|||||||
export class DateDropdownComponent implements OnInit, OnDestroy {
 | 
					export class DateDropdownComponent implements OnInit, OnDestroy {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  quickFilters = [
 | 
					  quickFilters = [
 | 
				
			||||||
    {id: LAST_7_DAYS, name: "Last 7 days"},
 | 
					    {id: LAST_7_DAYS, name: $localize`Last 7 days`},
 | 
				
			||||||
    {id: LAST_MONTH, name: "Last month"},
 | 
					    {id: LAST_MONTH, name: $localize`Last month`},
 | 
				
			||||||
    {id: LAST_3_MONTHS, name: "Last 3 months"},
 | 
					    {id: LAST_3_MONTHS, name: $localize`Last 3 months`},
 | 
				
			||||||
    {id: LAST_YEAR, name: "Last year"}
 | 
					    {id: LAST_YEAR, name: $localize`Last year`}
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @Input()
 | 
					  @Input()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -142,7 +142,7 @@ export class FilterableDropdownComponent {
 | 
				
			|||||||
    if (items) {
 | 
					    if (items) {
 | 
				
			||||||
      this._selectionModel.items = Array.from(items)
 | 
					      this._selectionModel.items = Array.from(items)
 | 
				
			||||||
      this._selectionModel.items.unshift({
 | 
					      this._selectionModel.items.unshift({
 | 
				
			||||||
        name: "None",
 | 
					        name: $localize`Not assigned`,
 | 
				
			||||||
        id: null
 | 
					        id: null
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user