mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
small gettext adjustments
This commit is contained in:
@@ -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.<br>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, '<br>');
|
||||
$result['status_class'] = 'warning';
|
||||
} else {
|
||||
$result['status'] = sprintf(__("Last run occurred more than %s minutes ago.<br>Seems like your Mastercron isn't running!<br>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), '<br>', '<br>');
|
||||
$result['status_class'] = 'danger';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
<div class="col text-end" id="alert_status">
|
||||
<?php if (version_compare(PHP_VERSION, $min_php_version) >= 0) { ?>
|
||||
<div class="alert alert-<?php echo $mastercron['status_class'] ?? 'danger'; ?> d-inline-block">
|
||||
<?= __("Status Master-Cron"); ?>: <?php echo $mastercron['status'] ?? _pgettext("Master Cron", "Not running"); ?>
|
||||
<?= __("Status Master-Cron:"); ?><br><?php echo $mastercron['status'] ?? _pgettext("Master Cron", "Not running"); ?>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="alert alert-danger d-inline-block">
|
||||
<?= __("Status Master-Cron"); ?>:<br><?= __("PHP Version not supported."); ?><br><?= _pgettext("PHP Version", "Min. Version is"); ?> <?php echo $min_php_version; ?>
|
||||
<?= __("Status Master-Cron:"); ?><br><?= __("PHP Version not supported."); ?><br><?= _pgettext("PHP Version", "Min. Version is"); ?> <?php echo $min_php_version; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user