diff options
7 files changed, 52 insertions, 30 deletions
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 { | |||
62 | private formatUser (user: User) { | 62 | private formatUser (user: User) { |
63 | let videoQuota | 63 | let videoQuota |
64 | if (user.videoQuota === -1) { | 64 | if (user.videoQuota === -1) { |
65 | videoQuota = 'Unlimited' | 65 | videoQuota = this.i18n('Unlimited') |
66 | } else { | 66 | } else { |
67 | videoQuota = this.bytesPipe.transform(user.videoQuota) | 67 | videoQuota = this.bytesPipe.transform(user.videoQuota) |
68 | } | 68 | } |
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 @@ | |||
7 | align-items: center; | 7 | align-items: center; |
8 | 8 | ||
9 | .button-file { | 9 | .button-file { |
10 | @include peertube-button-file(190px); | 10 | @include peertube-button-file(auto); |
11 | |||
12 | min-width: 190px; | ||
11 | } | 13 | } |
12 | 14 | ||
13 | .image-constraints { | 15 | .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 @@ | |||
34 | } | 34 | } |
35 | 35 | ||
36 | .button-file { | 36 | .button-file { |
37 | @include peertube-button-file(190px); | 37 | @include peertube-button-file(auto); |
38 | 38 | ||
39 | min-width: 190px; | ||
39 | margin-bottom: 45px; | 40 | margin-bottom: 45px; |
40 | } | 41 | } |
41 | } | 42 | } |
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 @@ | |||
1 | <div> | 1 | <div> |
2 | <div class="title-block"> | 2 | <div class="title-block"> |
3 | <div class="title-page title-page-single"> | 3 | <div i18n class="title-page title-page-single"> |
4 | Comments | 4 | Comments |
5 | </div> | 5 | </div> |
6 | <my-help | 6 | <my-help |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index 990f86cc5..d765f23ef 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss | |||
@@ -158,8 +158,8 @@ | |||
158 | } | 158 | } |
159 | } | 159 | } |
160 | 160 | ||
161 | &.action-button-share { | 161 | .icon-text { |
162 | width: 82px; | 162 | margin-left: 3px; |
163 | } | 163 | } |
164 | 164 | ||
165 | &.action-button-like.activated { | 165 | &.action-button-like.activated { |
diff --git a/client/src/locale/source/messages_en_US.xml b/client/src/locale/source/messages_en_US.xml index b5f4d826b..859212ae7 100644 --- a/client/src/locale/source/messages_en_US.xml +++ b/client/src/locale/source/messages_en_US.xml | |||
@@ -1806,6 +1806,14 @@ When you will upload a video in this channel, the video support field will be au | |||
1806 | <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.ts</context> | 1806 | <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.ts</context> |
1807 | <context context-type="linenumber">195</context> | 1807 | <context context-type="linenumber">195</context> |
1808 | </context-group> | 1808 | </context-group> |
1809 | </trans-unit><trans-unit id="b5f5df598f2d75640849b2a7744f91e5dbd390e7" datatype="html"> | ||
1810 | <source> | ||
1811 | Comments | ||
1812 | </source> | ||
1813 | <context-group purpose="location"> | ||
1814 | <context context-type="sourcefile">app/videos/+video-watch/comment/video-comments.component.ts</context> | ||
1815 | <context context-type="linenumber">3</context> | ||
1816 | </context-group> | ||
1809 | </trans-unit><trans-unit id="4b1a394a3d619606f79b1051b1493e6b743a072d" datatype="html"> | 1817 | </trans-unit><trans-unit id="4b1a394a3d619606f79b1051b1493e6b743a072d" datatype="html"> |
1810 | <source>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>.</source> | 1818 | <source>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>.</source> |
1811 | <context-group purpose="location"> | 1819 | <context-group purpose="location"> |
@@ -2260,6 +2268,17 @@ When you will upload a video in this channel, the video support field will be au | |||
2260 | <context context-type="linenumber">1</context> | 2268 | <context context-type="linenumber">1</context> |
2261 | </context-group> | 2269 | </context-group> |
2262 | </trans-unit> | 2270 | </trans-unit> |
2271 | <trans-unit id="aa6fb95c355f172bda303de1ce2f38c251a149cf" datatype="html"> | ||
2272 | <source>Unlimited</source> | ||
2273 | <context-group purpose="location"> | ||
2274 | <context context-type="sourcefile">src/app/+admin/users/shared/user.service.ts</context> | ||
2275 | <context context-type="linenumber">1</context> | ||
2276 | </context-group> | ||
2277 | <context-group purpose="location"> | ||
2278 | <context context-type="sourcefile">src/app/+my-account/my-account-settings/my-account-settings.component.ts</context> | ||
2279 | <context context-type="linenumber">1</context> | ||
2280 | </context-group> | ||
2281 | </trans-unit> | ||
2263 | <trans-unit id="364463fab6c5714118d6449561a0f8de1cc10bfa" datatype="html"> | 2282 | <trans-unit id="364463fab6c5714118d6449561a0f8de1cc10bfa" datatype="html"> |
2264 | <source>User <x id="INTERPOLATION" equiv-text="{{username}}"/> created.</source> | 2283 | <source>User <x id="INTERPOLATION" equiv-text="{{username}}"/> created.</source> |
2265 | <context-group purpose="location"> | 2284 | <context-group purpose="location"> |
@@ -2337,13 +2356,6 @@ When you will upload a video in this channel, the video support field will be au | |||
2337 | <context context-type="linenumber">1</context> | 2356 | <context context-type="linenumber">1</context> |
2338 | </context-group> | 2357 | </context-group> |
2339 | </trans-unit> | 2358 | </trans-unit> |
2340 | <trans-unit id="aa6fb95c355f172bda303de1ce2f38c251a149cf" datatype="html"> | ||
2341 | <source>Unlimited</source> | ||
2342 | <context-group purpose="location"> | ||
2343 | <context context-type="sourcefile">src/app/+my-account/my-account-settings/my-account-settings.component.ts</context> | ||
2344 | <context context-type="linenumber">1</context> | ||
2345 | </context-group> | ||
2346 | </trans-unit> | ||
2347 | <trans-unit id="1e003ad599ef836949b9f4dad3037a58ef3ff8d1" datatype="html"> | 2359 | <trans-unit id="1e003ad599ef836949b9f4dad3037a58ef3ff8d1" datatype="html"> |
2348 | <source>Avatar changed.</source> | 2360 | <source>Avatar changed.</source> |
2349 | <context-group purpose="location"> | 2361 | <context-group purpose="location"> |
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 | |||
1254 | </trans-unit> | 1254 | </trans-unit> |
1255 | <trans-unit id="21add64f0f3ebbedf1150ca822c6e149494ab7a9"> | 1255 | <trans-unit id="21add64f0f3ebbedf1150ca822c6e149494ab7a9"> |
1256 | <source>Select the file to upload</source> | 1256 | <source>Select the file to upload</source> |
1257 | <target>Sélectionner le fichier à mettre en ligne</target> | 1257 | <target>Sélectionner le fichier</target> |
1258 | <context-group name="null"> | 1258 | <context-group name="null"> |
1259 | <context context-type="linenumber">12</context> | 1259 | <context context-type="linenumber">12</context> |
1260 | </context-group> | 1260 | </context-group> |
@@ -1268,7 +1268,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1268 | </trans-unit> | 1268 | </trans-unit> |
1269 | <trans-unit id="3c78b53bca33467190c0b7a01320bc093a2b1427"> | 1269 | <trans-unit id="3c78b53bca33467190c0b7a01320bc093a2b1427"> |
1270 | <source>Privacy</source> | 1270 | <source>Privacy</source> |
1271 | <target>Confidentialité</target> | 1271 | <target>Visibilité</target> |
1272 | <context-group name="null"> | 1272 | <context-group name="null"> |
1273 | <context context-type="linenumber">86</context> | 1273 | <context context-type="linenumber">86</context> |
1274 | </context-group> | 1274 | </context-group> |
@@ -1296,7 +1296,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1296 | </trans-unit> | 1296 | </trans-unit> |
1297 | <trans-unit id="cafc87479686947e2590b9f588a88040aeaf660b"> | 1297 | <trans-unit id="cafc87479686947e2590b9f588a88040aeaf660b"> |
1298 | <source>Tags</source> | 1298 | <source>Tags</source> |
1299 | <target>Tags</target> | 1299 | <target>Étiquettes</target> |
1300 | <context-group name="null"> | 1300 | <context-group name="null"> |
1301 | <context context-type="linenumber">15</context> | 1301 | <context context-type="linenumber">15</context> |
1302 | </context-group> | 1302 | </context-group> |
@@ -1366,14 +1366,14 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1366 | </trans-unit> | 1366 | </trans-unit> |
1367 | <trans-unit id="1dd793abd1cb8d16a7a2cb71ca5549a7111ee513"> | 1367 | <trans-unit id="1dd793abd1cb8d16a7a2cb71ca5549a7111ee513"> |
1368 | <source>Upload thumbnail</source> | 1368 | <source>Upload thumbnail</source> |
1369 | <target>Mettre en ligne une vignette</target> | 1369 | <target>Téléverser une vignette</target> |
1370 | <context-group name="null"> | 1370 | <context-group name="null"> |
1371 | <context context-type="linenumber">119</context> | 1371 | <context context-type="linenumber">119</context> |
1372 | </context-group> | 1372 | </context-group> |
1373 | </trans-unit> | 1373 | </trans-unit> |
1374 | <trans-unit id="9df3f57e251c077bef7e7da81677cb971c55b639"> | 1374 | <trans-unit id="9df3f57e251c077bef7e7da81677cb971c55b639"> |
1375 | <source>Upload preview</source> | 1375 | <source>Upload preview</source> |
1376 | <target>Mettre en ligne une vignette</target> | 1376 | <target>Téléverser un aperçu</target> |
1377 | <context-group name="null"> | 1377 | <context-group name="null"> |
1378 | <context context-type="linenumber">126</context> | 1378 | <context context-type="linenumber">126</context> |
1379 | </context-group> | 1379 | </context-group> |
@@ -1689,9 +1689,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1689 | <source> | 1689 | <source> |
1690 | Tags | 1690 | Tags |
1691 | </source> | 1691 | </source> |
1692 | <target> | 1692 | <target>Étiquettes</target> |
1693 | Tags | ||
1694 | </target> | ||
1695 | <context-group name="null"> | 1693 | <context-group name="null"> |
1696 | <context context-type="linenumber">161</context> | 1694 | <context context-type="linenumber">161</context> |
1697 | </context-group> | 1695 | </context-group> |
@@ -1750,6 +1748,15 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1750 | <context context-type="linenumber">195</context> | 1748 | <context context-type="linenumber">195</context> |
1751 | </context-group> | 1749 | </context-group> |
1752 | </trans-unit> | 1750 | </trans-unit> |
1751 | <trans-unit id="b5f5df598f2d75640849b2a7744f91e5dbd390e7"> | ||
1752 | <source> | ||
1753 | Comments | ||
1754 | </source> | ||
1755 | <target>Commentaires</target> | ||
1756 | <context-group name="null"> | ||
1757 | <context context-type="linenumber">3</context> | ||
1758 | </context-group> | ||
1759 | </trans-unit> | ||
1753 | <trans-unit id="4b1a394a3d619606f79b1051b1493e6b743a072d"> | 1760 | <trans-unit id="4b1a394a3d619606f79b1051b1493e6b743a072d"> |
1754 | <source>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>.</source> | 1761 | <source>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>.</source> |
1755 | <target>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>@<x id="INTERPOLATION" equiv-text="{{video.account.displayName}}"/>@<x id="INTERPOLATION_1" equiv-text="{{video.account.host}}"/></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>.</target> | 1762 | <target>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>@<x id="INTERPOLATION" equiv-text="{{video.account.displayName}}"/>@<x id="INTERPOLATION_1" equiv-text="{{video.account.host}}"/></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>.</target> |
@@ -1975,6 +1982,13 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
1975 | <context context-type="linenumber">1</context> | 1982 | <context context-type="linenumber">1</context> |
1976 | </context-group> | 1983 | </context-group> |
1977 | </trans-unit> | 1984 | </trans-unit> |
1985 | <trans-unit id="aa6fb95c355f172bda303de1ce2f38c251a149cf"> | ||
1986 | <source>Unlimited</source> | ||
1987 | <target>Illimité</target> | ||
1988 | <context-group name="null"> | ||
1989 | <context context-type="linenumber">1</context> | ||
1990 | </context-group> | ||
1991 | </trans-unit> | ||
1978 | <trans-unit id="364463fab6c5714118d6449561a0f8de1cc10bfa"> | 1992 | <trans-unit id="364463fab6c5714118d6449561a0f8de1cc10bfa"> |
1979 | <source>User <x id="INTERPOLATION" equiv-text="{{username}}"/> created.</source> | 1993 | <source>User <x id="INTERPOLATION" equiv-text="{{username}}"/> created.</source> |
1980 | <target>Utilisateur <x id="INTERPOLATION" equiv-text="{{username}}"/> créé.</target> | 1994 | <target>Utilisateur <x id="INTERPOLATION" equiv-text="{{username}}"/> créé.</target> |
@@ -2052,13 +2066,6 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
2052 | <context context-type="linenumber">1</context> | 2066 | <context context-type="linenumber">1</context> |
2053 | </context-group> | 2067 | </context-group> |
2054 | </trans-unit> | 2068 | </trans-unit> |
2055 | <trans-unit id="aa6fb95c355f172bda303de1ce2f38c251a149cf"> | ||
2056 | <source>Unlimited</source> | ||
2057 | <target>Illimité</target> | ||
2058 | <context-group name="null"> | ||
2059 | <context context-type="linenumber">1</context> | ||
2060 | </context-group> | ||
2061 | </trans-unit> | ||
2062 | <trans-unit id="1e003ad599ef836949b9f4dad3037a58ef3ff8d1"> | 2069 | <trans-unit id="1e003ad599ef836949b9f4dad3037a58ef3ff8d1"> |
2063 | <source>Avatar changed.</source> | 2070 | <source>Avatar changed.</source> |
2064 | <target>Avatar changé.</target> | 2071 | <target>Avatar changé.</target> |
@@ -2476,7 +2483,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
2476 | </trans-unit> | 2483 | </trans-unit> |
2477 | <trans-unit id="a627c58cf1849d7d838696e7f36c1bae1a8b31a4"> | 2484 | <trans-unit id="a627c58cf1849d7d838696e7f36c1bae1a8b31a4"> |
2478 | <source>Video privacy is required.</source> | 2485 | <source>Video privacy is required.</source> |
2479 | <target>La confidentialité de la vidéo est requise.</target> | 2486 | <target>La visibilité de la vidéo est requise.</target> |
2480 | <context-group name="null"> | 2487 | <context-group name="null"> |
2481 | <context context-type="linenumber">1</context> | 2488 | <context context-type="linenumber">1</context> |
2482 | </context-group> | 2489 | </context-group> |
@@ -2742,7 +2749,7 @@ Quand vous mettrez en ligne une vidéo sur cette chaîne, la vidéo affichera au | |||
2742 | </trans-unit> | 2749 | </trans-unit> |
2743 | <trans-unit id="24840228f2826b66252cfcaab9820b1c7e0da264"> | 2750 | <trans-unit id="24840228f2826b66252cfcaab9820b1c7e0da264"> |
2744 | <source>But associated data (tags, description...) will be lost, are you sure you want to leave this page?</source> | 2751 | <source>But associated data (tags, description...) will be lost, are you sure you want to leave this page?</source> |
2745 | <target>Les données associées (tags, description, etc.) seront par contre perdues ; êtes-vous sûr·e de vouloir quitter cette page ?</target> | 2752 | <target>Les données associées (étiquettes, description, etc.) seront par contre perdues ; êtes-vous sûr·e de vouloir quitter cette page ?</target> |
2746 | <context-group name="null"> | 2753 | <context-group name="null"> |
2747 | <context context-type="linenumber">1</context> | 2754 | <context context-type="linenumber">1</context> |
2748 | </context-group> | 2755 | </context-group> |