X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=47e80895f2cd5573e45512516fdf207e9f1a3f68;hp=d9421f12a82ef5f99585f00f4ab905ff84a6d419;hb=029a068c5ccaac8e5ff3d7e9d7f7f435976b4bc5;hpb=01b20748909652b47e34dfd8898365105704471b
diff --git a/include/functions.php b/include/functions.php
index d9421f1..47e8089 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1087,8 +1087,8 @@ function display_single_user($r,$start=0)
$stop = substr($vacation[1],0,10);
$comment = $vacation[2];
- $title = "begin: $start end: $stop $comment";
- echo " $gravatar (on vacation until $stop) \n";
+ $title = _("begin:")." $start "._("end:")." $stop $comment";
+ echo " $gravatar "._("(on vacation until $stop)")." \n";
}
else
echo " $gravatar \n";
@@ -1450,7 +1450,7 @@ function format_score_table_ascii($score)
/* truncate table if we have too many games */
$max = sizeof($score);
- if($max>6) $output.=" (table truncated to last 6 games)\n";
+ if($max>6) $output.=" "._("(table truncated to last 6 games)")."\n";
/* output header */
foreach($score[0]['players'] as $id=>$points)