aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+admin/plugins/shared/plugin-navigation.component.html4
-rw-r--r--client/src/index.html2
-rwxr-xr-xscripts/i18n/create-custom-files.ts3
3 files changed, 5 insertions, 4 deletions
diff --git a/client/src/app/+admin/plugins/shared/plugin-navigation.component.html b/client/src/app/+admin/plugins/shared/plugin-navigation.component.html
index ae5d24de1..456c45118 100644
--- a/client/src/app/+admin/plugins/shared/plugin-navigation.component.html
+++ b/client/src/app/+admin/plugins/shared/plugin-navigation.component.html
@@ -5,7 +5,7 @@
5 </div> 5 </div>
6 6
7 <div class="btn-group select-button" role="group" i18n-aria-label aria-label="Navigate between plugins and themes"> 7 <div class="btn-group select-button" role="group" i18n-aria-label aria-label="Navigate between plugins and themes">
8 <a [ngClass]="{ active: pluginType === 1 }" routerLink="." [queryParams]="{ pluginType: 1 }" queryParamsHandling="merge" class="">Plugins</a> 8 <a i18n [ngClass]="{ active: pluginType === 1 }" routerLink="." [queryParams]="{ pluginType: 1 }" queryParamsHandling="merge" class="">Plugins</a>
9 <a [ngClass]="{ active: pluginType === 2 }" routerLink="." [queryParams]="{ pluginType: 2 }" queryParamsHandling="merge" class="">Themes</a> 9 <a i18n [ngClass]="{ active: pluginType === 2 }" routerLink="." [queryParams]="{ pluginType: 2 }" queryParamsHandling="merge" class="">Themes</a>
10 </div> 10 </div>
11</div> 11</div>
diff --git a/client/src/index.html b/client/src/index.html
index 5446fdfcd..3c42114b0 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -51,7 +51,7 @@
51 <ul> 51 <ul>
52 <li>Allow JavaScript in your browser</li> 52 <li>Allow JavaScript in your browser</li>
53 <li>Use one of the <a class="link-orange" href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/use-third-party-application.md" target="_blank">third-party applications</a> to browse this instance</li> 53 <li>Use one of the <a class="link-orange" href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/use-third-party-application.md" target="_blank">third-party applications</a> to browse this instance</li>
54 <li>Review the source code on <a class="link-orange" href="https://github.com/Chocobozzz/PeerTube" target="_blank">GitHub</a> or <a class="link-orange" href="https://framagit.org/framasoft/peertube/PeerTube" target="_blank">Framasoft's GitLab</a>, and ask for eventual modifications to the instance owner. 54 <li>Review the source code on <a class="link-orange" href="https://github.com/Chocobozzz/PeerTube" target="_blank">GitHub</a> or <a class="link-orange" href="https://framagit.org/framasoft/peertube/PeerTube" target="_blank">Framasoft's GitLab</a>, and ask for modifications from the instance owner.
55 </ul> 55 </ul>
56 </noscript> 56 </noscript>
57 57
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index 7d03346a0..9e0e4bba6 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -1,6 +1,6 @@
1import { writeJSON } from 'fs-extra' 1import { writeJSON } from 'fs-extra'
2import { join } from 'path' 2import { join } from 'path'
3import { root } from '@shared/core-utils' 3import { root, USER_ROLE_LABELS } from '@shared/core-utils'
4import { 4import {
5 buildLanguages, 5 buildLanguages,
6 VIDEO_CATEGORIES, 6 VIDEO_CATEGORIES,
@@ -78,6 +78,7 @@ Object.values(VIDEO_CATEGORIES)
78 .concat(Object.values(VIDEO_IMPORT_STATES)) 78 .concat(Object.values(VIDEO_IMPORT_STATES))
79 .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES)) 79 .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES))
80 .concat(Object.values(VIDEO_PLAYLIST_TYPES)) 80 .concat(Object.values(VIDEO_PLAYLIST_TYPES))
81 .concat(Object.values(USER_ROLE_LABELS))
81 .concat([ 82 .concat([
82 'This video does not exist.', 83 'This video does not exist.',
83 'We cannot fetch the video. Please try again later.', 84 'We cannot fetch the video. Please try again later.',