summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolkan Gezer <volkangezer@gmail.com>2015-01-11 15:54:03 +0100
committerVolkan Gezer <volkangezer@gmail.com>2015-01-11 15:57:45 +0100
commit691fab8be31de29c6427bf7ec8bb6e7690837c62 (patch)
tree5473a3879cfb8aa3ea3c000b25682a0f51b865c8
parent3425c73815317d4d5dd2373b2e9d9ce74c6e2abc (diff)
downloadnextcloud-server-691fab8be31de29c6427bf7ec8bb6e7690837c62.tar.gz
nextcloud-server-691fab8be31de29c6427bf7ec8bb6e7690837c62.zip
make Share button localized again
it seems we have forgotten to use named FileAction
-rw-r--r--apps/files/js/fileactions.js2
-rw-r--r--apps/files_sharing/js/share.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 875857745b8..9412e510a54 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -469,7 +469,7 @@
if (url) {
OC.redirect(url);
}
- });
+ }, t('files', 'Download'));
}
};
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index bbd107e070e..3a16c1f2edd 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -135,7 +135,7 @@
$tr.removeAttr('data-share-recipients');
}
});
- });
+ }, t('files_sharing', 'Share'));
},
/**