You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/26 17:10:30 UTC

svn commit: r1613647 - /openoffice/ooo-site/trunk/content/index_url.html

Author: marcus
Date: Sat Jul 26 15:10:30 2014
New Revision: 1613647

URL: http://svn.apache.org/r1613647
Log:
Updates

Modified:
    openoffice/ooo-site/trunk/content/index_url.html

Modified: openoffice/ooo-site/trunk/content/index_url.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index_url.html?rev=1613647&r1=1613646&r2=1613647&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index_url.html (original)
+++ openoffice/ooo-site/trunk/content/index_url.html Sat Jul 26 15:10:30 2014
@@ -111,7 +111,14 @@
 			return -1;
 		};
 	}
+/*
+	lang_iso = "pt-PT";
 
+	// Fix for Portuguese (European) downloads as they are named only "pt" without region code!
+	if( lang_iso === "pt-pt" || lang_iso === "pt-PT" ) {
+		lang_iso = "pt";
+	}
+*/
 	// Query if the browser language is one of the released languages.
 	// The array has 3 elements per language (defined in "/download/globalvars.js"
 	for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) {