[ADF-1759] updated the process attachments header language keys (using the existing ones) (#2535)

* Created language keys for the header labels in proccess atachment list component
Updated the component

* [ADF-1759] updated the process attachments header language keys (using the existing ones)

* added menu actions key for process attachment language support

* updated the view download and remove action (hardcoded)labels with the appropriate translation keys
This commit is contained in:
mihai sirghe
2017-10-24 22:10:26 +03:00
committed by Eugenio Romano
parent 6ce8a33d3b
commit 8dffbaf503
3 changed files with 12 additions and 5 deletions

View File

@@ -14,8 +14,8 @@
<data-columns>
<data-column key="icon" type="icon" srTitle="Thumbnail" [sortable]="false"></data-column>
<data-column key="name" type="text" title="{{'PROCESS-ATTACHMENT.COLUMNS.NAME' | translate}}" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="{{'PROCESS-ATTACHMENT.COLUMNS.CREATED-ON' | translate}}"></data-column>
<data-column key="name" type="text" title="{{'ADF_PROCESS_LIST.PROPERTIES.NAME' | translate}}" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="{{'ADF_PROCESS_LIST.PROPERTIES.CREATED' | translate}}"></data-column>
</data-columns>
<loading-content-template>

View File

@@ -128,17 +128,17 @@ export class ProcessAttachmentListComponent implements OnChanges {
onShowRowActionsMenu(event: any) {
let viewAction = {
title: 'View',
title: 'ADF_PROCESS_LIST.MENU_ACTIONS.VIEW_CONTENT',
name: 'view'
};
let removeAction = {
title: 'Remove',
title: 'ADF_PROCESS_LIST.MENU_ACTIONS.REMOVE_CONTENT',
name: 'remove'
};
let downloadAction = {
title: 'Download',
title: 'ADF_PROCESS_LIST.MENU_ACTIONS.DOWNLOAD_CONTENT',
name: 'download'
};

View File

@@ -25,6 +25,13 @@
"DESCRIPTION_DEFAULT": "No description",
"ID": "Id"
},
"MENU_ACTIONS": {
"VIEW_CONTENT": "View",
"REMOVE_CONTENT": "Remove",
"DOWNLOAD_CONTENT": "Download",
"DOWNLOAD_AUDIT": "Download audit",
"VIEW_TASK": "View Task"
},
"DETAILS": {
"LABELS": {
"STARTED_BY": "Started by",