aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-06 10:05:06 +0200
committerChocobozzz <me@florianbigard.com>2018-08-06 11:19:16 +0200
commit60979b076de00a7c7f6dde26617cd39357d9fc6d (patch)
treeb652fc74c9dafdf9eee210eb79db76e236aa8c83 /client/src/app
parentb2977eecb8eb5d599df0c6a7ab99a437a6a969c7 (diff)
downloadPeerTube-60979b076de00a7c7f6dde26617cd39357d9fc6d.tar.gz
PeerTube-60979b076de00a7c7f6dde26617cd39357d9fc6d.tar.zst
PeerTube-60979b076de00a7c7f6dde26617cd39357d9fc6d.zip
Fix tests
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/videos/+video-edit/video-import.component.html2
-rw-r--r--client/src/app/videos/+video-edit/video-upload.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-import.component.html b/client/src/app/videos/+video-edit/video-import.component.html
index cfad5e289..6b431f6f6 100644
--- a/client/src/app/videos/+video-edit/video-import.component.html
+++ b/client/src/app/videos/+video-edit/video-import.component.html
@@ -6,7 +6,7 @@
6 <label i18n for="targetUrl">URL</label> 6 <label i18n for="targetUrl">URL</label>
7 <my-help 7 <my-help
8 helpType="custom" i18n-customHtml 8 helpType="custom" i18n-customHtml
9 customHtml="You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> or URL that points to a raw MP4 file. Failure to secure these rights could cause legal trouble to yourself and your instance." 9 customHtml="You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> or URL that points to a raw MP4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance."
10 ></my-help> 10 ></my-help>
11 11
12 <input type="text" id="targetUrl" [(ngModel)]="targetUrl" /> 12 <input type="text" id="targetUrl" [(ngModel)]="targetUrl" />
diff --git a/client/src/app/videos/+video-edit/video-upload.component.ts b/client/src/app/videos/+video-edit/video-upload.component.ts
index e6c391d2f..c5e9c1592 100644
--- a/client/src/app/videos/+video-edit/video-upload.component.ts
+++ b/client/src/app/videos/+video-edit/video-upload.component.ts
@@ -100,7 +100,7 @@ export class VideoUploadComponent extends FormReactive implements OnInit, OnDest
100 100
101 if (this.videoUploaded === true) { 101 if (this.videoUploaded === true) {
102 // FIXME: cannot concatenate strings inside i18n service :/ 102 // FIXME: cannot concatenate strings inside i18n service :/
103 text = this.i18n('Your video was uploaded in your account and is private.') + 103 text = this.i18n('Your video was uploaded to your account and is private.') +
104 this.i18n('But associated data (tags, description...) will be lost, are you sure you want to leave this page?') 104 this.i18n('But associated data (tags, description...) will be lost, are you sure you want to leave this page?')
105 } else { 105 } else {
106 text = this.i18n('Your video is not uploaded yet, are you sure you want to leave this page?') 106 text = this.i18n('Your video is not uploaded yet, are you sure you want to leave this page?')