From 805b748a08394eb028b34c0151b01deb4c67cd7d Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 26 Apr 2010 22:46:12 -0700 Subject: marked more strings for translation --- include/user.php | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'include') 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 "

These are all your games:

\n"; + echo '

'._('These are all 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 " 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 "

\n"; /* get all games */ @@ -225,7 +226,7 @@ else { $output_active .= ''; if($userid==$myid || !$userid) - $output_active .= " your turn\n"; + $output_active .= ' '._('your turn')."\n"; else { $name = DB_get_name('userid',$userid); @@ -243,7 +244,7 @@ else /* check if we need to send out a reminder */ if(DB_get_reminder($userid,$gameid)==0) if(time()-strtotime($gamemoddate) > 60*60*24*7) - $output_active .= "Send a reminder? "; + $output_active .= ""._('Send a reminder?').' '; }; $output_active .= ''; @@ -254,7 +255,7 @@ else if($maxgame>1) { - $output_active .= ' (hide/show) old
'."\n"; + $output_active .= ' '._('(hide/show) old').'
'."\n"; $output_active .= ' '.$sessionoutput.''; } @@ -295,23 +296,23 @@ else } echo "\n"; /* give a hint for new players */ if($count<10) - 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 "

New Players:

\n

\n"; + echo '

'._('New Players').":

\n

\n"; echo implode(", ",$names).",...\n"; echo "

\n"; /* display last 5 users that logged on */ - echo "

Players last logged in:

\n

\n"; + echo '

'._('Players last logged in').":

\n

\n"; $names = DB_get_names_of_last_logins(7); $emails = DB_get_emails_of_last_logins(7); -- cgit v1.2.3-18-g5258