Translate file tasks types in footer

This commit is contained in:
shamoon
2023-07-05 08:13:16 -07:00
parent 7ca84322bd
commit f492b679e3
3 changed files with 42 additions and 1 deletions

View File

@@ -124,4 +124,17 @@ export class TasksComponent
duringTabChange(navID: number) {
this.page = 1
}
get activeTabLocalized(): string {
switch (this.activeTab) {
case 'queued':
return $localize`queued`
case 'started':
return $localize`started`
case 'completed':
return $localize`completed`
case 'failed':
return $localize`failed`
}
}
}