[ADF-1781] Task List - the default columns must be localisable (#2517)

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

* Add a root scope ADF_TASK_LIST into the json file
Remove the hardcoded string from the component and use keys
Refactoring json structure
This commit is contained in:
Maurizio Vitale
2017-10-20 17:44:29 +02:00
committed by Eugenio Romano
parent 729270b138
commit 4d9591c76c
31 changed files with 1361 additions and 1338 deletions

View File

@@ -103,8 +103,8 @@ export class TaskListComponent implements OnChanges, OnInit, AfterContentInit {
isStreamLoaded = false;
private defaultSchemaColumn: 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_TASK_LIST.PROPERTIES.NAME', cssClass: 'full-width name-column', sortable: true },
{ type: 'text', key: 'created', title: 'ADF_TASK_LIST.PROPERTIES.CREATED', cssClass: 'hidden', sortable: true }
];
constructor(private taskListService: TaskListService) {