I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [X]  False - Please CC me when replying

This bug occurs
   ...always



The description of the bug:
Localisation does not work. gettext support is enabled.

I can reproduce the bug by:


(Optional) I got bored and found the bug occurs in:


(Optional) I got really bored and here's a fix:

rewrote _($str) to __($str) in functions/global.php

function __($str)
{
global $msgid;
if (!isset($msgid[$str]))
   return $str;
return $msgid[$str];
}

ans squirrelmail.po to squirrelmail.php where:
<?
...
$msgid["text"]="localised text";
...
?>
----------------------------------------------

My browser information:
  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
  get_browser() information (List)
    * Nothing listed

My web server information:
  PHP Version 4.3.1
  PHP Extensions (List)
    * 0 = xml
    * 1 = tokenizer
    * 2 = standard
    * 3 = session
    * 4 = posix
    * 5 = pgsql
    * 6 = pcre
    * 7 = overload
    * 8 = mysql
    * 9 = imap
    * 10 = gettext
    * 11 = ctype
    * 12 = apache

SquirrelMail-specific information:
  Version:  1.4.2
  Plugins (List)
    * 0 = abook_take
    * 1 = administrator
    * 2 = bug_report
    * 3 = calendar
    * 4 = delete_move_next
    * 5 = filters
    * 6 = info
    * 7 = listcommands
    * 8 = mail_fetch
    * 9 = message_details
    * 10 = newmail
    * 11 = sent_subfolders
    * 12 = spamcop
    * 13 = squirrelspell
    * 14 = translate

My IMAP server information:
  Server type:  other
  Server info:  * OK [HIDDEN] IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN]
ecad4sun.tu-sofia.bg IMAP4rev1 2001.315 at Thu, 4 Dec 2003 13:41:22
+0200 (EET)
  Cabailities:  IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS
AUTH=LOGIN



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to