Tracker: Bugs

5 setlocale() problem - ID: 1203369
Last Update: Comment added ( dg49379 )

PhpWebSite Version: 0.10.1 (phpwebsite-0.10.1-full.tar.gz)

In this file
./modstats/class/StatsHits.php on row 211

this code doesn't work for italian language

$tags["CURR_MONTH_TITLE"] =
$_SESSION["translate"]->it("Viewing") . ' ' . date('F')
. $_SESSION["translate"]->it("'s Unique Visits") .
" (".$_REQUEST["graph_year_fld_YEAR"].")";

my workaround is:

setlocale (LC_TIME, "it_IT");
$tags["CURR_MONTH_TITLE"] =
$_SESSION["translate"]->it("Visite uniche nel mese di")
. ' ' . ucfirst(strftime('%B')) .
" (".$_REQUEST["graph_year_fld_YEAR"].")";

The same problem there is on row 223 in the same file.


Doriano Cometto ( maclura ) - 2005-05-17 07:45

5

Closed

Fixed

Darren Greene

None

None

Public


Comment ( 1 )

Date: 2005-05-17 15:16
Sender: dg49379

Logged In: YES
user_id=783140

This has been fixed in CVS.

Thanks,
Darren


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-05-17 15:16 dg49379
resolution_id None 2005-05-17 15:16 dg49379
assigned_to nobody 2005-05-17 15:16 dg49379
close_date - 2005-05-17 15:16 dg49379