Verified Commit c3185413 authored by Chocobozzz's avatar Chocobozzz
Browse files

Add missing localization keys

parent d1aed103
......@@ -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 () {
......
......@@ -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>
......
......@@ -101,7 +101,7 @@ export class MenuService {
return {
key: 'in-my-library',
title: 'In my library',
title: $localize`In my library`,
links
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment