]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix Delete action text being translatable
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:55:35 +0000 (11:55 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:55:35 +0000 (11:55 +0100)
apps/files/js/fileactions.js

index 82dabdfeaea5158ec7bc7ea23192f57748bc75d7..e981ac625bcd352044ea1319d9c523a5bd68629d 100644 (file)
                        var $actionLink = $('<a href="#" original-title="' +
                                escapeHTML(deleteTitle) +
                                '" class="action delete icon-delete">' +
-                               '<span class="hidden">Delete</span></a>'
+                               '<span class="hidden">' + escapeHTML(deleteTitle) + '</span>' +
+                               '</a>'
                        );
                        var $container = context.$file.find('td:last');
                        $container.find('.delete').remove();