Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

more localization #123

jonaswinkler03c6a4e18eaf
diff --git a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts b/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
index 1bf5d0216..27472bdc7 100644
--- a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
+++ b/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.ts
@@ -21,10 +21,10 @@ const LAST_YEAR = 3
export class DateDropdownComponent implements OnInit, OnDestroy {
quickFilters = [
- {id: LAST_7_DAYS, name: "Last 7 days"},
- {id: LAST_MONTH, name: "Last month"},
- {id: LAST_3_MONTHS, name: "Last 3 months"},
- {id: LAST_YEAR, name: "Last year"}
+ {id: LAST_7_DAYS, name: $localize`Last 7 days`},
+ {id: LAST_MONTH, name: $localize`Last month`},
+ {id: LAST_3_MONTHS, name: $localize`Last 3 months`},
+ {id: LAST_YEAR, name: $localize`Last year`}
]
@Input()
diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts
index 0e075ff19..915d10677 100644
--- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts
+++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts
@@ -142,7 +142,7 @@ export class FilterableDropdownComponent {
if (items) {
this._selectionModel.items = Array.from(items)
this._selectionModel.items.unshift({
- name: "None",
+ name: $localize`Not assigned`,
id: null
})
}