Merge pull request #19266 from owncloud/fileactions-translate-details
Properly translate file actions
This commit is contained in:
commit
0c93de5a65
|
@ -594,6 +594,7 @@
|
|||
|
||||
this.registerAction({
|
||||
name: 'Rename',
|
||||
displayName: t('files', 'Rename'),
|
||||
mime: 'all',
|
||||
permissions: OC.PERMISSION_UPDATE,
|
||||
icon: function() {
|
||||
|
@ -614,6 +615,7 @@
|
|||
|
||||
this.registerAction({
|
||||
name: 'Delete',
|
||||
displayName: t('files', 'Delete'),
|
||||
mime: 'all',
|
||||
// permission is READ because we show a hint instead if there is no permission
|
||||
permissions: OC.PERMISSION_DELETE,
|
||||
|
|
|
@ -300,6 +300,7 @@
|
|||
if (this._detailsView) {
|
||||
this.fileActions.registerAction({
|
||||
name: 'Details',
|
||||
displayName: t('files', 'Details'),
|
||||
mime: 'all',
|
||||
icon: OC.imagePath('core', 'actions/details'),
|
||||
permissions: OC.PERMISSION_READ,
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
// register "star" action
|
||||
fileActions.registerAction({
|
||||
name: 'Favorite',
|
||||
displayName: 'Favorite',
|
||||
displayName: t('files', 'Favorite'),
|
||||
mime: 'all',
|
||||
permissions: OC.PERMISSION_READ,
|
||||
type: OCA.Files.FileActions.TYPE_INLINE,
|
||||
|
|
|
@ -59,6 +59,7 @@ OCA.Trashbin.App = {
|
|||
|
||||
fileActions.registerAction({
|
||||
name: 'Delete',
|
||||
displayName: t('files', 'Delete'),
|
||||
mime: 'all',
|
||||
permissions: OC.PERMISSION_READ,
|
||||
icon: function() {
|
||||
|
|
Loading…
Reference in New Issue