Added support to “uk” (Ukrainian) language
This commit is contained in:
parent
001ec473ba
commit
90b5703d7f
2 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -37,7 +37,8 @@ $hlmap=array(
|
|||
'es'=>_('Spanish'),
|
||||
'fr'=>_('French'),
|
||||
'gl'=>_('Galician'),
|
||||
'it'=>_('Italian')
|
||||
'it'=>_('Italian'),
|
||||
'uk'=>_('Ukrainian')
|
||||
);
|
||||
$hpmap=array(
|
||||
'home'=>_('Guide'),
|
||||
|
|
Loading…
Reference in a new issue