Your cards are:
\n";
+ echo '
'._('Your cards are').":
\n";
foreach($mycards as $card)
display_card($card,$PREF['cardset']);
echo "
\n";
@@ -491,27 +491,27 @@ switch($mystatus)
else if($_REQUEST['wedding'] == 'yes')
{
/* silent solo is set further down */
- echo "Ok, you don't want to play a silent solo...wedding was chosen.
\n";
+ echo _("Ok, you don't want to play a silent solo...wedding was chosen.")."
\n";
DB_set_sickness_by_hash($me,'wedding');
}
else if($_REQUEST['poverty'] == 'yes')
{
- echo "Don't think you can win with just a few trump...? ok, poverty chosen
\n";
+ echo _("Don't think you can win with just a few trump...? Ok, poverty chosen.")."
\n";
DB_set_sickness_by_hash($me,'poverty');
}
else if($_REQUEST['nines'] == 'yes')
{
- echo "What? You just don't want to play a game because you have a few nines? Well, if no one".
- " is playing solo, this game will be canceled.
\n";
+ echo _("What? You just don't want to play a game because you have a few nines? Well, if no one".
+ " is playing solo, this game will be canceled.")."
\n";
DB_set_sickness_by_hash($me,'nines');
}
else if($_REQUEST['lowtrump'] == 'yes')
{
if($RULES['lowtrump']=='cancel')
- echo "What? You just don't want to play a game because you have low trump? Well, if no one".
- " is playing solo, this game will be canceled.
\n";
+ echo _("What? You just don't want to play a game because you have low trump? Well, if no one".
+ " is playing solo, this game will be canceled.")."
\n";
else
- echo "Don't think you can win with low trumps...? ok, poverty chosen
.
\n";
+ echo _("Don't think you can win with low trumps...? Ok, poverty chosen.")."
.
\n";
DB_set_sickness_by_hash($me,'lowtrump');
}
@@ -531,7 +531,7 @@ switch($mystatus)
$mycards = DB_get_hand($me);
$mycards = mysort($mycards,$gametype);
- /* output sickness of other playes, in case the already selected and are sitting in front of the current player */
+ /* output sickness of other playes, in case they already selected and are sitting in front of the current player */
echo "\n
\n";
echo " - Game ".DB_format_gameid($gameid).":
\n";
echo " - Pre\n".
@@ -555,7 +555,7 @@ switch($mystatus)
/* end displaying sickness */
echo "
\n";
- echo "
Checking if someone else selected solo, nines, wedding or poverty.
";
+ echo '
'._('Checking if someone else selected solo, nines, wedding or poverty.').'
';
/* check if everyone has reached this stage */
$userids = DB_get_all_userid_by_gameid($gameid);
@@ -573,10 +573,10 @@ switch($mystatus)
if(!$ok)
{
- echo "
This step can only be handled after everyone finished the last step. ".
- "Seems like this is not the case, so you need to wait a bit... ".
- "you will get an email once that is the case, please use the link in ".
- "that email to continue the game.
";
+ echo ''._('This step can only be handled after everyone finished the last step. '.
+ 'Seems like this is not the case, so you need to wait a bit... '.
+ 'you will get an email once that is the case, please use the link in '.
+ 'that email to continue the game.').'
';
/* display cards, if player was just at the init-phase he will still see the cards from there
* we can put this one here, since the last player to finish the init state won't get here and
@@ -585,7 +585,7 @@ switch($mystatus)
if($mystatus=='check')
{
/* show cards */
- echo "
Your cards are:
\n";
+ echo '
'._('Your cards are').":
\n";
foreach($mycards as $card)
display_card($card,$PREF['cardset']);
echo "
\n";
@@ -598,7 +598,7 @@ switch($mystatus)
* are playing, in case there are any solos this already
* will have the correct information in it */
- echo "
Ok, everyone is done... figuring out what kind of game we are playing.
";
+ echo '
'._('Ok, everyone is done... figuring out what kind of game we are playing.').'
';
$gametype = DB_get_gametype_by_gameid($gameid);
$startplayer = DB_get_startplayer_by_gameid($gameid);
@@ -668,7 +668,7 @@ switch($mystatus)
mymail($user,$subject,$message);
}
- echo "