diff --git a/html/user/sample_index.php b/html/user/sample_index.php index c4cb11aaf3..9b216522bf 100644 --- a/html/user/sample_index.php +++ b/html/user/sample_index.php @@ -69,16 +69,20 @@ function left(){ if ($dt < 86400) { echo tra("Thanks for joining %1", PROJECT); } else if ($user->total_credit == 0) { - echo "Your computer hasn't completed any tasks yet. If you need help, go here"; + echo tra("Your computer hasn't completed any tasks yet. If you need help, %1go here%2.", + "", + "" + ); } else { $x = format_credit($user->expavg_credit); $y = number_format($user->expavg_credit/200, 3); echo tra("You've contributed about %1 credits per day (%2 GFLOPS) to %3 recently.", $x, $y, PROJECT); if ($user->expavg_credit > 1) { - echo "Thanks!"; + echo " "; + echo tra("Thanks!"); } else { echo "
"; - echo "Please make sure BOINC is installed and enabled on your computer."; + echo tra("Please make sure BOINC is installed and enabled on your computer."); } } echo "
";