diff --git a/cms/templates/textbooks.html b/cms/templates/textbooks.html index f5c57ea87a..32fec23266 100644 --- a/cms/templates/textbooks.html +++ b/cms/templates/textbooks.html @@ -38,7 +38,7 @@ $(function() { $(window).on("beforeunload", function() { var dirty = textbooks.find(function(textbook) { return textbook.isDirty(); }); if(dirty) { - return "You have unsaved changes. Do you really want to leave this page?"; + return gettext("You have unsaved changes. Do you really want to leave this page?"); } }) })