]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix lint
authorChocobozzz <me@florianbigard.com>
Thu, 3 Dec 2020 09:39:43 +0000 (10:39 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 3 Dec 2020 09:39:43 +0000 (10:39 +0100)
client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
shared/core-utils/miscs/http-error-codes.ts

index fdd0a56e5dc2942ace73d69ca8b750dac1216da4..bee3679f7480b46e57f7b6954be9bc536d0459ce 100644 (file)
@@ -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 {
index 6dfe73c2e7be99695d3ddda86a814b77b04a5d3c..9ba725fb94c0f9169e749786971252fbce773ed6 100644 (file)
@@ -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,