mirror of https://github.com/Chocobozzz/PeerTube
Add missing localization keys
parent
d1aed10353
commit
c318541398
|
@ -108,18 +108,18 @@ export class UserListComponent extends RestTable implements OnInit {
|
||||||
]
|
]
|
||||||
|
|
||||||
this.columns = [
|
this.columns = [
|
||||||
{ id: 'username', label: 'Username' },
|
{ id: 'username', label: $localize`Username` },
|
||||||
{ id: 'email', label: 'Email' },
|
{ id: 'email', label: $localize`Email` },
|
||||||
{ id: 'quota', label: 'Video quota' },
|
{ id: 'quota', label: $localize`Video quota` },
|
||||||
{ id: 'role', label: 'Role' },
|
{ id: 'role', label: $localize`Role` },
|
||||||
{ id: 'createdAt', label: 'Created' }
|
{ id: 'createdAt', label: $localize`Created` }
|
||||||
]
|
]
|
||||||
|
|
||||||
this.selectedColumns = this.columns.map(c => c.id)
|
this.selectedColumns = this.columns.map(c => c.id)
|
||||||
|
|
||||||
this.columns.push({ id: 'quotaDaily', label: 'Daily quota' })
|
this.columns.push({ id: 'quotaDaily', label: $localize`Daily quota` })
|
||||||
this.columns.push({ id: 'pluginAuth', label: 'Auth plugin' })
|
this.columns.push({ id: 'pluginAuth', label: $localize`Auth plugin` })
|
||||||
this.columns.push({ id: 'lastLoginDate', label: 'Last login' })
|
this.columns.push({ id: 'lastLoginDate', label: $localize`Last login` })
|
||||||
}
|
}
|
||||||
|
|
||||||
getIdentifier () {
|
getIdentifier () {
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<div class="peertube-select-container peertube-select-button">
|
<div class="peertube-select-container peertube-select-button">
|
||||||
<select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control">
|
<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="-publishedAt" i18n>Last published first</option>
|
||||||
<option value="-createdAt" i18n>Last created first</option>
|
<option value="-createdAt" i18n>Last created first</option>
|
||||||
<option value="-views" i18n>Most viewed first</option>
|
<option value="-views" i18n>Most viewed first</option>
|
||||||
|
|
|
@ -101,7 +101,7 @@ export class MenuService {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
key: 'in-my-library',
|
key: 'in-my-library',
|
||||||
title: 'In my library',
|
title: $localize`In my library`,
|
||||||
links
|
links
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue