Do not localize the internal (javascript) name of action "Edit"
This commit is contained in:
parent
7b85fd8fa7
commit
0cd8d66a9a
@ -28,10 +28,11 @@ var odfViewer = {
|
|||||||
var mime = odfViewer.supportedMimesUpdate[i];
|
var mime = odfViewer.supportedMimesUpdate[i];
|
||||||
OCA.Files.fileActions.register(
|
OCA.Files.fileActions.register(
|
||||||
mime,
|
mime,
|
||||||
t('documents', 'Edit'),
|
'Edit',
|
||||||
OC.PERMISSION_UPDATE,
|
OC.PERMISSION_UPDATE,
|
||||||
OC.imagePath('core', 'actions/rename'),
|
OC.imagePath('core', 'actions/rename'),
|
||||||
odfViewer.onEdit
|
odfViewer.onEdit,
|
||||||
|
t('documents', 'Edit')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user