mirror of https://github.com/BOINC/boinc.git
parent
d864447519
commit
c2dff598d9
|
@ -13428,3 +13428,9 @@ David 28 Oct 2005
|
|||
user/
|
||||
create_account_form.php
|
||||
sample_index.php
|
||||
|
||||
David 28 Oct 2005
|
||||
- don't show languages like 50845_en in language_select page
|
||||
|
||||
html/inc/
|
||||
translation.inc
|
||||
|
|
|
@ -17,11 +17,10 @@ function getSupportedLanguages(){
|
|||
if ($dh = opendir($lang_language_dir.$lang_compiled_dir)) { //If dir exists
|
||||
while (($file = readdir($dh)) !== false) {
|
||||
//read contents
|
||||
if ($file==".." or $file=="."){
|
||||
} else if (substr($file,-7)==".po.inc"){
|
||||
//only files ending in .po.inc
|
||||
$list[] = substr($file,0,-7);
|
||||
}
|
||||
if (substr($file,-7)!=".po.inc") continue;
|
||||
if (is_numeric(substr($file, 0, 5))) continue;
|
||||
|
||||
$list[] = substr($file,0,-7);
|
||||
}
|
||||
}
|
||||
} else {echo "uh";}
|
||||
|
|
Loading…
Reference in New Issue