From 691fab8be31de29c6427bf7ec8bb6e7690837c62 Mon Sep 17 00:00:00 2001 From: Volkan Gezer Date: Sun, 11 Jan 2015 15:54:03 +0100 Subject: [PATCH] make Share button localized again it seems we have forgotten to use named FileAction --- apps/files/js/fileactions.js | 2 +- apps/files_sharing/js/share.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 875857745b..9412e510a5 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 bbd107e070..3a16c1f2ed 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')); }, /**