Author: buildbot
Date: Sun Mar 16 17:31:59 2014
New Revision: 901862

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/l10n/download.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar 16 17:31:59 2014
@@ -1 +1 @@
-1578116
+1578120

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar 16 17:31:59 2014
@@ -1 +1 @@
-1578116
+1578120

Modified: websites/staging/ooo-site/trunk/content/download/test/l10n/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/l10n/download.js 
(original)
+++ websites/staging/ooo-site/trunk/content/download/test/l10n/download.js Sun 
Mar 16 17:31:59 2014
@@ -151,7 +151,7 @@ function getLink( rel_mode ) {
                        if ( OLD_PLATFORM ) {
                                // If platform is Mac OS X <=10.6, then provide 
a download link with previous AOO version.
 /*
-                               if ( UI_PLATFORM == "Mac OS X (10.6 or older)" 
) {
+                               if ( UI_PLATFORM == old_mac_platform ) {
 
                                        FILENAME        = "Apache_OpenOffice_" 
+ PRE_VERSION + "_" + URL_PLATFORM + "_";
                                        FILENAME        = FILENAME + LANG_ISO + 
EXTENSION;
@@ -255,7 +255,7 @@ function getLink( rel_mode ) {
                        // If platform is too old, then provide a general 
download link to the archive.
                        if ( OLD_PLATFORM ) {
                                // If platform is Mac OS X <=10.6, then provide 
a download link with previous AOO version.
-                               if ( UI_PLATFORM == "Mac OS X (10.6 or older)" 
) {
+                               if ( UI_PLATFORM == old_mac_platform ) {
 
                                        FILENAME        = "Apache_OpenOffice_" 
+ PRE_VERSION + "_" + URL_PLATFORM + "_";
                                        FILENAME        = FILENAME + LANG_ISO + 
EXTENSION;
@@ -470,7 +470,7 @@ function getPlatform( rel_mode ) {
                     ua.indexOf( "10.4"         ) != -1 ||
                     ua.indexOf( "10_4"         ) != -1 ||
                     ua.indexOf( "10.3"         ) != -1 ||
-                    ua.indexOf( "10_3"         ) != -1 ) {     UI_PLATFORM     
= "Mac OS X (10.6 or older)";
+                    ua.indexOf( "10_3"         ) != -1 ) {     UI_PLATFORM     
= old_mac_platform;
                                                                if ( rel_mode > 
0 )
                                                                        
OLD_PLATFORM = true;
                }
@@ -479,7 +479,7 @@ function getPlatform( rel_mode ) {
 
        // If nothing was recognized until now, set $UI_PLATFORM to show it to 
the user
        if ( UI_PLATFORM == "" ) {
-               UI_PLATFORM = "unknown platform/OS";
+               UI_PLATFORM = unknown_platform;
                ERROR       = true;
        }
 


Reply via email to