X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fgame.php;h=38cf7e3b9c34bc81a191045532798515db4bbe14;hp=72e7db18bc9d78bb74ae1d5f93bc3581a37b8fc4;hb=e6a828bc2f742e617842ff2ca3a9dbb812dab16a;hpb=d0d40e3329fdb97e082636b49b459c4301d35f15
diff --git a/include/game.php b/include/game.php
index 72e7db1..38cf7e3 100644
--- a/include/game.php
+++ b/include/game.php
@@ -27,7 +27,7 @@ if(!isset($HOST))
/* calling game.php only makes sense when we give it a hash for a game */
if(!myisset('me'))
{
- echo "Hmm, you really shouldn't mess with the urls.
\n";
+ echo _("Hmm, you really shouldn't mess with the urls.")."
\n";
return;
}
$me = $_REQUEST['me'];
@@ -36,8 +36,8 @@ $me = $_REQUEST['me'];
$myid = DB_get_userid('hash',$me);
if(!$myid)
{
- echo "Can't find you in the database, please check the url.
\n";
- echo "perhaps the game has been canceled, check by login in here.";
+ echo _('Cannot find you in the database, please check the url.')."
\n";
+ printf(_('Perhaps the game has been canceled, check by login in here.'),$INDEX);
return;
}
@@ -215,9 +215,8 @@ else if( $mystatus == 'gameover' && isset($_SESSION['id']) )
}
else
{
- echo "