diff options
author | YILI <li.yi101@zte.com.cn> | 2017-04-01 10:12:49 +0800 |
---|---|---|
committer | 6092002077 <li.yi101@zte.com.cn> | 2017-04-01 10:12:49 +0800 |
commit | 0d55c2e3df210da06c3f4c8856d71ec590721810 (patch) | |
tree | 617ce41228243a4d3cff383504496cf66b655ac9 /alarm-analysis/src/main/webapp/alarm/app/app.component.ts | |
parent | f2ead9f64ae1e9816c948793d676e73b3af8e9ed (diff) |
Modify i18n file and other bugs
modify i18n configuration in app.component.ts file and modify other bugs
Issue-ID:CLIENT-164
Change-Id: I7d3b1db9fd3f8d8e58ff0ddc84965e457afa3c6b
Signed-off-by: YILI <li.yi101@zte.com.cn>
Diffstat (limited to 'alarm-analysis/src/main/webapp/alarm/app/app.component.ts')
-rw-r--r-- | alarm-analysis/src/main/webapp/alarm/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alarm-analysis/src/main/webapp/alarm/app/app.component.ts b/alarm-analysis/src/main/webapp/alarm/app/app.component.ts index d6ad1c0e..cc8fdc7e 100644 --- a/alarm-analysis/src/main/webapp/alarm/app/app.component.ts +++ b/alarm-analysis/src/main/webapp/alarm/app/app.component.ts @@ -33,7 +33,7 @@ export class AppComponent implements OnInit{ }
ngOnInit():void {
- this.translate.addLangs(["en", "zh"]);
+ this.translate.addLangs(["en-US", "zh-CN"]);
this.translate.setDefaultLang('zh');
let language = this.getLanguage();
this.translate.use(language);
|