Return-Path: <t.rother@netzwissen.de>
Received: from muffin ([unix socket])
	by muffin (Cyrus v2.1.13) with LMTP; Thu, 06 Nov 2003 04:47:09 -0500
X-Sieve: CMU Sieve 2.2
Return-Path: <t.rother@netzwissen.de>
Received: from post.gaia.de (post.gaia.de [195.177.18.150])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by muffin.linuxnotes.net (Postfix) with ESMTP id D5FF72422A
	for <quincy@linuxnotes.net>; Thu,  6 Nov 2003 04:46:48 -0500 (EST)
Received: from locutus.netzwissen.de (pD90186A6.dip.t-dialin.net [217.1.134.166])
	by post.gaia.de (8.12.10/8.12.10) with ESMTP id hA69kMO6004869
	for <quincy@linuxnotes.net>; Thu, 6 Nov 2003 10:46:26 +0100
Received: from netzwissen.de (piktor.netzwissen.de [192.168.0.10])
	by locutus.netzwissen.de (Postfix) with ESMTP id 428CCC301
	for <quincy@linuxnotes.net>; Thu,  6 Nov 2003 10:46:22 +0100 (CET)
Message-ID: <3FAA1870.3030003@netzwissen.de>
Date: Thu, 06 Nov 2003 10:46:24 +0100
From: Thomas Rother <t.rother@netzwissen.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.5) Gecko/20031007
X-Accept-Language: de-de, en-us, en
MIME-Version: 1.0
To: quincy@linuxnotes.net
Subject: abook_group  0.32: error in listMembers.php
References: <3005.68.80.54.61.1067999600.squirrel@linuxnotes.net>
In-Reply-To: <3005.68.80.54.61.1067999600.squirrel@linuxnotes.net>
X-Enigmail-Version: 0.76.7.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/)
X-Spam-Status: No, hits=-0.5 required=6.0 tests=BAYES_01,HTML_MESSAGE 
	autolearn=no version=2.60-gaia
X-Spam-Checker-Version: SpamAssassin 2.60-gaia (1.212-2003-09-23-exp) on 
	buddha

Hi Jon,
I did some further investigations:  listMembers.php works fine as long
as we use

$squirrelmail_default_language = 'en_EN';

If I switch to de_DE, the general UI of the plugin is translated
correctly to german, with one exception: The "List" link
on list_abook_group.php (<a
href=..../plugins/abook_group/listMembers.php?groupName=[groupname])
leads to a negation of condition "if(count($myGroupMembers)>0)"  ....
(Line 102) which returns (Line 122):

[...]
else{
        bindtextdomain('abook_group', SM_PATH .
'plugins/abook_group/locale');
        textdomain('abook_group');
    echo "<p><center>"._("You Currently Do Not Have Any Members In This
Group")."</center></p>";
        bindtextdomain('squirrelmail', SM_PATH . 'locale');
        textdomain('squirrelmail');
[...]

What I don't understand: How can a change of the locale lead to a
different condition for the value of  $myGroupMembers?

Greetings, Thomas

-- 
---------------------------------------------------------------------
    THOMAS M. ROTHER  *  n e t z w i s s e n  *  D-73728 Esslingen   
   F.R. Germany, European Union  *  mailto:t.rother@netzwissen.de    
 http://www.netzwissen.de  *  GPG Key from http://wwwkeys.de.pgp.net 
    Fingerprint B208 E204 4249 4635 19B9 B691 3E73 C8B9 1229 DE4C    
---------------------------------------------------------------------




