From c958d4a2fe9c822d6273611a0a1cc7868d53cb26 Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Mon, 23 Oct 2017 22:55:29 +0200 Subject: [PATCH] Use the translation keys of task component (#2530) --- .../src/components/task-attachment-list.component.html | 8 ++++---- .../src/components/task-attachment-list.component.ts | 6 +++--- ng2-components/ng2-activiti-tasklist/src/i18n/en.json | 6 ++++++ 3 files changed, 13 insertions(+), 7 deletions(-) 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 425a4467ee..4292cf5ac1 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 @@ - - - + + + @@ -22,4 +22,4 @@ - \ No newline at end of file + 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 13752f985d..9aba1db5a0 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: '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' }; diff --git a/ng2-components/ng2-activiti-tasklist/src/i18n/en.json b/ng2-components/ng2-activiti-tasklist/src/i18n/en.json index 43ffa25f20..4a61f61b4a 100644 --- a/ng2-components/ng2-activiti-tasklist/src/i18n/en.json +++ b/ng2-components/ng2-activiti-tasklist/src/i18n/en.json @@ -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",