On 16-Jan-08, at 6:59 AM, Sundeep Pundamale wrote:

> Vincent DEBOUT wrote:
>> Sundeep Pundamale a écrit :
>>> Vincent DEBOUT wrote:
>>>> Hi,
>>>>
>>>>
>>>>> I have added a new bug status to mantis: pending. I get the  
>>>>> following
>>>>> error message "APPLICATION WARNING #300: String  
>>>>> 'pending_bug_title' not
>>>>> found." after i did the following:
>>>>>
>>>>> 1) Added define( 'PENDING',60); in mantis/core/constant_inc.php
>>>>>
>>>>> 2) Added $g_bug_pending_status = PENDING and 'pending' =>  
>>>>> '#B09FF1' in
>>>>>    mantis/config_defaults_inc.php
>>>>>
>>>>> 3) Added $s_status_enum_string =
>>>>>
>>>>> '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned, 
>>>>> 60:pending,80:resolved,90:closed';
>>>>>
>>>>>
>>>>>   in mantis/lang/strings_english.txt
>>>>
>>>> Don't do that !! (At next mantis upgrade you'll lost your change).
>>>>
>>>> If you want to change a string translation use the
>>>> custom_strings_inc.php
>>>> file
>>>> (http://bugtracker.morinie.fr/mantis/dokuwiki/doku.php?id=mantis:start:customization:strings_translation:change_a_string_translation
>>>>  
>>>> )
>>>>
>>>>
>>>> And in this file you must add
>>>>
>>>> $s_pending_bug_title = 'Pending Issue'; // or something else.
>>>>
>>>> Vincent
>>>>
>>>
>>> Followed your instructions. But i still get the same error  
>>> message. Am
>>> i missing on some thing else.
>> You take care about the file's name?
>
> Yes the file name is correct.
>
> Name of the file: custom_strings_inc.php
>
> Content of the file:
>
> if ( $g_current_language === 'english' )
> {
> $s_status_enum_string =
> '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned, 
> 60:pending,80:resolved,90:closed';
> }
>
>
> Pending above is the new status that i added.
>

The file should look like:

if ( $g_current_language === 'english' )
{
$s_status_enum_string =
'10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned, 
60:pending,80:resolved,90:closed';
$s_pending_bug_title = 'Set Issue to Pending';
$s_email_notification_title_for_pending = 'The following issue has  
been set to Pending';
$s_closed_by_divitech_bug_button = 'Set Issue to Pending';

}


-- 
Glenn Henshaw                     Logical Outcome Ltd.
e: [EMAIL PROTECTED]     w: www.logicaloutcome.ca
Mantis Developer and User




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help

Reply via email to