summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-22 15:56:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-22 15:56:04 +0200
commit0c93de5a650c8ca95bc223a0cece05f4d6b765df (patch)
tree35d84d7d36c63ae44ebef605c34f7b883f85a366 /apps
parent8b086156b1504c31fb93768d1dc8f413b5262c00 (diff)
parenta35144e961a55e2a5ca45d84b190156898e07c35 (diff)
downloadnextcloud-server-0c93de5a650c8ca95bc223a0cece05f4d6b765df.tar.gz
nextcloud-server-0c93de5a650c8ca95bc223a0cece05f4d6b765df.zip
Merge pull request #19266 from owncloud/fileactions-translate-details
Properly translate file actions
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/fileactions.js2
-rw-r--r--apps/files/js/filelist.js1
-rw-r--r--apps/files/js/tagsplugin.js2
-rw-r--r--apps/files_trashbin/js/app.js1
4 files changed, 5 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,
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js
index 473cce88a71..c3be762f095 100644
--- a/apps/files_trashbin/js/app.js
+++ b/apps/files_trashbin/js/app.js
@@ -59,6 +59,7 @@ OCA.Trashbin.App = {
fileActions.registerAction({
name: 'Delete',
+ displayName: t('files', 'Delete'),
mime: 'all',
permissions: OC.PERMISSION_READ,
icon: function() {