// List of all locale files require_once("config.inc.php"); $svnUrl = "{$_SERVER['ORIGIN']}/svn-3"; $modules = array(); $branches = array("branches/raring", "branches/precise", "branches/oneiric", "branches/natty", "trunk"); $branch = isset($_GET['branch']) ? $_GET['branch'] : $branches[0]; if (($fp = @fopen("$svnUrl/MLD/$branch/modules_list", "r"))) { while (!feof($fp)) { $name = trim(fgets($fp)); if ($name && !in_array($name, $config['extra_addons'])) { foreach($branches as $branch) { if($locales = @file_get_contents($url = "$svnUrl/$name/$branch/src/locale")) { break; } } if ($locales) { $locales = preg_replace("/.*(