Mark additional strings as translatable (#2507)
This commit is contained in:
parent
14571f1995
commit
97eae8382e
|
@ -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>
|
||||
|
|
|
@ -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' }">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue