mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
Translation service fixes
This commit is contained in:
@@ -30,7 +30,7 @@ export class AlfrescoTranslationLoader implements TranslateLoader {
|
||||
}
|
||||
|
||||
getTranslation(lang: string): Observable<any> {
|
||||
return new Observable.create(observer => {
|
||||
return Observable.create(observer => {
|
||||
Observable.forkJoin(
|
||||
this.http.get(`${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
|
||||
this.http.get('node_modules/ng2-alfresco-upload/' + `${this.prefix}/${lang}${this.suffix}`).map((res: Response) => res.json()),
|
||||
|
Reference in New Issue
Block a user