Missing trans

This commit is contained in:
Laurent Destailleur 2023-11-21 11:57:55 +01:00
parent 000ea02717
commit 15514b2dcc
2 changed files with 4 additions and 0 deletions

View file

@ -233,6 +233,9 @@ if (!isModEnabled('cron')) {
} else {
print '<a href="'.$_SERVER['PHP_SELF'].'?action=del_AGENDA_REMINDER_EMAIL&token='.newToken().'">'.img_picto($langs->trans('Enabled'), 'switch_on').'</a>';
}
} else {
$langs->load("cron");
print '<span class="opacitymedium warning">'.$langs->trans("JobNotFound", $langs->transnoentitiesnoconv("sendEmailsReminder")).'</span>';
}
}
}

View file

@ -91,6 +91,7 @@ WarningCronDelayed=Attention, for performance purpose, whatever is next date of
DATAPOLICYJob=Data cleaner and anonymizer
JobXMustBeEnabled=Job %s must be enabled
EmailIfError=Email for warning on error
JobNotFound=Job %s not found in list of jobs (try to disable/enabled module)
ErrorInBatch=Error when running the job %s
# Cron Boxes