diff --git a/web/clitools/mustool.php b/web/clitools/mustool.php index 9772857..5b3cdd9 100755 --- a/web/clitools/mustool.php +++ b/web/clitools/mustool.php @@ -152,7 +152,7 @@ if ($opts['updstats']) { 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 'ffffffffffffffffffffffffffffffff' ); - $langs=array('ca','en','es','fr','gl','it'); + $langs=array('ca','en','es','fr','gl','it','uk'); $urls=array('home','instances','about','stats','contribute','404'); for ($i=0; $i<1460; $i++) mysqli_query($link,'INSERT INTO ZHits (UID,URL,Lang,TS) VALUES ("'.$uids[rand(0,count($uids)-1)].'","'.$urls[rand(0,count($urls)-1)].'","'.$langs[rand(0,count($langs)-1)].'",'.rand($now-365*24*60*60,$tdstart).')'); } @@ -172,7 +172,7 @@ if ($opts['updstats']) { $inserts++; // questo qui sotto dev'essere sincronizzato con le lingue supportate e le url che serviamo (vedi index.php) $hits=0; - $hitslang=array('ca'=>0, 'en'=>0, 'es'=>0, 'fr'=>0, 'gl'=>0, 'it'=>0); + $hitslang=array('ca'=>0, 'en'=>0, 'es'=>0, 'fr'=>0, 'gl'=>0, 'it'=>0, 'uk'=>0); $hitspage=array('home'=>0, 'instances'=>0, 'about'=>0, 'stats'=>0, 'contribute'=>0, '404'=>0); $visits=0; $buf=array(); diff --git a/web/site/stats.php b/web/site/stats.php index 39ac2ff..93af67f 100644 --- a/web/site/stats.php +++ b/web/site/stats.php @@ -37,7 +37,8 @@ $hlmap=array( 'es'=>_('Spanish'), 'fr'=>_('French'), 'gl'=>_('Galician'), - 'it'=>_('Italian') + 'it'=>_('Italian'), + 'uk'=>_('Ukrainian') ); $hpmap=array( 'home'=>_('Guide'),