aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts2
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.ts3
2 files changed, 3 insertions, 2 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 c1920b1f0..584441817 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
@@ -83,7 +83,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
83 83
84 if (this.videoUploaded === true) { 84 if (this.videoUploaded === true) {
85 // FIXME: cannot concatenate strings inside i18n service :/ 85 // FIXME: cannot concatenate strings inside i18n service :/
86 text = this.i18n('Your video was uploaded to your account and is private.') + 86 text = this.i18n('Your video was uploaded to your account and is private.') + ' ' +
87 this.i18n('But associated data (tags, description...) will be lost, are you sure you want to leave this page?') 87 this.i18n('But associated data (tags, description...) will be lost, are you sure you want to leave this page?')
88 } else { 88 } else {
89 text = this.i18n('Your video is not uploaded yet, are you sure you want to leave this page?') 89 text = this.i18n('Your video is not uploaded yet, are you sure you want to leave this page?')
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts
index 856e61530..3a0f3a39a 100644
--- a/client/src/app/videos/+video-edit/video-update.component.ts
+++ b/client/src/app/videos/+video-edit/video-update.component.ts
@@ -93,7 +93,8 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
93 } 93 }
94 94
95 update () { 95 update () {
96 if (this.checkForm() === false) { 96 if (this.checkForm() === false
97 || this.isUpdatingVideo === true) {
97 return 98 return
98 } 99 }
99 100