From c3185413986a6b67a88a449f069a9b14e2ad3294 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Jul 2021 16:22:18 +0200 Subject: Add missing localization keys --- .../app/+admin/users/user-list/user-list.component.ts | 16 ++++++++-------- .../app/+my-library/my-videos/my-videos.component.html | 2 +- client/src/app/core/menu/menu.service.ts | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index e02d8e1ad..e3ae68a93 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts @@ -108,18 +108,18 @@ export class UserListComponent extends RestTable implements OnInit { ] this.columns = [ - { id: 'username', label: 'Username' }, - { id: 'email', label: 'Email' }, - { id: 'quota', label: 'Video quota' }, - { id: 'role', label: 'Role' }, - { id: 'createdAt', label: 'Created' } + { id: 'username', label: $localize`Username` }, + { id: 'email', label: $localize`Email` }, + { id: 'quota', label: $localize`Video quota` }, + { id: 'role', label: $localize`Role` }, + { id: 'createdAt', label: $localize`Created` } ] this.selectedColumns = this.columns.map(c => c.id) - this.columns.push({ id: 'quotaDaily', label: 'Daily quota' }) - this.columns.push({ id: 'pluginAuth', label: 'Auth plugin' }) - this.columns.push({ id: 'lastLoginDate', label: 'Last login' }) + this.columns.push({ id: 'quotaDaily', label: $localize`Daily quota` }) + this.columns.push({ id: 'pluginAuth', label: $localize`Auth plugin` }) + this.columns.push({ id: 'lastLoginDate', label: $localize`Last login` }) } getIdentifier () { diff --git a/client/src/app/+my-library/my-videos/my-videos.component.html b/client/src/app/+my-library/my-videos/my-videos.component.html index 8d8b482ad..0552b8ce4 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.html +++ b/client/src/app/+my-library/my-videos/my-videos.component.html @@ -23,7 +23,7 @@