<ng-template pTemplate="header">
<tr>
- <th style="width: 150px;">Actions</th>
+ <th style="width: 150px;" i18n>Actions</th>
<th i18n>Follower handle</th>
<th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
<th style="width: 100px;" i18n pSortableColumn="score">Score <p-sortIcon field="score"></p-sortIcon></th>
<ng-template pTemplate="header">
<tr>
- <th style="width: 150px;">Action</th>
+ <th style="width: 150px;" i18n>Action</th>
<th i18n>Host</th>
<th style="width: 100px;" i18n pSortableColumn="state">State <p-sortIcon field="state"></p-sortIcon></th>
<th style="width: 150px;" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th>
<ng-template pTemplate="header">
<tr>
<th style="width: 40px;"></th>
- <th style="width: 150px;">Action</th>
+ <th style="width: 150px;" i18n>Action</th>
<th style="width: 160px;" i18n *ngIf="isDisplayingRemoteVideos()">Strategy</th>
<th i18n pSortableColumn="name">Video <p-sortIcon field="name"></p-sortIcon></th >
<th style="width: 100px;" i18n *ngIf="isDisplayingRemoteVideos()">Total size</th>
<my-feed [syndicationItems]="syndicationItems"></my-feed>
</h1>
-<em>This view also shows comments from muted accounts.</em>
+<em i18n>This view also shows comments from muted accounts.</em>
<p-table
[value]="comments" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions"
<div class="root">
- <h4>IP</h4>
+ <h4 i18n>IP address</h4>
- <p>PeerTube thinks your web browser public IP is <strong>{{ debug?.ip }}</strong>.</p>
+ <p i18n>PeerTube thinks your web browser public IP is <strong>{{ debug?.ip }}</strong>.</p>
- <p>If this is not your correct public IP, please consider fixing it because:</p>
- <ul>
- <li>Views may not be counted correctly (reduced compared to what they should be)</li>
- <li>Anti brute force system could be overzealous</li>
- <li>P2P system could not work correctly</li>
+ <p i18n>If this is not your correct public IP, please consider fixing it because:</p>
+ <ul i18n>
+ <li i18n>Views may not be counted correctly (reduced compared to what they should be)</li>
+ <li i18n>Anti brute force system could be overzealous</li>
+ <li i18n>P2P system could not work correctly</li>
</ul>
- <p>To fix it:<p>
+ <p i18n>To fix it:<p>
<ul>
- <li>Check the <code>trust_proxy</code> configuration key</li>
- <li>If you run PeerTube using Docker, check you run the <code>reverse-proxy</code> with <code>network_mode: "host"</code>
+ <li i18n>Check the <code>trust_proxy</code> configuration key</li>
+ <li i18n>If you run PeerTube using Docker, check you run the <code>reverse-proxy</code> with <code>network_mode: "host"</code>
(see <a href="https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666">issue 1643</a>)</li>
</ul>
</div>
<ng-template pTemplate="header">
<tr>
- <th style="width: 150px;">Action</th> <!-- column for action buttons -->
+ <th style="width: 150px;" i18n>Action</th> <!-- column for action buttons -->
<th style="width: calc(100% - 300px);" i18n>Account</th>
<th style="width: 150px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
</tr>
<ng-template pTemplate="header">
<tr>
- <th style="width: 150px;">Action</th> <!-- column for action buttons -->
+ <th style="width: 150px;" i18n>Action</th> <!-- column for action buttons -->
<th style="width: calc(100% - 300px);" i18n>Instance</th>
<th style="width: 150px;" i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
</tr>