translation modify
This commit is contained in:
		
							parent
							
								
									409a737bba
								
							
						
					
					
						commit
						af581d6a1d
					
				@ -50,6 +50,14 @@ export class HeaderComponent implements OnInit, OnDestroy {
 | 
			
		||||
  //     return this.locale.getLanguageDirection(language) as Direction;
 | 
			
		||||
  // }
 | 
			
		||||
 | 
			
		||||
  get currentCountry(): string {
 | 
			
		||||
    return this.locale.getCurrentCountry();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  get currentNumberingSystem(): string {
 | 
			
		||||
    return this.locale.getCurrentNumberingSystem();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  selectLocale(language: string, country: string, currency: string, numberingSystem: string): void {
 | 
			
		||||
      this.locale.setDefaultLocale(language, country, '', numberingSystem);
 | 
			
		||||
      this.locale.setCurrentCurrency(currency);
 | 
			
		||||
 | 
			
		||||
@ -12,14 +12,6 @@ import { SensorItemFilterComponent } from './sensor-item-filter/sensor-item-filt
 | 
			
		||||
import { HostSummaryCardComponent } from './host-summary-card/host-summary-card.component';
 | 
			
		||||
import { AppSummaryCardComponent } from './app-summary-card/app-summary-card.component';
 | 
			
		||||
 | 
			
		||||
import {
 | 
			
		||||
  L10nConfig,
 | 
			
		||||
  L10nLoader,
 | 
			
		||||
  LocalizationModule,
 | 
			
		||||
  ProviderType,
 | 
			
		||||
  StorageStrategy
 | 
			
		||||
} from 'angular-l10n';
 | 
			
		||||
 | 
			
		||||
@NgModule({
 | 
			
		||||
  imports: [
 | 
			
		||||
    CommonModule,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user