X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Frest%2Frest-extractor.service.ts;h=4b8c1e1555579567de687f068487568185eb6e88;hb=dc5bb5cea5bf7e906caa6d9c5468e6de36e605de;hp=36702b3712e28d21adf12148bd779f1d6b9f05f3;hpb=66357162f8e1227495f09bd4f68446aad7071c6d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/rest/rest-extractor.service.ts b/client/src/app/core/rest/rest-extractor.service.ts index 36702b371..4b8c1e155 100644 --- a/client/src/app/core/rest/rest-extractor.service.ts +++ b/client/src/app/core/rest/rest-extractor.service.ts @@ -58,8 +58,7 @@ export class RestExtractor { } else if (err.error && err.error.error) { errorMessage = err.error.error } else if (err.status === 413) { - errorMessage = $localize`Request is too large for the server. - Please contact you administrator if you want to increase the limit size.` + errorMessage = $localize`Media is too large for the server. Please contact you administrator if you want to increase the limit size.` } else if (err.status === 429) { const secondsLeft = err.headers.get('retry-after') if (secondsLeft) {