]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/directives.js
#47 - Fixes the issues with the test case.
[bookstack] / resources / assets / js / directives.js
index bbdf1a0aee0e87422419d418b77e684ad0875b5e..16d1ad2a4fe1be758f57cc24ac0a2b286275b509 100644 (file)
@@ -936,7 +936,7 @@ module.exports = function (ngApp, events) {
 
                 element.on('click', function(e) {
                     e.preventDefault();
-                    var resp = $window.confirm('This will remove the content of the comment, are you sure you want to continue?');
+                    var resp = $window.confirm(trans('entities.comment_delete_confirm'));
                     if (!resp) {
                         return;
                     }