diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 8 | ||||
-rw-r--r-- | include/game.php | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/include/functions.php b/include/functions.php index d7ecb10..7888a76 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1207,15 +1207,15 @@ function display_single_user($r,$start=0) switch($wins) { case 0: - echo "#tricks 0"; break; + echo _('#tricks 0'); break; case 1: - echo "#tricks 1"; break; + echo _('#tricks 1'); break; case 2: case 3: case 4: - echo "#tricks few"; break; + echo _('#tricks few'); break; default: - echo "#tricks many"; break; + echo _('#tricks many'); break; } echo "</span>\n"; echo " </div>\n"; diff --git a/include/game.php b/include/game.php index 367cc07..9b878aa 100644 --- a/include/game.php +++ b/include/game.php @@ -328,7 +328,7 @@ if($session) $next = NULL; /* check for solo, add game type to session number */ - echo " Game $session.$j"; + echo ' '._('Game')." $session.$j"; if($gamestatus != 'pre' && $GT !='normal' ) echo " ($GT)"; if(isset($_SESSION['id']) && $_SESSION['id']==$myid) @@ -2238,7 +2238,8 @@ switch ($card_status) { $name = DB_get_name('userid',$user); $oldcards = DB_get_all_hand($userhash); $oldcards = mysort($oldcards,$gametype); - echo "$name's cards were: <br />\n"; + echo sprintf(_("%s's cards were:"),$name); + echo " <br />\n"; foreach($oldcards as $card) display_card($card,$PREF['cardset']); } |