View Issue Details

IDProjectCategoryView StatusLast Update
0003959mantisbtlocalizationpublic2004-07-18 11:31
Reportermasc Assigned Tomasc  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformX86OSWindowsOS VersionWin2K
Product Versiongit trunk 
Fixed in Version0.19.0a2 
Summary0003959: fixed_in_version not translated in history
Description

This information is recorded in the history always as 'fixed_in_version' without any language translation.

There is 'case' clause missing within the swith instruction in history_localize_item (history_api.php):

case 'fixed_in_version':
$t_field_localized = lang_get( 'fixed_in_version' );
break;

TagsNo tags attached.
Attached Files
patch_for_3959.zip (5,618 bytes)

Activities

Wanderer

Wanderer

2004-06-20 16:20

developer   ~0005735

Skipped also " Date Submitted" and " Last Update" (visible after "Copy issue"). Small patch attached

vboctor

vboctor

2004-06-20 16:50

manager   ~0005737

Fixed the three fields in CVS. Will be included in 0.19.0.

masc

masc

2004-06-30 11:12

reporter   ~0005841

Found an other field not translated: summary.
Add the following line:

case 'summary':
$t_field_localized = lang_get( 'summary' );
break;

and remove few lines after:

case SUMMARY_UPDATED:
$t_note = lang_get( 'summary_updated' );
break;

the costant SUMMARY_UPDATED has to be removed as well (no more used in the code)

masc

masc

2004-07-12 08:30

reporter   ~0006006

The duplicate_id localisation is missing as well.
We need to add:

case 'duplicate_id':
$t_field_localized = lang_get( 'duplicate_id' );
break;

masc

masc

2004-07-18 04:30

reporter   ~0006106

Patch against CVS HEAD attached

vboctor

vboctor

2004-07-18 04:56

manager   ~0006108

Patch applied. Thanks masc.