Add missing localization keys

pull/4271/head
Chocobozzz 2021-07-21 16:22:18 +02:00
parent d1aed10353
commit c318541398
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 10 additions and 10 deletions

View File

@ -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 () {

View File

@ -23,7 +23,7 @@
<div class="peertube-select-container peertube-select-button">
<select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control">
<option value="undefined" disabled>Sort by</option>
<option value="undefined" disabled i18n>Sort by</option>
<option value="-publishedAt" i18n>Last published first</option>
<option value="-createdAt" i18n>Last created first</option>
<option value="-views" i18n>Most viewed first</option>

View File

@ -101,7 +101,7 @@ export class MenuService {
return {
key: 'in-my-library',
title: 'In my library',
title: $localize`In my library`,
links
}
}