X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=9ac127a98290e994f30a1ff9ab456aa71afb511a;hp=eb4f6c4c33dd8160c066491811546b3328bb75ae;hb=805b748a08394eb028b34c0151b01deb4c67cd7d;hpb=85f97815af1237463bc50b766f06b66b0c5ac8c1 diff --git a/include/user.php b/include/user.php index eb4f6c4..9ac127a 100644 --- a/include/user.php +++ b/include/user.php @@ -133,16 +133,17 @@ else $vac_start = $myvacation[0]; $vac_stop = $myvacation[1]; $vac_comment = $myvacation[2]; - echo "
Enjoy your vacation (don't forgot to change your settings once you're back). Between $vac_start and $vac_stop other users will see the following message: $vac_comment.
\n"; + echo ''._("Enjoy your vacation (don't forgot to change your settings once you're back)."). + " Between $vac_start and $vac_stop other users will see the following message: $vac_comment.
\n"; } - echo "Games: \n";
- echo " = pre-game phase ";
- echo " = game in progess ";
- echo "N = game over (N people played the same hand)
";
- echo " Reminder: canceling a game can't be reversed!";
+ echo '
'._('Games').": \n";
+ echo ' = '._('pre-game phase');
+ echo ' = '._('game in progess');
+ echo 'N = '._('game over (N people played the same hand)').'
';
+ echo ' '._("Reminder: canceling a game can't be reversed!");
echo "
You can start new games using the link in the top right corner!
\n"; + echo ''._('You can start new games using the link in the top right corner!')."
\n"; /* display last 5 users that have signed up to e-DoKo */ $names = DB_get_names_of_new_logins(5); - echo "\n"; + echo '
\n"; echo implode(", ",$names).",...\n"; echo "
\n"; /* display last 5 users that logged on */ - echo "\n"; + echo '
\n"; $names = DB_get_names_of_last_logins(7); $emails = DB_get_emails_of_last_logins(7);