[ADF-1356] Single configuration of i18n service per project (#2199)

* rework i18n layer init

* fix unit tests

* fix tests

* test fixes

* remove obsolete tests
This commit is contained in:
Denys Vuika
2017-08-11 10:55:52 +01:00
committed by Mario Romano
parent bb53844f92
commit 003b0c133b
85 changed files with 333 additions and 431 deletions

View File

@@ -17,7 +17,6 @@
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
import { AlfrescoTranslationService } from 'ng2-alfresco-core';
import { AnalyticsService } from '../services/analytics.service';
@Component({
@@ -42,12 +41,8 @@ export class AnalyticsReportHeatMapComponent implements OnInit {
currentMetricColors: string;
metricType: string;
constructor(translateService: AlfrescoTranslationService,
private analyticsService: AnalyticsService,
constructor(private analyticsService: AnalyticsService,
private formBuilder: FormBuilder) {
if (translateService) {
translateService.addTranslationFolder('ng2-activiti-analytics', 'assets/ng2-activiti-analytics');
}
}
ngOnInit() {