summaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-22 14:52:52 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-22 14:52:52 +0200
commita35144e961a55e2a5ca45d84b190156898e07c35 (patch)
tree76509747c55ec2f0e8cc2b232619cb3b073ff237 /apps/files/js/fileactions.js
parent67231ed9a75eafe5b417e4525e3d80b1a3f8826b (diff)
downloadnextcloud-server-a35144e961a55e2a5ca45d84b190156898e07c35.tar.gz
nextcloud-server-a35144e961a55e2a5ca45d84b190156898e07c35.zip
Properly translate file actions
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index f3f137a0537..d3904f2f6d3 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -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,