mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fixed translation service
This commit is contained in:
@@ -44,7 +44,7 @@ declare var document: any;
|
||||
{path: '/search', name: 'Search', component: AlfrescoSearchComponent}
|
||||
])
|
||||
export class AppComponent {
|
||||
translate: TranslateService;
|
||||
translate: AlfrescoTranslationService;
|
||||
searchForm: ControlGroup;
|
||||
|
||||
constructor(private _fb: FormBuilder,
|
||||
@@ -58,7 +58,8 @@ export class AppComponent {
|
||||
searchTerm: ['', Validators.compose([Validators.required, Validators.minLength(3)])]
|
||||
});
|
||||
|
||||
translate.translationInit('');
|
||||
this.translate = translate;
|
||||
this.translate.translationInit();
|
||||
}
|
||||
|
||||
isActive(instruction: any[]): boolean {
|
||||
|
Reference in New Issue
Block a user