diff --git a/console/src/app/app.module.ts b/console/src/app/app.module.ts index 8466833aa7..4796d7acb8 100644 --- a/console/src/app/app.module.ts +++ b/console/src/app/app.module.ts @@ -69,6 +69,7 @@ import { StatehandlerService, StatehandlerServiceImpl } from './services/stateha import { StorageService } from './services/storage.service'; import { ThemeService } from './services/theme.service'; import { ToastService } from './services/toast.service'; +import { LanguagesService } from './services/languages.service'; registerLocaleData(localeDe); i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/de.json')); @@ -228,6 +229,7 @@ const authConfig: AuthConfig = { AssetService, ToastService, NavigationService, + LanguagesService, { provide: 'windowObject', useValue: window }, ], bootstrap: [AppComponent], diff --git a/console/src/app/modules/policies/general-settings/general-settings.component.ts b/console/src/app/modules/policies/general-settings/general-settings.component.ts index d549b74fe4..a3c8c399d7 100644 --- a/console/src/app/modules/policies/general-settings/general-settings.component.ts +++ b/console/src/app/modules/policies/general-settings/general-settings.component.ts @@ -26,7 +26,7 @@ export class GeneralSettingsComponent implements OnInit { this.service.getDefaultLanguage().then((langResp) => { this.defaultLanguage = langResp.language; }); - this.service.getSupportedLanguages().then((supportedResp) => { + this.service.getAllowedLanguages().then((supportedResp) => { this.defaultLanguageOptions = supportedResp.languagesList; }); } diff --git a/console/src/app/modules/policies/login-texts/login-texts.component.html b/console/src/app/modules/policies/login-texts/login-texts.component.html index 81421cb28b..de819d5f8d 100644 --- a/console/src/app/modules/policies/login-texts/login-texts.component.html +++ b/console/src/app/modules/policies/login-texts/login-texts.component.html @@ -1,5 +1,8 @@
{{ 'POLICY.LOGIN_TEXTS.DESCRIPTION' | translate }}
+{{ 'POLICY.MESSAGE_TEXTS.DESCRIPTION' | translate }}
+