@@ -10,17 +10,12 @@ import { loadCldr, L10n } from '@syncfusion/ej2-base';
1010export class InternationalizationComponent {
1111 public date : Object = new Date ( ) ;
1212 locale : string = 'de' ;
13- ngOnInit ( ) : void {
13+ ngOnInit ( ) : void {
1414 loadCldr (
1515 require ( '../common/cldr-data/supplemental/numberingSystems.json' ) ,
16- require ( '../common/cldr-data/main/zh/ca-gregorian.json' ) ,
17- require ( '../common/cldr-data/main/zh/timeZoneNames.json' ) ,
18- require ( '../common/cldr-data/main/zh/numbers.json' ) ,
19- require ( '../common/cldr-data/main/zh/currencies.json' ) ,
2016 require ( '../common/cldr-data/main/de/ca-gregorian.json' ) ,
21- require ( '../common/cldr-data/main/de/timeZoneNames.json' ) ,
2217 require ( '../common/cldr-data/main/de/numbers.json' ) ,
23- require ( '../common/cldr-data/main/de/currencies .json' )
18+ require ( '../common/cldr-data/main/de/timeZoneNames .json' )
2419 ) ;
2520 }
2621 changeLocale ( ) {
@@ -30,7 +25,7 @@ export class InternationalizationComponent {
3025 constructor ( @Inject ( 'sourceFiles' ) private sourceFiles : any ) {
3126 sourceFiles . files = [ 'calendar-style.css' ] ;
3227 }
33- onValueChange ( args : any ) :void {
34- ( < HTMLInputElement > document . getElementById ( 'selected' ) ) . textContent = 'Selected Value: ' + args . value . toLocaleDateString ( ) ;
28+ onValueChange ( args : any ) : void {
29+ ( < HTMLInputElement > document . getElementById ( 'selected' ) ) . textContent = 'Selected Value: ' + args . value . toLocaleDateString ( ) ;
3530 }
3631}
0 commit comments