Hi,
in strings_english.txt the variable
$s_severity_enum_string = '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block';
I modified it so that it equals '0:unsorted,10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block';
adding the '0:unsorted' option.
when I do a "lang_get('severity_enum_string')" it shows my changes with all 9 values, however "$GLOBALS['g_severity_enum_string']" still shows only the original 8.
How do you update it so that the GLOBALS are updated as well??
Thanks!
-r
Overriding data in 'strings_english.txt'
Moderators: Developer, Contributor
Changing the severity values is similar to the status values as defined in http://manual.mantisbt.org/manual.custo ... values.php .
1) Define the language strings required. This may need to be defined in several languages.
In a new file custom_strings_inc.php in the main mantisbt directory:
2) Define any configurations required.
In the existing file config_inc.php in the main mantisbt directory:
1) Define the language strings required. This may need to be defined in several languages.
In a new file custom_strings_inc.php in the main mantisbt directory:
Code: Select all
<?php
$s_severity_enum_string =
'0:unsorted,10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block'';
?>In the existing file config_inc.php in the main mantisbt directory:
Code: Select all
<?php
$g_severity_enum_string =
'0:unsorted,10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block'';
?>