Author: marcus
Date: Sun Mar 16 17:31:29 2014
New Revision: 1578120

URL: http://svn.apache.org/r1578120
Log:
Exchanged language strings with variables

Modified:
    openoffice/ooo-site/trunk/content/download/test/l10n/download.js

Modified: openoffice/ooo-site/trunk/content/download/test/l10n/download.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/l10n/download.js?rev=1578120&r1=1578119&r2=1578120&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/l10n/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/l10n/download.js Sun Mar 16 
17:31:29 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