ActivityPub-federated video streaming platform using P2P directly in your web browser
Mark additional strings as translatable (#2507)
Filip Bengtsson97eae8382eed
diff --git a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.htmlindex 4526aaf66a..1a177de72d 100644--- a/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html+++ b/client/src/app/+admin/plugins/plugin-list-installed/plugin-list-installed.component.html@@ -10,7 +10,7 @@<div class="card plugin" *ngFor="let plugin of plugins"><div class="card-body"><div class="first-row">- <a class="plugin-name" [routerLink]="getShowRouterLink(plugin)" title="Show plugin settings">{{ plugin.name }}</a>+ <a class="plugin-name" [routerLink]="getShowRouterLink(plugin)" i18n-title title="Show plugin settings">{{ plugin.name }}</a><span class="plugin-version">{{ plugin.version }}</span></div>diff --git a/client/src/app/+admin/system/logs/logs.component.html b/client/src/app/+admin/system/logs/logs.component.htmlindex ddad1314f8..37f8330201 100644--- a/client/src/app/+admin/system/logs/logs.component.html+++ b/client/src/app/+admin/system/logs/logs.component.html@@ -21,7 +21,7 @@</div><div class="logs">- <div *ngIf="loading">Loading...</div>+ <div *ngIf="loading" i18n>Loading...</div><div #logsElement><div *ngFor="let log of logs" class="log-row" [ngClass]="{ error: log.level === 'error', warn: log.level === 'warn' }">diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.htmlindex 4c361cec34..56d63f2996 100644--- a/client/src/app/+my-account/my-account-history/my-account-history.component.html+++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html@@ -11,7 +11,7 @@</div>-<div class="no-history" i18n *ngIf="pagination.totalItems === 0">You don't have videos history yet.</div>+<div class="no-history" i18n *ngIf="pagination.totalItems === 0">You don't have any video history yet.</div><div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" class="videos"><div class="video" *ngFor="let video of videos">diff --git a/client/src/app/app.component.html b/client/src/app/app.component.htmlindex f5a8dbd346..7743124d4a 100644--- a/client/src/app/app.component.html+++ b/client/src/app/app.component.html@@ -8,7 +8,7 @@<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }"><span class="icon icon-menu" (click)="toggleMenu()"></span>- <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage">+ <a class="peertube-title" [routerLink]="defaultRoute" title="Homepage" i18n-title><span class="icon icon-logo"></span><span class="instance-name">{{ instanceName }}</span></a>@@ -29,8 +29,8 @@</div><footer class="row">- <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer" i18n>Powered by PeerTube</a> - - <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer">CopyLeft 2015-2020</a>+ <a href="https://joinpeertube.org" title="PeerTube website" target="_blank" rel="noopener noreferrer" i18n-title>Powered by PeerTube</a> - + <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" title="PeerTube license" target="_blank" rel="noopener noreferrer" i18n-title>CopyLeft 2015-2020</a></footer></div></div>diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.htmlindex 0b0bacff03..38b59a1eb6 100644--- a/client/src/app/login/login.component.html+++ b/client/src/app/login/login.component.html@@ -47,7 +47,7 @@type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2" autocomplete="current-password"formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }">- <a i18n class="forgot-password-button" (click)="openForgotPasswordModal()" title="Click here to reset your password">I forgot my password</a>+ <a i18n-title class="forgot-password-button" (click)="openForgotPasswordModal()" title="Click here to reset your password">I forgot my password</a></div><div *ngIf="formErrors.password" class="form-error">{{ formErrors.password }}diff --git a/client/src/app/modal/instance-config-warning-modal.component.html b/client/src/app/modal/instance-config-warning-modal.component.htmlindex 93391c0a8a..e303104c5b 100644--- a/client/src/app/modal/instance-config-warning-modal.component.html+++ b/client/src/app/modal/instance-config-warning-modal.component.html@@ -21,7 +21,7 @@<li i18n *ngIf="!about.instance.terms">Instance terms</li></ul>- <p>+ <p i18n>Please consider to configure these fields to help people to choose <strong>the appropriate instance</strong>.Without them, your instance may not be referenced on <a target="_blank" rel="noopener noreferrer" href="https://joinpeertube.org">JoinPeerTube website</a>.</p>diff --git a/client/src/app/shared/instance/instance-features-table.component.html b/client/src/app/shared/instance/instance-features-table.component.htmlindex 51a56d4144..99b854d135 100644--- a/client/src/app/shared/instance/instance-features-table.component.html+++ b/client/src/app/shared/instance/instance-features-table.component.html@@ -37,8 +37,8 @@<tr><td i18n class="sub-label">Video uploads</td><td>- <span *ngIf="serverConfig.autoBlacklist.videos.ofUsers.enabled">Requires manual validation by moderators</span>- <span *ngIf="!serverConfig.autoBlacklist.videos.ofUsers.enabled">Automatically published</span>+ <span i18n *ngIf="serverConfig.autoBlacklist.videos.ofUsers.enabled">Requires manual validation by moderators</span>+ <span i18n *ngIf="!serverConfig.autoBlacklist.videos.ofUsers.enabled">Automatically published</span></td></tr>diff --git a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html b/client/src/app/shared/video-playlist/video-add-to-playlist.component.htmlindex 6e0989227f..58108584ba 100644--- a/client/src/app/shared/video-playlist/video-add-to-playlist.component.html+++ b/client/src/app/shared/video-playlist/video-add-to-playlist.component.html@@ -62,7 +62,7 @@<div class="new-playlist-button dropdown-item" (click)="openCreateBlock($event)" [hidden]="isNewPlaylistBlockOpened"><my-global-icon iconName="add"></my-global-icon>- Create a private playlist+ <span i18n>Create a private playlist</span></div><form class="new-playlist-block dropdown-item" *ngIf="isNewPlaylistBlockOpened" (ngSubmit)="createPlaylist()" [formGroup]="form">