]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add `i18n` prop where it is missing (#3946)
authorMarcin Mikołajczak <me@mkljczk.pl>
Mon, 12 Apr 2021 06:43:40 +0000 (08:43 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Apr 2021 06:43:40 +0000 (08:43 +0200)
* Add  `i18n` prop

* Update video-comment-list.component.html

* Update account-blocklist.component.html

* Update server-blocklist.component.html

* Update video-redundancies-list.component.html

* Update following-list.component.html

* Update followers-list.component.html

client/src/app/+admin/follows/followers-list/followers-list.component.html
client/src/app/+admin/follows/following-list/following-list.component.html
client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html
client/src/app/+admin/system/debug/debug.component.html
client/src/app/shared/shared-moderation/account-blocklist.component.html
client/src/app/shared/shared-moderation/server-blocklist.component.html

index 622d464e4f855762b93de736c63b6196aa4acd19..633de96775bb38815dbcca28c0df8497b6c8e0bc 100644 (file)
@@ -24,7 +24,7 @@
 
   <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>
index cf87ec05f1c531bdb44d178697f5ebc358815dd8..f4e6a60fe134044d99778a63eedb95f3b0248569 100644 (file)
@@ -31,7 +31,7 @@
 
   <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>
index a654e51a629acb3fd824d7af02eb7e08a1eba836..f3bcca4976978913b47a3f9312755844e7ca93f3 100644 (file)
@@ -24,7 +24,7 @@
   <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>
index fa4a8edfdb19cc41ed0f0c556a1b228cb20d9fd2..d1ecc28342d58e28e9c3843334ef061a919b4c33 100644 (file)
@@ -5,7 +5,7 @@
   <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"
index 75f3df601f538ed1a65128b31c54276e2e44af06..71f399984906f502b4ddca859e6134405b6085a6 100644 (file)
@@ -1,19 +1,19 @@
 <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>
index 7eca6411e312816836bbdf116e3046cce30cb8b8..fb6f69cd52ae45049643941964c600ee734732cd 100644 (file)
@@ -24,7 +24,7 @@
 
   <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>
index a6e974b3639cb7a35f463c05bf0ba0370a3fc0d5..537186f05d92de5bef7ae484bfbdd34b0d9872b1 100644 (file)
@@ -31,7 +31,7 @@
 
   <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>