diff --git a/doc/index.php b/doc/index.php index 1db1213dce..d15bf092a8 100644 --- a/doc/index.php +++ b/doc/index.php @@ -13,6 +13,7 @@ if ($host == "bolt.berkeley.edu") { require_once("docutil.php"); require_once("../html/inc/translation.inc"); +require_once("../html/inc/language_names.inc"); function show_participant() { $i = rand(0, 99); @@ -90,15 +91,11 @@ function show_participate() {

- ".sprintf( - tra(" Use the idle time on your computer (Windows, Mac, Linux, or Android) to cure diseases, study global warming, discover pulsars, and do many other types of scientific research. It's safe, secure, and easy: %sChoose%s projects %sDownload%s and run BOINC software %sEnter%s an email address and password. "), - "

  1. ", - "", - "
  2. ", - "", - "
  3. ", - "" - )." + ".tra("Use the idle time on your computer (Windows, Mac, Linux, or Android) to cure diseases, study global warming, discover pulsars, and do many other types of scientific research. It's safe, secure, and easy:")." +
      +
    1. ".tra("Choose projects")." +
    2. ".tra("Download BOINC software")." +
    3. ".tra("Enter an email address and password.")."

    ".sprintf( @@ -200,42 +197,6 @@ function show_nsf() { "; } -require_once("../html/inc/language_names.inc"); - -function language_select() { - global $language_names; - $supported_languages = getSupportedLanguages(); - $bd = tra("Browser default"); - echo " -