From 4b849e0ab0be2ed77e270a48182ffff8a50439e2 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Tue, 5 Apr 2022 09:33:21 +0200 Subject: [PATCH] Fix unfocalized strings --- src/assets/js/default.js | 4 ++-- src/classes/page.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 : '',