diff --git a/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.html b/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.html index 71617c8762..831c45c84e 100644 --- a/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.html +++ b/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.html @@ -11,9 +11,9 @@ - - - + + + diff --git a/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.ts b/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.ts index cda55299f6..13752f985d 100644 --- a/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.ts +++ b/ng2-components/ng2-activiti-tasklist/src/components/task-attachment-list.component.ts @@ -130,17 +130,17 @@ export class TaskAttachmentListComponent implements OnChanges { onShowRowActionsMenu(event: any) { let viewAction = { - title: 'View', + title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.VIEW', name: 'view' }; let removeAction = { - title: 'Remove', + title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.REMOVE', name: 'remove' }; let downloadAction = { - title: 'Download', + title: 'ADF-DOCUMENT-LIST.MENU_ACTIONS.DOWNLOAD', name: 'download' }; diff --git a/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html b/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html index 1a8418fc48..0ad11e0af9 100644 --- a/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html +++ b/ng2-components/ng2-alfresco-datatable/src/components/datatable/datatable.component.html @@ -55,7 +55,7 @@ [disabled]="action.disabled" (click)="onExecuteRowAction(row, action)"> {{ action.icon }} - {{ action.title }} + {{ action.title | translate }} @@ -147,7 +147,7 @@ [disabled]="action.disabled" (click)="onExecuteRowAction(row, action)"> {{ action.icon }} - {{ action.title }} + {{ action.title | translate }} diff --git a/ng2-components/ng2-alfresco-documentlist/src/i18n/en.json b/ng2-components/ng2-alfresco-documentlist/src/i18n/en.json index 42f1888ebf..288e48c349 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/i18n/en.json +++ b/ng2-components/ng2-alfresco-documentlist/src/i18n/en.json @@ -4,6 +4,7 @@ "HEADER": "This folder is empty" }, "LAYOUT": { + "CREATED": "Created", "THUMBNAIL": "Thumbnail", "NAME": "Name", "LOCATION": "Location", @@ -15,6 +16,11 @@ "MODIFIED_BY": "Modified by", "SHARED_BY": "Shared by", "LOAD_MORE": "Load more" + }, + "MENU_ACTIONS": { + "VIEW": "View", + "REMOVE": "Remove", + "DOWNLOAD": "Download" } }, "ALFRESCO_DOCUMENT_LIST": {