improve translation string for action generation on email sent to work better in different languages

This commit is contained in:
Christian Foellmann 2023-12-12 09:45:26 +01:00
parent c512effb03
commit 01a32bd7ba
2 changed files with 2 additions and 1 deletions

View file

@ -328,7 +328,7 @@ if (($action == 'send' || $action == 'relance') && !GETPOST('addfile') && !GETPO
$deliveryreceipt = GETPOST('deliveryreceipt');
if ($action == 'send' || $action == 'relance') {
$actionmsg2 = $langs->transnoentities('MailSentBy').' '.CMailFile::getValidAddress($from, 4, 0, 1).' '.$langs->transnoentities('To').' '.CMailFile::getValidAddress($sendto, 4, 0, 1);
$actionmsg2 = $langs->transnoentities('MailSentByTo', CMailFile::getValidAddress($from, 4, 0, 1), CMailFile::getValidAddress($sendto, 4, 0, 1));
/*if ($message) {
$actionmsg = $langs->transnoentities('MailFrom').': '.dol_escape_htmltag($from);
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('MailTo').': '.dol_escape_htmltag($sendto));

View file

@ -701,6 +701,7 @@ Response=Response
Priority=Priority
SendByMail=Send by email
MailSentBy=Email sent by
MailSentByTo=Email sent by %s to %s
NotSent=Not sent
TextUsedInTheMessageBody=Email body
SendAcknowledgementByMail=Send confirmation email