mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
20 lines
551 B
TypeScript
20 lines
551 B
TypeScript
import { Component, OnInit, inject } from '@angular/core';
|
|
import { RemoteControlComponent } from '@iptvnator/ui/remote-control';
|
|
import { TranslateService } from '@ngx-translate/core';
|
|
|
|
@Component({
|
|
imports: [RemoteControlComponent],
|
|
selector: 'app-root',
|
|
templateUrl: './app.html',
|
|
styleUrl: './app.scss',
|
|
})
|
|
export class App implements OnInit {
|
|
private translate = inject(TranslateService);
|
|
|
|
ngOnInit() {
|
|
// Set default language
|
|
this.translate.setDefaultLang('en');
|
|
this.translate.use('en');
|
|
}
|
|
}
|