mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
6ce8a33d3b
commit
8dffbaf503
@@ -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>
|
||||
|
@@ -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'
|
||||
};
|
||||
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user