summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/fileactions.js2
-rw-r--r--apps/files/js/filelist.js1
-rw-r--r--apps/files/js/tagsplugin.js2
3 files changed, 4 insertions, 1 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,
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 2af5be73d96..ece330d41cc 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -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,
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js
index 9f45da9a6e2..23945d52603 100644
--- a/apps/files/js/tagsplugin.js
+++ b/apps/files/js/tagsplugin.js
@@ -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,