Changeset 1580 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
09/14/06 18:51:23 (2 years ago)
Author:
mbonetti
Message:

l10n of some error strings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/l10n.php

    r1579 r1580  
    7474    function __detectUserLang() { 
    7575       if (isset($_REQUEST['lang']) && preg_match('#^[a-z]{2}_[A-Z]{2}$#',$_REQUEST['lang']) && file_exists(GREGARIUS_HOME .'intl/'.$_REQUEST['lang'])) { 
     76            setcookie(RSS_LOCALE_COOKIE,$_REQUEST['lang'],time()+3600*6,getPath()); 
    7677            return  $_REQUEST['lang']; 
    7778        } elseif (isset($_COOKIE[RSS_LOCALE_COOKIE])) {