From 8c40b7dc28fcbfee63573ea666ea1a389f6a2d82 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 Jun 2018 16:52:25 +0200 Subject: Add missing translations --- client/src/app/+admin/users/shared/user.service.ts | 2 +- client/src/app/videos/+video-edit/shared/video-image.component.scss | 4 +++- client/src/app/videos/+video-edit/video-add.component.scss | 3 ++- .../src/app/videos/+video-watch/comment/video-comments.component.html | 2 +- client/src/app/videos/+video-watch/video-watch.component.scss | 4 ++-- 5 files changed, 9 insertions(+), 6 deletions(-) (limited to 'client/src/app') 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