diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
commit | 25acef90a85c1584880dec96aa402f896af8364a (patch) | |
tree | 5e62e68c2e32a94a289ebd77f0610ed5a085a142 /client/src/app/shared/rest | |
parent | 632f9815c6ab87fce3f3f7399cef9f7679fde908 (diff) | |
download | PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.gz PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.zst PeerTube-25acef90a85c1584880dec96aa402f896af8364a.zip |
Fix i18n in components
Diffstat (limited to 'client/src/app/shared/rest')
-rw-r--r-- | client/src/app/shared/rest/rest-extractor.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 468ac3e32..0d5b6d6f3 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts | |||
@@ -71,7 +71,7 @@ export class RestExtractor { | |||
71 | const secondsLeft = err.headers.get('retry-after') | 71 | const secondsLeft = err.headers.get('retry-after') |
72 | if (secondsLeft) { | 72 | if (secondsLeft) { |
73 | const minutesLeft = Math.floor(parseInt(secondsLeft, 10) / 60) | 73 | const minutesLeft = Math.floor(parseInt(secondsLeft, 10) / 60) |
74 | errorMessage = this.i18n('Too many attempts, please try again after {{ minutesLeft }} minutes.', { minutesLeft }) | 74 | errorMessage = this.i18n('Too many attempts, please try again after {{minutesLeft}} minutes.', { minutesLeft }) |
75 | } else { | 75 | } else { |
76 | errorMessage = this.i18n('Too many attempts, please try again later.') | 76 | errorMessage = this.i18n('Too many attempts, please try again later.') |
77 | } | 77 | } |