From: Chocobozzz Date: Wed, 21 Jul 2021 14:22:18 +0000 (+0200) Subject: Add missing localization keys X-Git-Tag: v3.4.0-rc.1~196 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c3185413986a6b67a88a449f069a9b14e2ad3294;p=github%2FChocobozzz%2FPeerTube.git Add missing localization keys --- 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 @@