openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r899784 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/download.js
Date Sun, 02 Mar 2014 23:13:34 GMT
Author: buildbot
Date: Sun Mar  2 23:13:34 2014
New Revision: 899784

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/download/test/download.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar  2 23:13:34 2014
@@ -1 +1 @@
-1573400
+1573403

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar  2 23:13:34 2014
@@ -1 +1 @@
-1573400
+1573403

Modified: websites/staging/ooo-site/trunk/content/download/test/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/download.js (original)
+++ websites/staging/ooo-site/trunk/content/download/test/download.js Sun Mar  2 23:13:34
2014
@@ -129,10 +129,10 @@ function getLink( rel_mode ) {
 	if ( hasMirrorLink() ) {
 		getFilesize( rel_mode );
 	}
-
+	/*
 	if ( NL_LANGUAGE == "" )
 		NL_LANGUAGE = LANG_ISO;
-
+	*/
 	/*
 	Trim timestamp from version, required for RC
 	if ( version.indexOf( "_" ) > -1 )
@@ -149,11 +149,11 @@ function getLink( rel_mode ) {
 				if ( UI_PLATFORM == "Mac OS X (10.6 or older)" ) {
 
 					FILENAME	= "Apache_OpenOffice_" + PRE_VERSION + "_" + URL_PLATFORM + "_";
-					FILENAME	= FILENAME + NL_LANGUAGE + EXTENSION;
-					LINK		= SOURCEFORGE_PREVIOUS_URL + NL_LANGUAGE + "/" + FILENAME;
+					FILENAME	= FILENAME + LANG_ISO + EXTENSION;
+					LINK		= SOURCEFORGE_PREVIOUS_URL + LANG_ISO + "/" + FILENAME;
 					LINK		= LINK + "/download";
 
-					chk_link	= APACHE_DIST_PREVIOUS_URL + "/binaries/" + NL_LANGUAGE + "/";
+					chk_link	= APACHE_DIST_PREVIOUS_URL + "/binaries/" + LANG_ISO + "/";
 					chk_link	= chk_link + FILENAME;
 
 					CHECKSUM_KEYS	= "https://people.apache.org/keys/group/openoffice.asc";
@@ -212,19 +212,19 @@ function getLink( rel_mode ) {
 
 			// If platform was recognized, assemble the filenames for download and checksums
 
-			// FILENAME	= "Apache_OpenOffice_" + VERSION + "_" + URL_PLATFORM + "_" + NL_LANGUAGE;
+			// FILENAME	= "Apache_OpenOffice_" + VERSION + "_" + URL_PLATFORM + "_" + LANG_ISO;
 			// FILENAME	= FILENAME + EXTENSION;
 
 			// Assign the file name (column 3) from the release matrix of language and platform
 			FILENAME	= release_matrix[ LANG_ISO ][ RELEASE_MATRIX_PLATFORM_POS ][ 3 ];
 
-			// LINK	= SOURCEFORGE_BASE_URL + NL_LANGUAGE + "/Apache_OpenOffice_" + VERSION + "_";
-			// LINK	= LINK + URL_PLATFORM + "_" + NL_LANGUAGE + EXTENSION + "/download";
-			LINK		= SOURCEFORGE_BASE_URL + NL_LANGUAGE + "/" + FILENAME + "/download";
-
-			// chk_link	= APACHE_DIST_BASE_URL + "/binaries/" + NL_LANGUAGE + "/Apache_OpenOffice_";
-			// chk_link	= chk_link + VERSION + "_" + URL_PLATFORM + "_" + NL_LANGUAGE + EXTENSION;
-			chk_link	= APACHE_DIST_BASE_URL + "/binaries/" + NL_LANGUAGE + "/" + FILENAME;
+			// LINK	= SOURCEFORGE_BASE_URL + LANG_ISO + "/Apache_OpenOffice_" + VERSION + "_";
+			// LINK	= LINK + URL_PLATFORM + "_" + LANG_ISO + EXTENSION + "/download";
+			LINK		= SOURCEFORGE_BASE_URL + LANG_ISO + "/" + FILENAME + "/download";
+
+			// chk_link	= APACHE_DIST_BASE_URL + "/binaries/" + LANG_ISO + "/Apache_OpenOffice_";
+			// chk_link	= chk_link + VERSION + "_" + URL_PLATFORM + "_" + LANG_ISO + EXTENSION;
+			chk_link	= APACHE_DIST_BASE_URL + "/binaries/" + LANG_ISO + "/" + FILENAME;
 
 			CHECKSUM_KEYS	= "https://people.apache.org/keys/group/openoffice.asc";
 			CHECKSUM_ASC	= chk_link + ".asc";
@@ -233,10 +233,10 @@ function getLink( rel_mode ) {
 
 			/*
 			// Used for debugging
-			LINK		= PEOPLE_BASE_URL + "/binaries/" + NL_LANGUAGE + "/Apache_OpenOffice_";
-			LINK		= LINK + "/Apache_OpenOffice_" + "_" + NL_LANGUAGE + EXTENSION;
-			chk_link	= PEOPLE_BASE_URL + "/binaries/" + NL_LANGUAGE + "/Apache_OpenOffice_" + VERSION;
-			chk_link	= chk_link + "_" + URL_PLATFORM + "_" + NL_LANGUAGE + EXTENSION;
+			LINK		= PEOPLE_BASE_URL + "/binaries/" + LANG_ISO + "/Apache_OpenOffice_";
+			LINK		= LINK + "/Apache_OpenOffice_" + "_" + LANG_ISO + EXTENSION;
+			chk_link	= PEOPLE_BASE_URL + "/binaries/" + LANG_ISO + "/Apache_OpenOffice_" + VERSION;
+			chk_link	= chk_link + "_" + URL_PLATFORM + "_" + LANG_ISO + EXTENSION;
 			*/
 
 			SOURCEFORGE	= true;
@@ -253,11 +253,11 @@ function getLink( rel_mode ) {
 				if ( UI_PLATFORM == "Mac OS X (10.6 or older)" ) {
 
 					FILENAME	= "Apache_OpenOffice_" + PRE_VERSION + "_" + URL_PLATFORM + "_";
-					FILENAME	= FILENAME + NL_LANGUAGE + EXTENSION;
-					LINK		= SOURCEFORGE_PREVIOUS_URL + NL_LANGUAGE + "/" + FILENAME;
+					FILENAME	= FILENAME + LANG_ISO + EXTENSION;
+					LINK		= SOURCEFORGE_PREVIOUS_URL + LANG_ISO + "/" + FILENAME;
 					LINK		= LINK + "/download";
 
-					chk_link	= APACHE_DIST_PREVIOUS_URL + "/binaries/" + NL_LANGUAGE + "/";
+					chk_link	= APACHE_DIST_PREVIOUS_URL + "/binaries/" + LANG_ISO + "/";
 					chk_link	= chk_link + FILENAME;
 
 					CHECKSUM_KEYS	= "https://people.apache.org/keys/group/openoffice.asc";
@@ -282,14 +282,14 @@ function getLink( rel_mode ) {
 			// Assign the file name (column 3) from the release matrix of language and platform
 			FILENAME	= release_matrix_beta[ LANG_ISO ][ RELEASE_MATRIX_PLATFORM_POS ][ 3 ];
 
-			// LINK	= SOURCEFORGE_BASE_URL_BETA + NL_LANGUAGE + "/Apache_OpenOffice_Beta_" + VERSION
+ "_";
-			// LINK	= LINK + URL_PLATFORM + "_" + NL_LANGUAGE + EXTENSION + "/download";
-			LINK		= SOURCEFORGE_BASE_URL_BETA + NL_LANGUAGE + "/" + FILENAME + "/download";
+			// LINK	= SOURCEFORGE_BASE_URL_BETA + LANG_ISO + "/Apache_OpenOffice_Beta_" + VERSION
+ "_";
+			// LINK	= LINK + URL_PLATFORM + "_" + LANG_ISO + EXTENSION + "/download";
+			LINK		= SOURCEFORGE_BASE_URL_BETA + LANG_ISO + "/" + FILENAME + "/download";
 
-			// chk_link	= APACHE_DIST_BASE_URL_BETA + "/binaries/" + NL_LANGUAGE;
+			// chk_link	= APACHE_DIST_BASE_URL_BETA + "/binaries/" + LANG_ISO;
 			// chk_link	= chk_link + "/Apache_OpenOffice_Beta_" + VERSION + "_" + URL_PLATFORM + "_";
-			// chk_link	= chk_link + NL_LANGUAGE + EXTENSION;
-			chk_link	= APACHE_DIST_BASE_URL_BETA + "/binaries/" + NL_LANGUAGE + "/" + FILENAME;
+			// chk_link	= chk_link + LANG_ISO + EXTENSION;
+			chk_link	= APACHE_DIST_BASE_URL_BETA + "/binaries/" + LANG_ISO + "/" + FILENAME;
 
 			CHECKSUM_KEYS	= "https://people.apache.org/keys/group/openoffice.asc";
 			CHECKSUM_ASC	= chk_link + ".asc";



Mime
View raw message