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 14:47:50 UTC

svn commit: r1613618 - /openoffice/ooo-site/trunk/content/download/download.js

Author: marcus
Date: Sat Jul 26 12:47:50 2014
New Revision: 1613618

URL: http://svn.apache.org/r1613618
Log:
Convert 'pt-pt' into 'pt', otherwise the ISO code cannot be processed correctly

Modified:
    openoffice/ooo-site/trunk/content/download/download.js

Modified: openoffice/ooo-site/trunk/content/download/download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download.js?rev=1613618&r1=1613617&r2=1613618&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/download.js Sat Jul 26 12:47:50 2014
@@ -187,12 +187,12 @@ DL.getLanguage = function() {
 	}
 
 	if( regionCode != null ) {
-/*
+
 		// Fix for Portuguese (European) downloads as they are named only "pt" without region code!
 		if( languageCode === "pt" && regionCode === "pt" ) {
 			language = languageCode;
 		}
-*/
+
 		// If an additional region code was found.
 		if( thisLanguageSet[ regionCode ] != null ) {
 			// Assign langCode-regionCode.