[ADF-829] i18n support for Viewer (#2489)

* i18n support for viewer

* remove commented out info drawer placeholder

* remove demo buttons
This commit is contained in:
Denys Vuika
2017-10-18 14:21:56 +01:00
committed by Eugenio Romano
parent 6d97e6724d
commit 643921ae30
5 changed files with 42 additions and 31 deletions

View File

@@ -17,7 +17,7 @@
import { Component, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { AlfrescoSettingsService, PageTitleService, StorageService } from 'ng2-alfresco-core';
import { AlfrescoSettingsService, PageTitleService, StorageService, TranslationService } from 'ng2-alfresco-core';
@Component({
selector: 'adf-app',
@@ -30,6 +30,7 @@ export class AppComponent {
constructor(private settingsService: AlfrescoSettingsService,
private storage: StorageService,
private translateService: TranslationService,
pageTitleService: PageTitleService,
route: ActivatedRoute,
router: Router) {