Show
Ignore:
Timestamp:
10/02/09 16:21:40 (3 years ago)
Author:
gbastien
Message:

* Email address format now corresponds to newer standard RFC2822 (#624)
* Corrected typos and tab alignment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Locale.php

    r1421 r1424  
    218218                   if(!isset($AVAIL_LOCALE_ARRAY[$locale_id]) && !isset($AVAIL_LOCALE_ARRAY[$lang_only_locale_id])) 
    219219                   { 
    220                      echo sprintf("Warning in /classes/Locale.php setCurentLocale: Neither %s or %s are available in AVAIL_LOCALE_ARRAY", $locale_id, $lang_only_locale_id)."<br/>"; 
     220                     echo sprintf("Warning in /classes/Locale.php setCurrentLocale: Neither %s or %s are available in AVAIL_LOCALE_ARRAY", $locale_id, $lang_only_locale_id)."<br/>"; 
    221221                   } 
    222222            // Try to set locale 
     
    232232            // Test it against current PHP locale 
    233233            if (substr ($current_locale, 0 , 2) != $lang_only_locale_id) { 
    234                 echo sprintf("Warning in /classes/Locale.php setCurentLocale: Unable to setlocale() to %s: %s.  I tried %s, %s, %s, %s, and got return value: %s, current locale is: %s",$q, $locale_id, $candidate_locale_array[0], $candidate_locale_array[1], $candidate_locale_array[2], $candidate_locale_array[3], $current_locale, setlocale(LC_ALL, 0))."<br/>"; 
     234                echo sprintf("Warning in /classes/Locale.php setCurrentLocale: Unable to setlocale() to %s: %s.  I tried %s, %s, %s, %s, and got return value: %s, current locale is: %s",$q, $locale_id, $candidate_locale_array[0], $candidate_locale_array[1], $candidate_locale_array[2], $candidate_locale_array[3], $current_locale, setlocale(LC_ALL, 0))."<br/>"; 
    235235                $retval = false; 
    236236            } else {