Use the translation keys of task component (#2530)

This commit is contained in:
Maurizio Vitale
2017-10-23 22:55:29 +02:00
committed by Eugenio Romano
parent fad5118bb6
commit c958d4a2fe
3 changed files with 13 additions and 7 deletions

View File

@@ -11,9 +11,9 @@
</div>
</adf-empty-list>
<data-columns>
<data-column key="icon" type="icon" srTitle="ADF-DOCUMENT-LIST.LAYOUT.THUMBNAIL" [sortable]="false"></data-column>
<data-column key="name" type="text" title="ADF-DOCUMENT-LIST.LAYOUT.NAME" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="ADF-DOCUMENT-LIST.LAYOUT.CREATED"></data-column>
<data-column key="icon" type="icon" srTitle="ADF_TASK_LIST.PROPERTIES.THUMBNAIL" [sortable]="false"></data-column>
<data-column key="name" type="text" title="ADF_TASK_LIST.PROPERTIES.NAME" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="ADF_TASK_LIST.PROPERTIES.CREATED"></data-column>
</data-columns>
<loading-content-template>
<ng-template>
@@ -22,4 +22,4 @@
</mat-progress-spinner>
</ng-template>
</loading-content-template>
</adf-datatable>
</adf-datatable>

View File

@@ -130,17 +130,17 @@ export class TaskAttachmentListComponent implements OnChanges {
onShowRowActionsMenu(event: any) {
let viewAction = {
title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.VIEW',
title: 'ADF_TASK_LIST.MENU_ACTIONS.VIEW',
name: 'view'
};
let removeAction = {
title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.REMOVE',
title: 'ADF_TASK_LIST.MENU_ACTIONS.REMOVE',
name: 'remove'
};
let downloadAction = {
title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.DOWNLOAD',
title: 'ADF_TASK_LIST.MENU_ACTIONS.DOWNLOAD',
name: 'download'
};

View File

@@ -10,6 +10,7 @@
}
},
"PROPERTIES": {
"THUMBNAIL": "Thumbnail",
"NAME": "Name",
"ASSIGNEE": "Assignee",
"ASSIGNEE_DEFAULT": "No assignee",
@@ -29,6 +30,11 @@
"FORM_NAME": "Form Name",
"FORM_NAME_DEFAULT": "No form"
},
"MENU_ACTIONS": {
"VIEW": "View",
"REMOVE": "Remove",
"DOWNLOAD": "Download"
},
"DETAILS": {
"LABELS": {
"INFO_DRAWER_TITLE": "Activities",