cvs: pear /Translation2 package.xml /Translation2/Admin/Container xml.php
| From: | Lorenzo Alberton | Date: | Wed, 12 Sep 2007 20:40:53 +0000 |
| Subject: | cvs: pear /Translation2 package.xml /Translation2/Admin/Container xml.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48594@lists.php.net to get a copy of this message | ||
quipo Wed Sep 12 20:40:53 2007 UTC
Modified files:
/pear/Translation2/Admin/Container xml.php
/pear/Translation2 package.xml
Log:
bug #11880: [XML driver] removing one language removes all strings for all languages
http://cvs.php.net/viewvc.cgi/pear/Translation2/Admin/Container/xml.php?r1=1.14&r2=1.15&diff_format=u
Index: pear/Translation2/Admin/Container/xml.php
diff -u pear/Translation2/Admin/Container/xml.php:1.14
pear/Translation2/Admin/Container/xml.php:1.15
--- pear/Translation2/Admin/Container/xml.php:1.14 Wed Sep 27 10:15:04 2006
+++ pear/Translation2/Admin/Container/xml.php Wed Sep 12 20:40:53 2007
@@ -33,7 +33,7 @@
* @author Olivier Guilyardi <olivier at samalyse dot com>
* @copyright 2004-2005 Lorenzo Alberton, Olivier Guilyardi
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: xml.php,v 1.14 2006/09/27 10:15:04 quipo Exp $
+ * @version CVS: $Id: xml.php,v 1.15 2007/09/12 20:40:53 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
@@ -229,7 +229,7 @@
foreach (array_keys($this->_data['pages']) as $pageID) {
foreach (array_keys($this->_data['pages'][$pageID]) as $stringID) {
if (array_key_exists($langID,
$this->_data['pages'][$pageID][$stringID])) {
- unset($this->_data['pages'][$pageID][$stringID]);
+ unset($this->_data['pages'][$pageID][$stringID][$langID]);
}
}
}
http://cvs.php.net/viewvc.cgi/pear/Translation2/package.xml?r1=1.112&r2=1.113&diff_format=u
Index: pear/Translation2/package.xml
diff -u pear/Translation2/package.xml:1.112 pear/Translation2/package.xml:1.113
--- pear/Translation2/package.xml:1.112 Mon Aug 13 09:20:33 2007
+++ pear/Translation2/package.xml Wed Sep 12 20:40:53 2007
@@ -45,8 +45,8 @@
<email>mike@php.net</email>
<active>yes</active>
</developer>
- <date>2007-08-13</date>
- <time>11:40:30</time>
+ <date>2007-09-12</date>
+ <time>22:59:30</time>
<version>
<release>2.0.0RC2</release>
<api>2.0.0RC2</api>
@@ -57,7 +57,7 @@
</stability>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>- request #11711: added setCharset() method in the DB container
-
+- bug #11880: [XML driver] removing one language removes all strings for all languages
</notes>
<contents>
<dir name="/">
@@ -203,10 +203,10 @@
<release>beta</release>
<api>beta</api>
</stability>
- <date>2007-08-13</date>
+ <date>2007-09-12</date>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
<notes>- request #11711: added setCharset() method in the DB container
-
+- bug #11880: [XML driver] removing one language removes all strings for all languages
</notes>
</release>
<release>