mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2260] Action menu translation is missing when right clicking on a file/folder. (#2958)
* Fixed Action menu translation.
This commit is contained in:
committed by
Eugenio Romano
parent
744f4d9a7d
commit
6b980edcf5
@@ -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">
|
||||||
|
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user