Fix unfocalized strings

This commit is contained in:
Jay Trees 2022-04-05 09:33:21 +02:00
parent d64c0251a5
commit 4b849e0ab0
2 changed files with 4 additions and 2 deletions

View file

@ -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 : [

View file

@ -248,6 +248,8 @@ class Page
var text = {
wishlist_no_selection : '<?= __('No wishlist selected.') ?>',
modal_error_title : '<?= __('Error') ?>',
modal_failure_title : '<?= __('Failure') ?>',
modal_failure_approve : '<?= __('Thanks for nothing') ?>',
modal_warning_approve : '<?= __('Understood') ?>',
modal_success_title : '<?= __('Success') ?>',