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/core/auth/auth.service.ts | |
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/core/auth/auth.service.ts')
-rw-r--r-- | client/src/app/core/auth/auth.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 363f58155..9ec404557 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts | |||
@@ -76,7 +76,7 @@ export class AuthService { | |||
76 | let errorMessage = error.message | 76 | let errorMessage = error.message |
77 | 77 | ||
78 | if (error.status === 403) { | 78 | if (error.status === 403) { |
79 | errorMessage = this.i18n('Cannot retrieve OAuth Client credentials: {{ errorText }}.\n', { errorText: error.text }) | 79 | errorMessage = this.i18n('Cannot retrieve OAuth Client credentials: {{errorText}}.\n', { errorText: error.text }) |
80 | errorMessage += this.i18n( | 80 | errorMessage += this.i18n( |
81 | 'Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.' | 81 | 'Ensure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.' |
82 | ) | 82 | ) |