aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/rest/rest-extractor.service.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-11-12 21:09:17 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-11-12 21:09:28 +0100
commitdc5bb5cea5bf7e906caa6d9c5468e6de36e605de (patch)
tree9176c9f6d2f508a11ea444cef8105840486960c6 /client/src/app/core/rest/rest-extractor.service.ts
parent501af82d999a79e277f87794f6296d0e3495775c (diff)
downloadPeerTube-dc5bb5cea5bf7e906caa6d9c5468e6de36e605de.tar.gz
PeerTube-dc5bb5cea5bf7e906caa6d9c5468e6de36e605de.tar.zst
PeerTube-dc5bb5cea5bf7e906caa6d9c5468e6de36e605de.zip
reword unclear sentences, check for grammar
fixes #3222
Diffstat (limited to 'client/src/app/core/rest/rest-extractor.service.ts')
-rw-r--r--client/src/app/core/rest/rest-extractor.service.ts3
1 files changed, 1 insertions, 2 deletions
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 {
58 } else if (err.error && err.error.error) { 58 } else if (err.error && err.error.error) {
59 errorMessage = err.error.error 59 errorMessage = err.error.error
60 } else if (err.status === 413) { 60 } else if (err.status === 413) {
61 errorMessage = $localize`Request is too large for the server. 61 errorMessage = $localize`Media is too large for the server. Please contact you administrator if you want to increase the limit size.`
62 Please contact you administrator if you want to increase the limit size.`
63 } else if (err.status === 429) { 62 } else if (err.status === 429) {
64 const secondsLeft = err.headers.get('retry-after') 63 const secondsLeft = err.headers.get('retry-after')
65 if (secondsLeft) { 64 if (secondsLeft) {