Fix translated comment messages.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2009-01-22 23:25:10 -05:00
parent 1bccb1ad7f
commit 84cd2d0467
11 changed files with 14 additions and 30 deletions

View file

@ -14,12 +14,11 @@
echo $durl;
}
if ($SID) {
echo __("Comment by: %h%s%h on %s",
"<a href='account.php?Action=AccountInfo&ID=".$carr["UsersID"]."'><b>",
$carr["UserName"], "</b></a>", gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
echo __("Comment by: %s on %s",
"<a href='account.php?Action=AccountInfo&ID=" . $carr["UsersID"] . "'><b>" . $carr["UserName"] . "</b></a>", gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
} else {
echo __("Comment by: %h%s%h on %s",
"<b>", $carr["UserName"], "</b>",
echo __("Comment by: %s on %s",
'<b>' . $carr['UserName'] . '</b>',
gmdate("Y m d [H:i:s]", $carr["CommentTS"]));
}
?>