feat: add ru locale

This commit is contained in:
Polianin Nikita 2024-06-10 21:46:16 +03:00
parent c5f4b7b526
commit f3e707a31a

View File

@ -1,6 +1,8 @@
import {Component} from '@angular/core'; import {Component} from '@angular/core';
import {RouterOutlet} from '@angular/router'; 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({ @Component({
selector: 'app-root', selector: 'app-root',
@ -11,4 +13,7 @@ import {FooterComponent} from "@component/footer/footer.component";
<app-footer/>` <app-footer/>`
}) })
export class AppComponent { export class AppComponent {
constructor() {
registerLocaleData(localeRu);
}
} }