From defce21e8152d3ae9e0d341da88b20006533a5d0 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 21 Aug 2024 21:50:46 +0200 Subject: [PATCH] small gettext adjustments --- application/controllers/Cron.php | 4 ++-- application/views/cron/index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/Cron.php b/application/controllers/Cron.php index ced9ca0b7..5e75ccc41 100644 --- a/application/controllers/Cron.php +++ b/application/controllers/Cron.php @@ -262,10 +262,10 @@ class cron extends CI_Controller { $result['status_class'] = 'success'; } else { if ($diff <= $error_timelimit_seconds) { - $result['status'] = sprintf(__("Last run occurred more than %s seconds ago.
Please check your master cron! It should run every minute (* * * * *)."), $warning_timelimit_seconds); + $result['status'] = sprintf(__("Last run occurred more than %s seconds ago.%sPlease check your master cron! It should run every minute (* * * * *)."), $warning_timelimit_seconds, '
'); $result['status_class'] = 'warning'; } else { - $result['status'] = sprintf(__("Last run occurred more than %s minutes ago.
Seems like your Mastercron isn't running!
It should run every minute (* * * * *)."), ($error_timelimit_seconds / 60)); + $result['status'] = sprintf(__("Last run occurred more than %s minutes ago.%sSeems like your Mastercron isn't running!%sIt should run every minute (* * * * *)."), ($error_timelimit_seconds / 60), '
', '
'); $result['status_class'] = 'danger'; } } diff --git a/application/views/cron/index.php b/application/views/cron/index.php index b8865b360..b8c3b9bc4 100644 --- a/application/views/cron/index.php +++ b/application/views/cron/index.php @@ -26,11 +26,11 @@
= 0) { ?>
- : +
- :

+