[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[13797] trunk/locales
From:       pdontthink () users ! sourceforge ! net
Date:       2009-07-29 1:26:55
Message-ID: E1MVxwV-0001TI-1Y () 3kljzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 13797
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13797&view=rev
Author:   pdontthink
Date:     2009-07-29 01:26:54 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
Stop using deprecated ereg() functions (only affects Japanese translation)

Modified Paths:
--------------
    trunk/locales/ChangeLog.locales
    trunk/locales/locale/ja_JP/setup.php

Modified: trunk/locales/ChangeLog.locales
===================================================================
--- trunk/locales/ChangeLog.locales	2009-07-29 00:01:19 UTC (rev 13796)
+++ trunk/locales/ChangeLog.locales	2009-07-29 01:26:54 UTC (rev 13797)
@@ -1,3 +1,6 @@
+2009-07-28
+ - Stop using deprecated ereg() (only affects Japanese translation)
+
 2009-05-07
  - Added Khmer (km).
 

Modified: trunk/locales/locale/ja_JP/setup.php
===================================================================
--- trunk/locales/locale/ja_JP/setup.php	2009-07-29 00:01:19 UTC (rev 13796)
+++ trunk/locales/locale/ja_JP/setup.php	2009-07-29 01:26:54 UTC (rev 13797)
@@ -137,7 +137,7 @@
 function japanese_xtra_decodeheader($ret) {
     if (function_exists('mb_detect_encoding')) {
         $ret = str_replace("\t", "", $ret);
-        if (eregi('=\\?([^?]+)\\?(q|b)\\?([^?]+)\\?=', $ret))
+        if (preg_match('/=\?([^?]+)\?(q|b)\?([^?]+)\?=/i', $ret))
             $ret = @mb_decode_mimeheader($ret);
         $ret = @mb_convert_encoding($ret, 'EUC-JP', 'AUTO');
     }


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic