mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +00:00
i18n: render system in-game messages in each reader's language (EN/FR/RO) (#237)
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
// SUBJECT
|
||||
// ======================================================
|
||||
echo "<td class=\"top\">
|
||||
<a href=\"nachrichten.php?id=" . $msg['id'] . "\">" . $msg['topic'] . "</a>";
|
||||
<a href=\"nachrichten.php?id=" . $msg['id'] . "\">" . tz_expand_report($msg['topic']) . "</a>";
|
||||
|
||||
if ($msg['viewed'] == 0) {
|
||||
echo " (new)";
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
// SUBJECT
|
||||
// ======================================================
|
||||
echo "<td class=\"top\">
|
||||
<a href=\"nachrichten.php?id=" . $msg['id'] . "\">" . $msg['topic'] . "</a>";
|
||||
<a href=\"nachrichten.php?id=" . $msg['id'] . "\">" . tz_expand_report($msg['topic']) . "</a>";
|
||||
|
||||
if ($msg['viewed'] == 0) {
|
||||
echo " (new)";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
// ======================================================
|
||||
$reading = $message->reading;
|
||||
|
||||
$input = $reading['message'];
|
||||
$input = tz_expand_report($reading['message']);
|
||||
$alliance = $reading['alliance'];
|
||||
$player = $reading['player'];
|
||||
$coor = $reading['coor'];
|
||||
@@ -77,7 +77,7 @@ $date = $generator->procMtime($reading['time']);
|
||||
</div>
|
||||
|
||||
<!-- Subject -->
|
||||
<div><?php echo $reading['topic']; ?></div>
|
||||
<div><?php echo tz_expand_report($reading['topic']); ?></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ for ($i = (1 + $s); $i <= (10 + $s); $i++) {
|
||||
// SUBJECT
|
||||
// ======================================================
|
||||
echo "<td class=\"top\">
|
||||
<a href=\"nachrichten.php?t=2a&id=" . $msg['id'] . "\">" . $msg['topic'] . "</a>";
|
||||
<a href=\"nachrichten.php?t=2a&id=" . $msg['id'] . "\">" . tz_expand_report($msg['topic']) . "</a>";
|
||||
|
||||
if ($msg['viewed'] == 0) {
|
||||
echo " (unread)";
|
||||
|
||||
Reference in New Issue
Block a user