aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.ts16
-rw-r--r--client/src/app/+my-library/my-videos/my-videos.component.html2
-rw-r--r--client/src/app/core/menu/menu.service.ts2
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 {
108 ] 108 ]
109 109
110 this.columns = [ 110 this.columns = [
111 { id: 'username', label: 'Username' }, 111 { id: 'username', label: $localize`Username` },
112 { id: 'email', label: 'Email' }, 112 { id: 'email', label: $localize`Email` },
113 { id: 'quota', label: 'Video quota' }, 113 { id: 'quota', label: $localize`Video quota` },
114 { id: 'role', label: 'Role' }, 114 { id: 'role', label: $localize`Role` },
115 { id: 'createdAt', label: 'Created' } 115 { id: 'createdAt', label: $localize`Created` }
116 ] 116 ]
117 117
118 this.selectedColumns = this.columns.map(c => c.id) 118 this.selectedColumns = this.columns.map(c => c.id)
119 119
120 this.columns.push({ id: 'quotaDaily', label: 'Daily quota' }) 120 this.columns.push({ id: 'quotaDaily', label: $localize`Daily quota` })
121 this.columns.push({ id: 'pluginAuth', label: 'Auth plugin' }) 121 this.columns.push({ id: 'pluginAuth', label: $localize`Auth plugin` })
122 this.columns.push({ id: 'lastLoginDate', label: 'Last login' }) 122 this.columns.push({ id: 'lastLoginDate', label: $localize`Last login` })
123 } 123 }
124 124
125 getIdentifier () { 125 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 @@
23 23
24 <div class="peertube-select-container peertube-select-button"> 24 <div class="peertube-select-container peertube-select-button">
25 <select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control"> 25 <select [(ngModel)]="sort" (ngModelChange)="onChangeSortColumn()" class="form-control">
26 <option value="undefined" disabled>Sort by</option> 26 <option value="undefined" disabled i18n>Sort by</option>
27 <option value="-publishedAt" i18n>Last published first</option> 27 <option value="-publishedAt" i18n>Last published first</option>
28 <option value="-createdAt" i18n>Last created first</option> 28 <option value="-createdAt" i18n>Last created first</option>
29 <option value="-views" i18n>Most viewed first</option> 29 <option value="-views" i18n>Most viewed first</option>
diff --git a/client/src/app/core/menu/menu.service.ts b/client/src/app/core/menu/menu.service.ts
index 60130382f..0b8d0191e 100644
--- a/client/src/app/core/menu/menu.service.ts
+++ b/client/src/app/core/menu/menu.service.ts
@@ -101,7 +101,7 @@ export class MenuService {
101 101
102 return { 102 return {
103 key: 'in-my-library', 103 key: 'in-my-library',
104 title: 'In my library', 104 title: $localize`In my library`,
105 links 105 links
106 } 106 }
107 } 107 }