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

@@ -24,15 +24,15 @@ export class DashboardComponent implements OnInit {
} else if (tagUsername && tagUsername.content) {
return tagUsername.content
} else {
return null
return "null"
}
}
get subtitle() {
if (this.displayName) {
return `Hello ${this.displayName}, welcome to Paperless-ng!`
return $localize`Hello ${this.displayName}, welcome to Paperless-ng!`
} else {
return `Welcome to Paperless-ng!`
return $localize`Welcome to Paperless-ng!`
}
}