From 56e18f11d85af4aded4c00d4776165044c291c69 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 May 2018 17:03:18 -0700 Subject: [PATCH] - add some tra()s --- html/user/sample_index.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 "

";