[ADF-2260] Action menu translation is missing when right clicking on a file/folder. (#2958)

* Fixed Action menu translation.
This commit is contained in:
siva kumar
2018-02-18 15:43:47 +05:30
committed by Eugenio Romano
parent 744f4d9a7d
commit 6b980edcf5
2 changed files with 10 additions and 6 deletions

View File

@@ -198,12 +198,12 @@
<!-- common actions --> <!-- common actions -->
<content-action <content-action
icon="get_app" icon="get_app"
title="DOCUMENT_LIST.ACTIONS.DOWNLOAD" title="{{'DOCUMENT_LIST.ACTIONS.DOWNLOAD' | translate}}"
handler="download"> handler="download">
</content-action> </content-action>
<content-action <content-action
icon="content_copy" icon="content_copy"
title="DOCUMENT_LIST.ACTIONS.FOLDER.COPY" title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.COPY' | translate}}"
permission="update" permission="update"
[disableWithNoPermission]="true" [disableWithNoPermission]="true"
(error)="onContentActionError($event)" (error)="onContentActionError($event)"
@@ -212,7 +212,7 @@
</content-action> </content-action>
<content-action <content-action
icon="redo" icon="redo"
title="DOCUMENT_LIST.ACTIONS.FOLDER.MOVE" title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.MOVE' | translate}}"
permission="update" permission="update"
[disableWithNoPermission]="true" [disableWithNoPermission]="true"
(error)="onContentActionError($event)" (error)="onContentActionError($event)"
@@ -223,7 +223,7 @@
icon="delete" icon="delete"
permission="delete" permission="delete"
[disableWithNoPermission]="true" [disableWithNoPermission]="true"
title="DOCUMENT_LIST.ACTIONS.FOLDER.DELETE" title="{{'DOCUMENT_LIST.ACTIONS.FOLDER.DELETE' | translate}}"
(permissionEvent)="handlePermissionError($event)" (permissionEvent)="handlePermissionError($event)"
(success)="onDeleteActionSuccess($event)" (success)="onDeleteActionSuccess($event)"
handler="delete"> handler="delete">

View File

@@ -156,11 +156,15 @@
}, },
"ACTIONS": { "ACTIONS": {
"FOLDER": { "FOLDER": {
"DELETE": "Delete" "DELETE": "Delete",
"MOVE": "Move",
"COPY": "Copy"
}, },
"DOCUMENT": { "DOCUMENT": {
"DOWNLOAD": "Download", "DOWNLOAD": "Download",
"DELETE": "Delete" "DELETE": "Delete",
"MOVE": "Move",
"COPY": "Copy"
} }
} }
} }