X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=1b3d83e69d2b20d95ef01cf6a6bd25addd244fcc;hp=2c3afeb33b01d4f99f3136c292fae1072c4a895a;hb=4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b;hpb=08583506b9bdb4ef2d30bad9752c960f20fe54b6 diff --git a/include/user.php b/include/user.php index 2c3afeb..1b3d83e 100644 --- a/include/user.php +++ b/include/user.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud * * This file is part of e-DoKo. * @@ -121,6 +121,8 @@ else $_SESSION['name'] = $myname; $PREF = DB_get_PREF($myid); + /* set language chosen in preferences, will become active on the next reload (see index.php)*/ + $_SESSION['language'] = $PREF['language']; DB_update_user_timestamp($myid); @@ -138,12 +140,12 @@ else " Between $vac_start and $vac_stop other users will see the following message: $vac_comment.

\n"; } - echo '

'._('These are all your games').":

\n"; + echo '

'._('These are your games').":

\n"; /* output legend */ - echo '

'._('Games').": \n"; - echo '   = '._('pre-game phase'); - echo '   = '._('game in progess'); - echo 'N = '._('game over (N people played the same hand)').'
'; + echo "

\n"; + echo '    '._('pre-game phase'); + echo '    '._('game in progess'); + echo ' N  '._('game over (N people played this hand)').'
'; echo ' '._("Reminder: canceling a game can't be reversed!"); echo "

\n";