openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1613618 - /openoffice/ooo-site/trunk/content/download/download.js
Date Sat, 26 Jul 2014 12:47:50 GMT
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.



Mime
View raw message