[299402] Extract properties files from Eclipse project update sites for translation
diff --git a/classes/file/file.class.php b/classes/file/file.class.php
index c63a734..e48ee14 100755
--- a/classes/file/file.class.php
+++ b/classes/file/file.class.php
@@ -129,7 +129,7 @@
if($line[0] == "#") {
$tokens = preg_split("/[\s]+/", $line);
- if (sizeof($tokens) > 1 && $tokens[2] == "NON-TRANSLATABLE") {
+ if (sizeof($tokens) > 2 && $tokens[2] == "NON-TRANSLATABLE") {
if($tokens[1] == "START")
$non_translatable = TRUE;
elseif($tokens[1] == "END")
diff --git a/html/process_update_sites.php b/html/process_update_sites.php
index 060dcb1..5be8c00 100644
--- a/html/process_update_sites.php
+++ b/html/process_update_sites.php
@@ -17,7 +17,10 @@
$eclipse = array("http://download.eclipse.org/eclipse/updates/3.6milestones/S-3.6M4-200912101301", "eclipse", "3.6");
$birt = array("http://download.eclipse.org/birt/update-site/2.6-interim", "birt", "2.6.0");
$webtools = array("http://download.eclipse.org/webtools/updates", "webtools", "3.2");
-$update_sites = array($eclipse, $birt, $webtools);
+
+# BIRT 2.6.0 & Webtools 3.2 are not defined yet, cannot test on staging server
+#$update_sites = array($eclipse, $birt, $webtools);
+$update_sites = array($eclipse);
$temp_dir = "/tmp/tmp-babel/";
$debug = TRUE;