Fix core library issues with i18n loading

This commit is contained in:
Denys Vuika
2016-05-19 13:59:24 +01:00
parent e2cbf0fe9d
commit 0f9dc6951a
@@ -32,7 +32,7 @@ export class AlfrescoTranslationLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {
return Observable.create(observer => {
Observable.forkJoin(
this.http.get('${this.prefix}/${lang}${this.suffix}').map((res: Response) => res.json()),
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()),
this.http.get('node_modules/ng2-alfresco-login/' +