From d972dc7f665026086ad1804a3798ae36adea70c5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Sep 2018 17:40:45 +0200 Subject: Update translations --- .../+video-edit/video-add-components/video-upload.component.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts index f9af1655b..c1920b1f0 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts @@ -123,7 +123,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy const videoQuota = this.authService.getUser().videoQuota if (videoQuota !== -1 && (this.userVideoQuotaUsed + videofile.size) > videoQuota) { const msg = this.i18n( - 'Your video quota is exceeded with this video (video size: {{ videoSize }}, used: {{ videoQuotaUsed }}, quota: {{ videoQuota }})', + 'Your video quota is exceeded with this video (video size: {{videoSize}}, used: {{videoQuotaUsed}}, quota: {{videoQuota}})', { videoSize: bytePipes.transform(videofile.size, 0), videoQuotaUsed: bytePipes.transform(this.userVideoQuotaUsed, 0), @@ -137,12 +137,11 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy const videoQuotaDaily = this.authService.getUser().videoQuotaDaily if (videoQuotaDaily !== -1 && (this.userVideoQuotaUsedDaily + videofile.size) > videoQuotaDaily) { const msg = this.i18n( - 'Your daily video quota is exceeded with this video (video size: {{ videoSize }}, ' + - 'used: {{ videoQuotaUsedDaily }}, quota: {{ videoQuotaDaily }})', + 'Your daily video quota is exceeded with this video (video size: {{videoSize}}, used: {{quotaUsedDaily}}, quota: {{quotaDaily}})', { videoSize: bytePipes.transform(videofile.size, 0), - videoQuotaUsedDaily: bytePipes.transform(this.userVideoQuotaUsedDaily, 0), - videoQuotaDaily: bytePipes.transform(videoQuotaDaily, 0) + quotaUsedDaily: bytePipes.transform(this.userVideoQuotaUsedDaily, 0), + quotaDaily: bytePipes.transform(videoQuotaDaily, 0) } ) this.notificationsService.error(this.i18n('Error'), msg) -- cgit v1.2.3