Rename required fields

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Nightranger
Posts: 1
Joined: 05 Sep 2009, 15:18

Rename required fields

Post by Nightranger »

Is there a way to rename the mandatory fields "Summary" and "Description"?
I've been searching the forums and tried to find a way in the files but haven't had any luck.
tom_glebas
Posts: 14
Joined: 07 Sep 2009, 23:19

Re: Rename required fields

Post by tom_glebas »

The strings are stored in the lang/ folder. Search strings_english.txt (or language file of choice) for "Summary" (or word of choice). There are several places you will want to change this in addition to the root definition $s_summary = 'Summary';. For example, you will probably want to change it here too: $s_must_enter_summary = 'You must enter a summary';
tom_glebas
Posts: 14
Joined: 07 Sep 2009, 23:19

Re: Rename required fields

Post by tom_glebas »

Update: I'm sort of new to Mantis and just learned the preferred way to update custom strings is typically through custom_strings_inc.php, which should be placed in the mantis root. For language support of customs strings, you need to include code to select the proper language - see http://www.mantisbt.org/forums/view ... ?f=2&t=259 for more info.
Post Reply