[ADF-1768] Process list - The columns must be localisable (#2515)

* Rename processlist.component.ts to process-list.component.ts
Rename processlist.component.md to process-list.component.md

* Add a root scope ADF_PROCESS_LIST into the json file
Remove the hardcoded string from the component and use keys
Refactoring json structure

* Fix unit test
This commit is contained in:
Maurizio Vitale
2017-10-20 17:36:57 +02:00
committed by Eugenio Romano
parent 9ce0cd45e8
commit c2cafaa648
27 changed files with 1166 additions and 1183 deletions

View File

@@ -65,8 +65,8 @@ export class ProcessInstanceListComponent implements OnChanges, AfterContentInit
isLoading: boolean = true;
private defaultSchema: DataColumn[] = [
{ type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true },
{ type: 'text', key: 'created', title: 'Created', cssClass: 'hidden', sortable: true }
{ type: 'text', key: 'name', title: 'ADF_PROCESS_LIST.PROPERTIES.NAME', cssClass: 'full-width name-column', sortable: true },
{ type: 'text', key: 'created', title: 'ADF_PROCESS_LIST.PROPERTIES.CREATED', cssClass: 'hidden', sortable: true }
];
constructor(private processService: ProcessService) {