added many localization markers to the front end #123

This commit is contained in:
jonaswinkler 2020-12-23 15:09:39 +01:00
parent b7c118afa3
commit 95c4e77ae4
27 changed files with 178 additions and 210 deletions

View file

@ -48,7 +48,7 @@ export class DocumentListComponent implements OnInit {
}
getTitle() {
return this.list.savedViewTitle || "Documents"
return this.list.savedViewTitle || $localize`Documents`
}
getSortFields() {
@ -90,7 +90,7 @@ export class DocumentListComponent implements OnInit {
saveViewConfig() {
this.savedViewService.update(this.list.savedView).subscribe(result => {
this.toastService.showToast(Toast.make("Information", `View "${this.list.savedView.name}" saved successfully.`))
this.toastService.showToast(Toast.make("Information", $localize`View "${this.list.savedView.name}" saved successfully.`))
})
}
@ -109,7 +109,7 @@ export class DocumentListComponent implements OnInit {
}
this.savedViewService.create(savedView).subscribe(() => {
modal.close()
this.toastService.showToast(Toast.make("Information", `View "${savedView.name}" created successfully.`))
this.toastService.showToast(Toast.make("Information", $localize`View "${savedView.name}" created successfully.`))
})
})
}