profile + i18n

This commit is contained in:
Lurkars
2021-03-18 15:12:30 +01:00
parent 0b4fe16b8e
commit 3e26f43177
16 changed files with 184 additions and 349 deletions
+6 -2
View File
@@ -33,13 +33,15 @@ import {UsernameDialog} from './pages/register/username-dialog/username.dialog';
import {UnavailableComponent} from './pages/unavailable/unavailable.component';
import {NotfoundComponent} from './pages/notfound/notfound.component';
import {HtmlComponent} from './utils/html/html.component';
import {ConfirmDialog} from './ui/confirm/confirm.component'
import {UserComponent} from './pages/user/user.component'
import {I18nService} from './services/i18n.service';
export function init_app(i18n: I18nService) {
return () => i18n.fetch(i18n.getLocale()).then(response => {}, error => {});
return () => i18n.fetch().then(response => {}, error => {});
}
@Injectable()
@@ -81,7 +83,9 @@ export class XhrInterceptor implements HttpInterceptor {
UsernameDialog,
UnavailableComponent,
NotfoundComponent,
HtmlComponent
HtmlComponent,
ConfirmDialog,
UserComponent
],
imports: [
BrowserModule,