diff --git a/demo-shell-ng2/app/app.component.ts b/demo-shell-ng2/app/app.component.ts index d25c345123..433e567b77 100644 --- a/demo-shell-ng2/app/app.component.ts +++ b/demo-shell-ng2/app/app.component.ts @@ -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) { diff --git a/ng2-components/ng2-alfresco-viewer/src/components/pdfViewer.component.html b/ng2-components/ng2-alfresco-viewer/src/components/pdfViewer.component.html index 292b93a883..a7bd395f93 100644 --- a/ng2-components/ng2-alfresco-viewer/src/components/pdfViewer.component.html +++ b/ng2-components/ng2-alfresco-viewer/src/components/pdfViewer.component.html @@ -20,7 +20,7 @@
- Showing + {{ 'ADF_VIEWER.PAGE_LABEL.SHOWING' | translate }} - of {{ totalPages }} + {{ 'ADF_VIEWER.PAGE_LABEL.OF' | translate }} {{ totalPages }}
@@ -22,7 +22,7 @@ @@ -43,20 +43,20 @@ - - - - @@ -78,7 +78,7 @@ -