diff --git a/src/assets/js/default.js b/src/assets/js/default.js index a6a98741..ffe81db8 100644 --- a/src/assets/js/default.js +++ b/src/assets/js/default.js @@ -55,7 +55,7 @@ $(function() { $('body') .modal({ - title : 'Failure', + title : text.modal_failure_title, content : response, class : '', actions : [ @@ -74,7 +74,7 @@ $(function() { $('body') .modal({ - title : 'Error', + title : text.modal_error_title, content : response, class : '', actions : [ diff --git a/src/classes/page.php b/src/classes/page.php index 333f1827..f3ad95fb 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -248,6 +248,8 @@ class Page var text = { wishlist_no_selection : '', + modal_error_title : '', + modal_failure_title : '', modal_failure_approve : '', modal_warning_approve : '', modal_success_title : '',