Author: marcus Date: Sat Jul 12 17:48:38 2014 New Revision: 1610009 URL: http://svn.apache.org/r1610009 Log: Commented out the code parts that do a special treatment for Portuguese (European)
Modified: openoffice/ooo-site/trunk/content/download/test/download.js Modified: openoffice/ooo-site/trunk/content/download/test/download.js URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download.js?rev=1610009&r1=1610008&r2=1610009&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/download.js (original) +++ openoffice/ooo-site/trunk/content/download/test/download.js Sat Jul 12 17:48:38 2014 @@ -161,11 +161,12 @@ DL.getLanguage = function() { if( !language || language === "" || language == null || language === "en" ) { language = "en-US"; } +/* // Assign "pt-PT" if only "pt" is set. if( language === "pt" ) { language = "pt-PT"; } - +*/ // Konqueror uses '_' where other browsers use '-'. if( language.indexOf( "_" ) !== -1 ) { // Change a contained '_' into a '-'. @@ -186,11 +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.