Author: marcus Date: Wed Oct 12 18:48:45 2016 New Revision: 1764501 URL: http://svn.apache.org/viewvc?rev=1764501&view=rev Log: Changes for the AOO 4.1.3 release to the download scripting logic
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=1764501&r1=1764500&r2=1764501&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/download.js (original) +++ openoffice/ooo-site/trunk/content/download/download.js Wed Oct 12 18:48:45 2016 @@ -490,7 +490,7 @@ DL.getVersionSelection = function() { } } - // Get the version number without dots (e.g., "412" instead of "4.1.2"). + // Get the version number without dots (e.g., "413" instead of "4.1.3"). DL.VERSION_SEL_RAW = DL.VERSION_SEL.replace( /\./g,'' ); return DL.VERSION_SEL; @@ -597,7 +597,7 @@ DL.isLanguageSupported = function() { } // Assign the language data of the selected version depending on the ISO code. - // Generate variable name: release_matrix_ + version number without dots (e.g., "412" instead of "4.1.2"). + // Generate variable name: release_matrix_ + version number without dots (e.g., "413" instead of "4.1.3"). DL.RELEASE_LANG = DL[ "release_matrix_" + DL.VERSION_SEL_RAW ][ DL.LANG_ISO ][ 0 ]; // If the flag = 'y' then the language is supported, otherwise not. @@ -668,7 +668,7 @@ DL.checkForLinkExceptions = function() { } // If version is '4.1.0' (or newer) and platform is 'Mac OS X <= 10.6', show the none-availability to the user. - if( ( DL.VERSION_SEL === "4.1.2" || DL.VERSION_SEL === "4.1.1" || DL.VERSION_SEL === "4.1.0" ) && DL.PLATFORM === "mac32" ) { + if( ( DL.VERSION_SEL === "4.1.3" || DL.VERSION_SEL === "4.1.2" || DL.VERSION_SEL === "4.1.1" || DL.VERSION_SEL === "4.1.0" ) && DL.PLATFORM === "mac32" ) { // Show an error message that the chosen items do not lead to a download. // If a customized string is not available in the "msg_prop_l10n_XX.js" file. @@ -1210,7 +1210,7 @@ DL.getReleaseMatrixPosition = function() DL.getFileData = function() { // Depending on $ver, a different release matrix has to be used to assemble the download filenames. - // Generate variable name: string + version number without dots (e.g., "412" instead of "4.1.2"). + // Generate variable name: string + version number without dots (e.g., "413" instead of "4.1.3"). var release_matrix_version = "release_matrix_" + DL.VERSION_SEL_RAW; // Assign all values from the release matrix of language and platform. @@ -1231,7 +1231,7 @@ DL.getFileData = function() { + " | " + l10n.dl_rel_info_rel_date_text + DL[ release_matrix_version ][ "src" ][ 1 ][ 3 ]; // Assign the link for release notes, depending on the version. - // Generate variable name: string + version number without dots (e.g., "412" instead of "4.1.2"). + // Generate variable name: string + version number without dots (e.g., "413" instead of "4.1.3"). DL.REL_NOTES = l10n[ "dl_rel_notes_aoo" + DL.VERSION_SEL_RAW + "_link" ]; return;