View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007449 | mantisbt | localization | public | 2006-09-17 06:35 | 2006-12-08 02:39 |
| Reporter | achumakov | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.0.5 | ||||
| Fixed in Version | 1.1.0a2 | ||||
| Summary | 0007449: Hard-coded capitalization in stats page breaks localization | ||||
| Description | Table headers are capitalized in summary_page.php. | ||||
| Additional Information | Patch attached. | ||||
| Tags | No tags attached. | ||||
| Attached Files | summary_page.patch (929 bytes)
--- D:\mantis-upgrade\105\summary_page.php 2005-08-16 00:55:44.000000000 +0000
+++ summary_page.php 2006-09-17 13:54:50.000000000 +0000
@@ -99,7 +99,7 @@
$t_orcttab = "";
foreach ( $t_orct_arr as $t_orct_s ) {
$t_orcttab .= '<td class="right">';
- $t_orcttab .= ucwords( $t_orct_s );
+ $t_orcttab .= $t_orct_s;
$t_orcttab .= '</td>';
}
?>
@@ -323,7 +323,7 @@
print '<td>';
$t_s = explode_enum_arr( $t_arr[$i] );
$c_s[0] = db_prepare_string( $t_s[0] );
- echo ucwords( get_enum_element( 'resolution', $c_s[0] ) );
+ echo get_enum_element( 'resolution', $c_s[0] );
print '</td>';
}
@@ -353,7 +353,7 @@
print '<td>';
$t_s = explode_enum_arr( $t_arr[$i] );
$c_s[0] = db_prepare_string( $t_s[0] );
- echo ucwords( get_enum_element( 'resolution', $c_s[0] ) );
+ echo get_enum_element( 'resolution', $c_s[0] );
print '</td>';
}
| ||||