Subject line of email when new comment is not translated

Added multilingual support for email subject line for new comments
This commit is contained in:
Fraenkiman 2022-12-26 02:17:16 +01:00
parent 34ea684565
commit fc9bcf45e8
3 changed files with 5 additions and 1 deletions

View File

@ -222,7 +222,7 @@ function commentform() {
$fp_config ['general'] ['title']
), $lang ['comments'] ['mail']);
@utils_mail($from_mail, "New comment on {$fp_config['general']['title']}", $mail);
@utils_mail($from_mail, "{$lang ['comments'] ['newcomment']} {$lang ['comments'] ['newcomment']} {$fp_config['general']['title']}", $mail);
}
// if comment is valid, this redirect will clean the postdata

View File

@ -16,4 +16,6 @@ Automatisch generiert von,
';
$lang ['comments'] ['newcomment'] = 'Neuer Kommentar auf';
?>

View File

@ -16,4 +16,6 @@ All the best,
';
$lang ['comments'] ['newcomment'] = 'New comment on';
?>