Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_rightclick.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2021-08-11 03:13:00 +0300
committerChristopher Ng <chrng8@gmail.com>2021-08-11 21:17:39 +0300
commit7d29f4afeb990792ddc34fdc42b4e71c16d19b44 (patch)
treea0753d76c758004ba76e4f5f79932705bafbb261
parente66ea9c5dec8da70b75e831798b13bc5a98eab44 (diff)
Minor refactor
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files.js b/js/files.js
index 314b5da..b212288 100644
--- a/js/files.js
+++ b/js/files.js
@@ -82,7 +82,7 @@
var share = currentFile.find('.filename .fileactions .action-share');
if (share.length !== 0) {
- addNewOption('Share', 'shared', t(appName, 'Share ' + (currentFile.attr('data-type') === 'dir' ? 'folder' : 'file')), function () {
+ addNewOption('Share', 'shared', (currentFile.attr('data-type') === 'dir' ? t(appName, 'Share folder') : t(appName, 'Share file')), function () {
share.click();
});
}