From 5bfc33b6f1caa50c607bd7334b4a72003c2bd1a6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 3 Dec 2020 10:39:43 +0100 Subject: Fix lint --- .../+videos/+video-edit/video-add-components/video-upload.component.ts | 2 +- shared/core-utils/miscs/http-error-codes.ts | 2 +- 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 let text = '' if (this.videoUploaded === true) { - // FIXME: cannot concatenate strings inside i18n service :/ + // FIXME: cannot concatenate strings using $localize text = $localize`Your video was uploaded to your account and is private.` + ' ' + $localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?` } 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 { * @deprecated * SINCE HTTP/1.1 * The requested resource is available only through a proxy, the address for which is provided in the response. - * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status + * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status * code, primarily for security reasons. */ USE_PROXY_305 = 305, -- cgit v1.2.3