diff --git a/src/app/app.component.ts b/src/app/app.component.ts index cf395f0..9a6cdf4 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,6 +1,8 @@ import {Component} from '@angular/core'; import {RouterOutlet} from '@angular/router'; -import {FooterComponent} from "@component/footer/footer.component"; +import {FooterComponent} from "@component/common/footer/footer.component"; +import localeRu from '@angular/common/locales/ru'; +import { registerLocaleData } from '@angular/common'; @Component({ selector: 'app-root', @@ -11,4 +13,7 @@ import {FooterComponent} from "@component/footer/footer.component"; ` }) export class AppComponent { + constructor() { + registerLocaleData(localeRu); + } }