Page 1 of 1

modify the notification emails

Posted: 16 May 2016, 13:07
by Shushine
Hello,
I want to change the notifications received by email
I would suprimmer reproducibility

Do you know how?

thank you in advance for your help

Re: modify the notification emails

Posted: 16 May 2016, 18:46
by aavagyan
Please have a look at the translation file - I guess you use French? If so - please the french translation (lang/strings_french.txt) file. Messages should be there.

Re: modify the notification emails

Posted: 17 May 2016, 07:01
by atrol
Changing original source of Mantis (lang/*) is not the best solution as you might get problems (or at least additional wok) when upgrading.
Language strings can also be customized in custom_strings_inc.php.

Re: modify the notification emails

Posted: 17 May 2016, 08:10
by Shushine
thank you for your reply
Indeed I am French and my English is not very good
please excuse me

I can not find the file custom_strings_inc.php
it is what folder?

Re: modify the notification emails

Posted: 17 May 2016, 08:24
by atrol
You have to create the file in root directory of your Mantis installation.

Copy the strings you want to change from lang/strings_french.txt to the new file to have something like

Code: Select all

<?php
$s_reproducibility = 'Reproductibilité';
$s_email_reproducibility = 'Reproductibilité';

Re: modify the notification emails

Posted: 17 May 2016, 09:51
by Shushine
I test and does not remove the category reproducibility in email notifications :(

Re: modify the notification emails

Posted: 17 May 2016, 15:05
by atrol
You did not write that you want to remove this field.
I thought you want to change the message as aavagyan wrote something about lang/strings_french.txt

There is no configuration option to remove the field.
You would have to change the source of function email_format_bug_message to get it.