[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.8.
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.8.4.2,1.8.4.3 |
Date: |
Thu, 01 May 2003 20:53:20 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv1594
Modified Files:
Tag: Version-0_9_16-branch
class.translation_sql.inc.php
Log Message:
fix for phrase which end (after truncating to 230 chars) in a space (which has
been striped by the db)
Index: class.translation_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.translation_sql.inc.php,v
retrieving revision 1.8.4.2
retrieving revision 1.8.4.3
diff -C2 -r1.8.4.2 -r1.8.4.3
*** class.translation_sql.inc.php 2 Apr 2003 16:56:58 -0000 1.8.4.2
--- class.translation_sql.inc.php 2 May 2003 00:53:17 -0000 1.8.4.3
***************
*** 75,88 ****
}
}
! $ret = $key; // save key if we dont find a
translation
! $key = substr($key,0,MAX_MESSAGE_ID_LENGTH);
! if (isset($GLOBALS['lang'][strtolower ($key)]) &&
$GLOBALS['lang'][strtolower ($key)])
{
! $ret = $GLOBALS['lang'][strtolower ($key)];
! }
! else
! {
! $ret .= '*';
}
$ndx = 1;
--- 75,84 ----
}
}
! $ret = $key.'*'; // save key if we dont find a
translation
! $key =
strtolower(trim(substr($key,0,MAX_MESSAGE_ID_LENGTH)));
! if (isset($GLOBALS['lang'][$key]))
{
! $ret = $GLOBALS['lang'][$key];
}
$ndx = 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.translation_sql.inc.php,1.8.4.2,1.8.4.3,
Ralf Becker <address@hidden> <=