aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-03 10:39:43 +0100
committerChocobozzz <me@florianbigard.com>2020-12-03 10:39:43 +0100
commit5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6 (patch)
tree3a07fdf355b026015f5b35eea5023e630aaf5610
parentd4132d3f56b392a2e4e632db59e6644e4851228e (diff)
downloadPeerTube-5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6.tar.gz
PeerTube-5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6.tar.zst
PeerTube-5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6.zip
Fix lint
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts2
-rw-r--r--shared/core-utils/miscs/http-error-codes.ts2
2 files changed, 2 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 fdd0a56e5..bee3679f7 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
@@ -87,7 +87,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
87 let text = '' 87 let text = ''
88 88
89 if (this.videoUploaded === true) { 89 if (this.videoUploaded === true) {
90 // FIXME: cannot concatenate strings inside i18n service :/ 90 // FIXME: cannot concatenate strings using $localize
91 text = $localize`Your video was uploaded to your account and is private.` + ' ' + 91 text = $localize`Your video was uploaded to your account and is private.` + ' ' +
92 $localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?` 92 $localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?`
93 } else { 93 } else {
diff --git a/shared/core-utils/miscs/http-error-codes.ts b/shared/core-utils/miscs/http-error-codes.ts
index 6dfe73c2e..9ba725fb9 100644
--- a/shared/core-utils/miscs/http-error-codes.ts
+++ b/shared/core-utils/miscs/http-error-codes.ts
@@ -132,7 +132,7 @@ export enum HttpStatusCode {
132 * @deprecated 132 * @deprecated
133 * SINCE HTTP/1.1 133 * SINCE HTTP/1.1
134 * The requested resource is available only through a proxy, the address for which is provided in the response. 134 * The requested resource is available only through a proxy, the address for which is provided in the response.
135 * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status 135 * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status
136 * code, primarily for security reasons. 136 * code, primarily for security reasons.
137 */ 137 */
138 USE_PROXY_305 = 305, 138 USE_PROXY_305 = 305,