Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add missing localization keys

Chocobozzzc3185413986a
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 e02d8e1ad8..e3ae68a93b 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 8d8b482add..0552b8ce4f 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 @@
<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>
diff --git a/client/src/app/core/menu/menu.service.ts b/client/src/app/core/menu/menu.service.ts
index 60130382fd..0b8d0191e1 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 {
return {
key: 'in-my-library',
- title: 'In my library',
+ title: $localize`In my library`,
links
}
}