Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.4

Bug #2503 [PATCH] Gettext container is broken
Submitted: 2004-10-11 17:46 UTC
From: ieure at php dot net Assigned: quipo
Status: Closed Package: Translation2
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-11 17:46 UTC] ieure at php dot net
Description: ------------ It appears that the container semantics changed at some point; initialization is done in an init() function instead of in the container's constructor. The gettext container was not updated to use these semantics. Patch is against CVS. Index: Container/gettext.php =================================================================== RCS file: /repository/pear/Translation2/Container/gettext.php,v retrieving revision 1.11 diff -u -r1.11 gettext.php --- Container/gettext.php 20 Jun 2004 13:56:49 -0000 1.11 +++ Container/gettext.php 11 Oct 2004 17:44:20 -0000 @@ -70,7 +70,7 @@ * @param array gettext parameters * @return object Returns an error object if something went wrong */ - function Translation2_Container_gettext($options) + function init($options) { $this->_setDefaultOptions(); $this->_parseOptions($options); @@ -294,4 +294,4 @@ // }}} } -?> \ No newline at end of file +?>

Comments

 [2004-10-11 19:08 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!