send translated strings to javascript

This commit is contained in:
Zachary Chai
2016-11-10 12:16:33 -05:00
parent c32b513d6c
commit c7d2c8f27e
7 changed files with 32 additions and 30 deletions

View File

@ -59,7 +59,7 @@
html: true,
trigger: 'focus',
title: function() {
return $(".delete-popover-title").html();
return I18n.are_you_sure;
},
content: function() {
return $(".delete-popover-body").html();