diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-07 17:40:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-07 17:40:45 +0200 |
commit | d972dc7f665026086ad1804a3798ae36adea70c5 (patch) | |
tree | 5dcee10bb742ccd824c44acab31524e932e3c9c5 /client/src/app/videos | |
parent | 4e554c4a2d5ea2cd98ce5545d81431100de43b23 (diff) | |
download | PeerTube-d972dc7f665026086ad1804a3798ae36adea70c5.tar.gz PeerTube-d972dc7f665026086ad1804a3798ae36adea70c5.tar.zst PeerTube-d972dc7f665026086ad1804a3798ae36adea70c5.zip |
Update translations
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts | 9 |
1 files changed, 4 insertions, 5 deletions
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 | |||
123 | const videoQuota = this.authService.getUser().videoQuota | 123 | const videoQuota = this.authService.getUser().videoQuota |
124 | if (videoQuota !== -1 && (this.userVideoQuotaUsed + videofile.size) > videoQuota) { | 124 | if (videoQuota !== -1 && (this.userVideoQuotaUsed + videofile.size) > videoQuota) { |
125 | const msg = this.i18n( | 125 | const msg = this.i18n( |
126 | 'Your video quota is exceeded with this video (video size: {{ videoSize }}, used: {{ videoQuotaUsed }}, quota: {{ videoQuota }})', | 126 | 'Your video quota is exceeded with this video (video size: {{videoSize}}, used: {{videoQuotaUsed}}, quota: {{videoQuota}})', |
127 | { | 127 | { |
128 | videoSize: bytePipes.transform(videofile.size, 0), | 128 | videoSize: bytePipes.transform(videofile.size, 0), |
129 | videoQuotaUsed: bytePipes.transform(this.userVideoQuotaUsed, 0), | 129 | videoQuotaUsed: bytePipes.transform(this.userVideoQuotaUsed, 0), |
@@ -137,12 +137,11 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
137 | const videoQuotaDaily = this.authService.getUser().videoQuotaDaily | 137 | const videoQuotaDaily = this.authService.getUser().videoQuotaDaily |
138 | if (videoQuotaDaily !== -1 && (this.userVideoQuotaUsedDaily + videofile.size) > videoQuotaDaily) { | 138 | if (videoQuotaDaily !== -1 && (this.userVideoQuotaUsedDaily + videofile.size) > videoQuotaDaily) { |
139 | const msg = this.i18n( | 139 | const msg = this.i18n( |
140 | 'Your daily video quota is exceeded with this video (video size: {{ videoSize }}, ' + | 140 | 'Your daily video quota is exceeded with this video (video size: {{videoSize}}, used: {{quotaUsedDaily}}, quota: {{quotaDaily}})', |
141 | 'used: {{ videoQuotaUsedDaily }}, quota: {{ videoQuotaDaily }})', | ||
142 | { | 141 | { |
143 | videoSize: bytePipes.transform(videofile.size, 0), | 142 | videoSize: bytePipes.transform(videofile.size, 0), |
144 | videoQuotaUsedDaily: bytePipes.transform(this.userVideoQuotaUsedDaily, 0), | 143 | quotaUsedDaily: bytePipes.transform(this.userVideoQuotaUsedDaily, 0), |
145 | videoQuotaDaily: bytePipes.transform(videoQuotaDaily, 0) | 144 | quotaDaily: bytePipes.transform(videoQuotaDaily, 0) |
146 | } | 145 | } |
147 | ) | 146 | ) |
148 | this.notificationsService.error(this.i18n('Error'), msg) | 147 | this.notificationsService.error(this.i18n('Error'), msg) |