flatpress icon indicating copy to clipboard operation
flatpress copied to clipboard

Missing translation of subject in email message for new comment

Open Fraenkiman opened this issue 2 years ago • 0 comments

Hello, everyone,

The subject line of the e-mail for a new comment is not translated.

Here I recommend changing line 225 in the comments.php file as follows:

@utils_mail($from_mail, "{$lang ['comments'] ['newcomment']} {$fp_config ['general'] ['title']}", $mail);

Then the individual language files (lang.comments.php) should be adjusted accordingly. Insert the translation from line 18:

en-us $lang ['comments'] ['newcomment'] = 'New comment on';

de-de $lang ['comments'] ['newcomment'] = 'Neuer Kommentar auf';

A translation for other languages ​​still has to be done. As an interim solution, the English translation can be used in the other language files.

Best Regards Frank

Fraenkiman avatar Sep 10 '22 23:09 Fraenkiman