From 40ed9f6aaeb9e78fc8d9a5f82bd7dbad16639051 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 Oct 2018 12:42:13 +0200 Subject: [PATCH] Update translations --- client/src/locale/source/angular_en_US.xml | 31 ++++++++++------------ server/helpers/peertube-crypto.ts | 5 +--- 2 files changed, 15 insertions(+), 21 deletions(-) diff --git a/client/src/locale/source/angular_en_US.xml b/client/src/locale/source/angular_en_US.xml index 4a71c6e17..e3c4e66a3 100644 --- a/client/src/locale/source/angular_en_US.xml +++ b/client/src/locale/source/angular_en_US.xml @@ -644,8 +644,8 @@ app/signup/signup.component.html 16 - - I have read and agree to the <a href='/about/instance#terms-section' target='_blank'rel='noopener noreferrer'>Terms</a> of this instance + + I am at least 16 years old and agree to the <a href='/about/instance#terms-section' target='_blank'rel='noopener noreferrer'>Terms</a> of this instance app/signup/signup.component.html 54 @@ -1308,9 +1308,9 @@ app/+about/about-peertube/about-peertube.component.html 83 - + - PeerTube is only in beta, and want to deliver the best countermeasures possible by the time the stable is released. + PeerTube is in its early stages, and want to deliver the best countermeasures possible by the time the stable is released. In the meantime, we want to test different ideas related to this issue: @@ -5272,12 +5272,16 @@ When you will upload a video in this channel, the video support field will be au 1 - - Description cannot be more than 250 characters long. + + Description cannot be more than 1000 characters long. src/app/shared/forms/form-validators/user-validators.service.ts 1 + + src/app/shared/forms/form-validators/video-channel-validators.service.ts + 1 + You must to agree with the instance terms in order to registering on it. @@ -5419,13 +5423,6 @@ When you will upload a video in this channel, the video support field will be au 1 - - Description cannot be more than 500 characters long. - - src/app/shared/forms/form-validators/video-channel-validators.service.ts - 1 - - Support text must be at least 3 characters long. @@ -5433,8 +5430,8 @@ When you will upload a video in this channel, the video support field will be au 1 - - Support text cannot be more than 500 characters long. + + Support text cannot be more than 1000 characters long. src/app/shared/forms/form-validators/video-channel-validators.service.ts 1 @@ -5531,8 +5528,8 @@ When you will upload a video in this channel, the video support field will be au 1 - - Video support cannot be more than 500 characters long. + + Video support cannot be more than 1000 characters long. src/app/shared/forms/form-validators/video-validators.service.ts 1 diff --git a/server/helpers/peertube-crypto.ts b/server/helpers/peertube-crypto.ts index cb5f27240..8ef7b1359 100644 --- a/server/helpers/peertube-crypto.ts +++ b/server/helpers/peertube-crypto.ts @@ -62,10 +62,7 @@ function isJsonLDSignatureVerified (fromActor: ActorModel, signedDocument: any) return jsig.promises .verify(signedDocument, options) - .then((result: { verified: boolean }) => { - logger.info('coucou', result) - return result.verified - }) + .then((result: { verified: boolean }) => result.verified) .catch(err => { logger.error('Cannot check signature.', { err }) return false -- 2.25.1