diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts index d8b00b862..cd810d216 100644 --- a/client/src/app/+admin/users/shared/user.service.ts +++ b/client/src/app/+admin/users/shared/user.service.ts @@ -62,7 +62,7 @@ export class UserService { private formatUser (user: User) { let videoQuota if (user.videoQuota === -1) { - videoQuota = 'Unlimited' + videoQuota = this.i18n('Unlimited') } else { videoQuota = this.bytesPipe.transform(user.videoQuota) } diff --git a/client/src/app/videos/+video-edit/shared/video-image.component.scss b/client/src/app/videos/+video-edit/shared/video-image.component.scss index 98313536e..d4901e7ab 100644 --- a/client/src/app/videos/+video-edit/shared/video-image.component.scss +++ b/client/src/app/videos/+video-edit/shared/video-image.component.scss @@ -7,7 +7,9 @@ align-items: center; .button-file { - @include peertube-button-file(190px); + @include peertube-button-file(auto); + + min-width: 190px; } .image-constraints { diff --git a/client/src/app/videos/+video-edit/video-add.component.scss b/client/src/app/videos/+video-edit/video-add.component.scss index 0c74552d3..de7dec65d 100644 --- a/client/src/app/videos/+video-edit/video-add.component.scss +++ b/client/src/app/videos/+video-edit/video-add.component.scss @@ -34,8 +34,9 @@ } .button-file { - @include peertube-button-file(190px); + @include peertube-button-file(auto); + min-width: 190px; margin-bottom: 45px; } } diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html index ac7c03648..6dc454d00 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html @@ -1,6 +1,6 @@
-
+
Comments
app/videos/+video-watch/video-watch.component.ts 195 + + + Comments + + + app/videos/+video-watch/comment/video-comments.component.ts + 3 + You can either comment on the page of your instance where this video is federated with your PeerTube account, or via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type in the search box <strong>@<x id="INTERPOLATION" equiv-text="{{video.account.displayName}}"/>@<x id="INTERPOLATION_1" equiv-text="{{video.account.host}}"/></strong> and find back the video. Direct commenting capabilities are being worked on in <a href='https://github.com/Chocobozzz/PeerTube/issues/224'>#224</a>. @@ -2260,6 +2268,17 @@ When you will upload a video in this channel, the video support field will be au 1 + + Unlimited + + src/app/+admin/users/shared/user.service.ts + 1 + + + src/app/+my-account/my-account-settings/my-account-settings.component.ts + 1 + + User <x id="INTERPOLATION" equiv-text="{{username}}"/> created. @@ -2337,13 +2356,6 @@ When you will upload a video in this channel, the video support field will be au 1 - - Unlimited - - src/app/+my-account/my-account-settings/my-account-settings.component.ts - 1 - - Avatar changed. diff --git a/client/src/locale/target/messages_fr.xml b/client/src/locale/target/messages_fr.xml index c095adf0b..04e9d2a1a 100644 --- a/client/src/locale/target/messages_fr.xml +++ b/client/src/locale/target/messages_fr.xml @@ -1254,7 +1254,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Select the file to upload - Sélectionner le fichier à mettre en ligne + Sélectionner le fichier 12 @@ -1268,7 +1268,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Privacy - Confidentialité + Visibilité 86 @@ -1296,7 +1296,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Tags - Tags + Étiquettes 15 @@ -1366,14 +1366,14 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Upload thumbnail - Mettre en ligne une vignette + Téléverser une vignette 119 Upload preview - Mettre en ligne une vignette + Téléverser un aperçu 126 @@ -1689,9 +1689,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Tags - - Tags - + Étiquettes 161 @@ -1750,6 +1748,15 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au 195 + + + Comments + + Commentaires + + 3 + + You can either comment on the page of your instance where this video is federated with your PeerTube account, or via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type in the search box <strong>@@</strong> and find back the video. Direct commenting capabilities are being worked on in <a href='https://github.com/Chocobozzz/PeerTube/issues/224'>#224</a>. Vous pouvez soit commenter sur la page de l'instance où cette vidéo est fédérée avec votre compte PeerTube, ou via n'importe quelle instance utilisant ActivityPub pour l'échange de messages. Par exemple avec une instance Mastodon ou Pleroma vous pouvez copier l'URL de vidéo dans le champs de recherche, ou écrire <strong>@@</strong> et retrouver la vidéo. Nous travaillons à la possibilité de commenter directement depuis PeerTube avec un compte distant sur <a href='https://github.com/Chocobozzz/PeerTube/issues/224'>#224</a>. @@ -1975,6 +1982,13 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au 1 + + Unlimited + Illimité + + 1 + + User created. Utilisateur créé. @@ -2052,13 +2066,6 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au 1 - - Unlimited - Illimité - - 1 - - Avatar changed. Avatar changé. @@ -2476,7 +2483,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au Video privacy is required. - La confidentialité de la vidéo est requise. + La visibilité de la vidéo est requise. 1 @@ -2742,7 +2749,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au But associated data (tags, description...) will be lost, are you sure you want to leave this page? - Les données associées (tags, description, etc.) seront par contre perdues ; êtes-vous sûr·e de vouloir quitter cette page ? + Les données associées (étiquettes, description, etc.) seront par contre perdues ; êtes-vous sûr·e de vouloir quitter cette page ? 1