diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-17 09:21:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-04-17 09:21:02 +0200 |
commit | 208c97e111f2610880a588964bb61a03503cfcf6 (patch) | |
tree | 3ec04f25dec1411a284aa6e453d9e2cb460ce373 /client/src/app/core | |
parent | 29ccdcb51f069d6a64744ffb216cb00ce4bf2d3d (diff) | |
download | PeerTube-208c97e111f2610880a588964bb61a03503cfcf6.tar.gz PeerTube-208c97e111f2610880a588964bb61a03503cfcf6.tar.zst PeerTube-208c97e111f2610880a588964bb61a03503cfcf6.zip |
Always translate user role
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 0829d87d5..9f191f0a6 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -137,7 +137,7 @@ export class ServerService { | |||
137 | return this.videoPlaylistPrivaciesObservable.pipe(first()) | 137 | return this.videoPlaylistPrivaciesObservable.pipe(first()) |
138 | } | 138 | } |
139 | 139 | ||
140 | getServerLocale () { | 140 | getServerLocale (): Observable<{ [ id: string ]: string }> { |
141 | if (!this.localeObservable) { | 141 | if (!this.localeObservable) { |
142 | const completeLocale = isOnDevLocale() ? getDevLocale() : getCompleteLocale(this.localeId) | 142 | const completeLocale = isOnDevLocale() ? getDevLocale() : getCompleteLocale(this.localeId) |
143 | 143 | ||