modify the notification emails

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Shushine
Posts: 14
Joined: 24 Dec 2015, 13:04

modify the notification emails

Post 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
aavagyan
Posts: 84
Joined: 08 Dec 2013, 14:23
Location: Germany
Contact:

Re: modify the notification emails

Post 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.
Mantis Statistics Plugin: https://www.mantisstats.org
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: modify the notification emails

Post 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.
Please use Search before posting and read the Manual
Shushine
Posts: 14
Joined: 24 Dec 2015, 13:04

Re: modify the notification emails

Post 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?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: modify the notification emails

Post 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é';
Please use Search before posting and read the Manual
Shushine
Posts: 14
Joined: 24 Dec 2015, 13:04

Re: modify the notification emails

Post by Shushine »

I test and does not remove the category reproducibility in email notifications :(
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: modify the notification emails

Post 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.
Please use Search before posting and read the Manual
Post Reply