Author: marcus Date: Fri May 30 16:11:16 2014 New Revision: 1598653 URL: http://svn.apache.org/r1598653 Log: Added 'Problem' and 'Solution' as keywords in bold for the error text
Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_droplist.js?rev=1598653&r1=1598652&r2=1598653&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original) +++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Fri May 30 16:11:16 2014 @@ -1189,8 +1189,9 @@ function getLinkSel( rel_mode ) { // If recognized platform is not Windows, Linux or Mac, show the none-availability to the user. if( UI_PLATFORM_NO_SUP != "" ) { // Show an error message that the chosen items do not lead to a download. - error_text = "Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + UI_PLATFORM_NO_SUP + "</b>." - + "<br />Please select a download for Windows, Linux or OS X."; + error_text = "<b>Problem:</b> Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + + UI_PLATFORM_NO_SUP + "</b>." + + "<br /><b>Solution:</b> Please select a download for Windows, Linux or OS X."; showErrorMessage( error_text ); @@ -1200,8 +1201,9 @@ function getLinkSel( rel_mode ) { // If version is '4.1.0' (or newer) and platform is 'Mac OS X <= 10.6', show the none-availability to the user. if( VERSION_SEL == "4.1.0" && URL_PLATFORM == "MacOS_x86_install" ) { // Show an error message that the chosen items do not lead to a download. - error_text = "Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + UI_PLATFORM + "</b>." - + "<br />Please select version 4.0.1."; + error_text = "<b>Problem:</b> Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + + UI_PLATFORM + "</b>." + + "<br /><b>Solution:</b> Please select version 4.0.1."; showErrorMessage( error_text ); @@ -1211,8 +1213,9 @@ function getLinkSel( rel_mode ) { // If version is '4.0.1' (or older) and platform is 'Mac OS X >= 10.7', show the none-availability to the user. if( ( VERSION_SEL == "4.0.1" || VERSION_SEL == "4.0.0" ) && URL_PLATFORM == "MacOS_x86-64_install" ) { // Set the values for all elements that should not be empty. - error_text = "Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + UI_PLATFORM + "</b>." - + "<br />Please select version 4.1.0 or newer."; + error_text = "<b>Problem:</b> Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + + UI_PLATFORM + "</b>." + + "<br /><b>Solution:</b> Please select version 4.1.0 or newer."; showErrorMessage( error_text ); @@ -1236,9 +1239,9 @@ function getLinkSel( rel_mode ) { LINK_LP = LINK_LP; } // Show an error message that the chosen items do not lead to a download. - error_text = "Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + RELEASE_LANG[ 1 ] - + " (" + RELEASE_LANG[ 2 ] + ") (" + LANG_SEL + ")</b>." - + "<br />Please choose another language or version."; + error_text = "<b>Problem:</b> Apache OpenOffice " + VERSION_SEL + " is not available for <b>" + + RELEASE_LANG[ 1 ] + " (" + RELEASE_LANG[ 2 ] + ") (" + LANG_SEL + ")</b>." + + "<br /><b>Solution:</b> Please choose another language or version."; showErrorMessage( error_text );