diff --git a/doc/download.php b/doc/download.php index a9b168a9fe..61deb3214b 100644 --- a/doc/download.php +++ b/doc/download.php @@ -39,29 +39,34 @@ function download_link($pname, $button=false) { if ($button) { if ($vbox_file) { - echo tra("We recommend that you also install VirtualBox, so your computer can work on science projects that require it."); - echo " "; + echo tra("We recommend that you also install %1VirtualBox%2, so your computer can work on science projects that require it.", "", ""); + echo " "; echo tra("Learn more about VirtualBox."); echo ""; echo "
\n"; - echo " - -
- " - .tra("Download BOINC + VirtualBox") - ." -
" - // "for %s" identifies the operating system, e.g. "for Windows" - .sprintf(tra("for %s"), $long_name) - ." ($vbox_size MB)" - ."
" - .sprintf(tra("BOINC %s"), $num) - .", " - .sprintf(tra("VirtualBox %s"), $vbox_version) - ."
- "; + // the current BOINC VBox doesn't work on Win 10 + // remove this when we make a new release + // + if (!strstr($client_info, "Windows NT 10")) { + echo " + +
+ " + .tra("Download BOINC + VirtualBox") + ." +
" + // "for %s" identifies the operating system, e.g. "for Windows" + .sprintf(tra("for %s"), $long_name) + ." ($vbox_size MB)" + ."
" + .sprintf(tra("BOINC %s"), $num) + .", " + .sprintf(tra("VirtualBox %s"), $vbox_version) + ."
+ "; + } echo "
\n"; } echo "