diff options
Diffstat (limited to 'client/src/app/menu/language-chooser.component.ts')
-rw-r--r-- | client/src/app/menu/language-chooser.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/menu/language-chooser.component.ts b/client/src/app/menu/language-chooser.component.ts index e15aeff20..b42e41855 100644 --- a/client/src/app/menu/language-chooser.component.ts +++ b/client/src/app/menu/language-chooser.component.ts | |||
@@ -18,7 +18,7 @@ export class LanguageChooserComponent { | |||
18 | @Inject(LOCALE_ID) private localeId: string | 18 | @Inject(LOCALE_ID) private localeId: string |
19 | ) { | 19 | ) { |
20 | const l = Object.keys(I18N_LOCALES) | 20 | const l = Object.keys(I18N_LOCALES) |
21 | .map(k => ({ id: k, label: I18N_LOCALES[k] , iso: getShortLocale(k) })) | 21 | .map(k => ({ id: k, label: I18N_LOCALES[k], iso: getShortLocale(k) })) |
22 | 22 | ||
23 | this.languages = sortBy(l, 'label') | 23 | this.languages = sortBy(l, 'label') |
24 | } | 24 | } |