|
From: Benjamin C. <bc...@us...> - 2002-10-28 21:43:45
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv24093
Modified Files:
bug.php
Log Message:
Starting to use translated strings for activity log.
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- bug.php 28 Oct 2002 21:39:54 -0000 1.123
+++ bug.php 28 Oct 2002 21:43:41 -0000 1.124
@@ -188,8 +188,8 @@
}
// Handle versions other than version
- $versions = array ('to_be_closed_in_version' => 'to be closed in version',
- 'closed_in_version' => 'closed in version');
+ $versions = array ('to_be_closed_in_version' => 'ToBeClosedInVersion',
+ 'closed_in_version' => 'ClosedInVersion');
foreach($versions as $field => $field_name) {
if (isset($buginfo[$field.'_id'])) {
@@ -205,7 +205,7 @@
$db->query('insert into '.TBL_BUG_HISTORY.
' (bug_id, changed_field, old_value, new_value, created_by, created_date)'.
- " values (". join(', ', array($buginfo['bug_id'], $db->quote($field_name),
+ " values (". join(', ', array($buginfo['bug_id'], $db->quote($STRING['BUGDISPLAY'][$field_name]),
$db->quote(stripslashes($oldvalue)),
$db->quote(stripslashes($newvalue)), $u, $now)).")");
$t->assign(array(
|