feat: add ru locale
This commit is contained in:
parent
c5f4b7b526
commit
f3e707a31a
@ -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";
|
||||
<app-footer/>`
|
||||
})
|
||||
export class AppComponent {
|
||||
constructor() {
|
||||
registerLocaleData(localeRu);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user