mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-21 03:56:08 +00:00
l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
?>
|
||||
|
||||
<div id="content" class="messages">
|
||||
<h1>Messages</h1>
|
||||
<h1><?php echo MESSAGES; ?></h1>
|
||||
|
||||
<?php include("menu.tpl"); ?>
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Subject</th>
|
||||
<th>Sender</th>
|
||||
<th colspan="2"><?php echo SUBJECT; ?></th>
|
||||
<th><?php echo SENDER; ?></th>
|
||||
<th class="sent">
|
||||
<a href="nachrichten.php?s=0&t=3&o=1">Sent</a>
|
||||
<a href="nachrichten.php?s=0&t=3&o=1"><?php echo SENT; ?></a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -33,8 +33,8 @@
|
||||
</th>
|
||||
|
||||
<th colspan="2" class="buttons">
|
||||
<button name="delmsg" value="delete" id="btn_delete" class="trav_buttons">Delete</button>
|
||||
<button name="start" value="Back" id="btn_back" class="trav_buttons">Back</button>
|
||||
<button name="delmsg" value="delete" id="btn_delete" class="trav_buttons"><?php echo DELETE; ?></button>
|
||||
<button name="start" value="Back" id="btn_back" class="trav_buttons"><?php echo BACK; ?></button>
|
||||
</th>
|
||||
|
||||
<th class="navi">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
?>
|
||||
|
||||
<div id="content" class="messages">
|
||||
<h1>Messages</h1>
|
||||
<h1><?php echo MESSAGES; ?></h1>
|
||||
|
||||
<?php include("menu.tpl"); ?>
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Subject</th>
|
||||
<th>Sender</th>
|
||||
<th colspan="2"><?php echo SUBJECT; ?></th>
|
||||
<th><?php echo SENDER; ?></th>
|
||||
<th class="sent">
|
||||
<a href="nachrichten.php?o=1">Sent</a>
|
||||
<a href="nachrichten.php?o=1"><?php echo SENT; ?></a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -54,12 +54,12 @@
|
||||
</th>
|
||||
|
||||
<th colspan="2" class="buttons">
|
||||
<button name="delmsg" value="delete" id="btn_delete" class="trav_buttons">Delete</button>
|
||||
<button name="delmsg" value="delete" id="btn_delete" class="trav_buttons"><?php echo DELETE; ?></button>
|
||||
|
||||
<?php
|
||||
// Archive only for PLUS users
|
||||
if ($session->plus) {
|
||||
echo '<button name="archive" value="Archive" id="btn_archiv" class="trav_buttons">Archive</button>';
|
||||
echo '<button name="archive" value="Archive" id="btn_archiv" class="trav_buttons">'.ARCHIVE.'</button>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -151,9 +151,9 @@
|
||||
$message_for_text =
|
||||
"<input class=\"check\" type=\"checkbox\" name=\"n" . $name . "\" value=\"" . $msg['id'] . "\" />";
|
||||
} else if ($support_messages) {
|
||||
$message_for_text = '<u><b title="Message for Support"><i>S</i></b></u>';
|
||||
$message_for_text = '<u><b title="'.MESS_FOR_SUP.'"><i>S</i></b></u>';
|
||||
} else if ($multihunter_messages) {
|
||||
$message_for_text = '<u><b title="Message for Multihunter"><i>M</i></b></u>';
|
||||
$message_for_text = '<u><b title="'.MESS_FOR_MH.'"><i>M</i></b></u>';
|
||||
}
|
||||
|
||||
echo "<td class=\"sel\">" . $message_for_text . "</td>";
|
||||
|
||||
@@ -14,17 +14,17 @@ $t = isset($_GET['t']) ? (int)$_GET['t'] : 0;
|
||||
<div id="textmenu">
|
||||
|
||||
<!-- Inbox -->
|
||||
<a href="nachrichten.php" <?php if ($t === 0) { echo 'class="selected"'; } ?>>Inbox</a>
|
||||
<a href="nachrichten.php" <?php if ($t === 0) { echo 'class="selected"'; } ?>><?php echo INBOX; ?></a>
|
||||
|
||||
|
|
||||
|
||||
<!-- Write -->
|
||||
<a href="nachrichten.php?t=1" <?php if ($t === 1) { echo 'class="selected"'; } ?>>Write</a>
|
||||
<a href="nachrichten.php?t=1" <?php if ($t === 1) { echo 'class="selected"'; } ?>><?php echo WRITE; ?></a>
|
||||
|
||||
|
|
||||
|
||||
<!-- Sent -->
|
||||
<a href="nachrichten.php?t=2" <?php if ($t === 2) { echo 'class="selected"'; } ?>>Sent</a>
|
||||
<a href="nachrichten.php?t=2" <?php if ($t === 2) { echo 'class="selected"'; } ?>><?php echo SENT; ?></a>
|
||||
|
||||
<?php
|
||||
// ======================================================
|
||||
@@ -32,9 +32,9 @@ $t = isset($_GET['t']) ? (int)$_GET['t'] : 0;
|
||||
// ======================================================
|
||||
if ($session->plus) {
|
||||
|
||||
echo ' | <a href="nachrichten.php?t=3" ' . ($t === 3 ? 'class="selected"' : '') . '>Archive</a>';
|
||||
echo ' | <a href="nachrichten.php?t=3" ' . ($t === 3 ? 'class="selected"' : '') . '>'.ARCHIVE.'</a>';
|
||||
|
||||
echo ' | <a href="nachrichten.php?t=4" ' . ($t === 4 ? 'class="selected"' : '') . '>Notes</a>';
|
||||
echo ' | <a href="nachrichten.php?t=4" ' . ($t === 4 ? 'class="selected"' : '') . '>'.NOTES.'</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
?>
|
||||
|
||||
<div id="content" class="messages">
|
||||
<h1>Messages</h1>
|
||||
<h1><?php echo MESSAGES; ?></h1>
|
||||
|
||||
<?php include("menu.tpl"); ?>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
(fix mic: atribut alt era invalid)
|
||||
======================================================= -->
|
||||
<p class="btn">
|
||||
<button id="btn_save" name="s1" class="trav_buttons">Save</button>
|
||||
<button id="btn_save" name="s1" class="trav_buttons"><?php echo SAVE; ?></button>
|
||||
<br />
|
||||
</p>
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ $date = $generator->procMtime($reading['time']);
|
||||
?>
|
||||
|
||||
<div id="content" class="messages">
|
||||
<h1>Messages</h1>
|
||||
<h1><?php echo MESSAGES; ?></h1>
|
||||
|
||||
<?php include("menu.tpl"); ?>
|
||||
|
||||
@@ -110,7 +110,7 @@ echo stripslashes(nl2br($bbcoded));
|
||||
<input type="hidden" name="t" value="1" />
|
||||
|
||||
<p class="btn">
|
||||
<button name="s1" id="btn_reply" class="trav_buttons">Answer</button>
|
||||
<button name="s1" id="btn_reply" class="trav_buttons"><?php echo ANSWER; ?></button>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@ function getCachedUsername($uid, $database, &$cache) {
|
||||
?>
|
||||
|
||||
<div id="content" class="messages">
|
||||
<h1>Messages</h1>
|
||||
<h1><?php echo MESSAGES; ?></h1>
|
||||
|
||||
<?php include("menu.tpl"); ?>
|
||||
|
||||
@@ -36,10 +36,10 @@ function getCachedUsername($uid, $database, &$cache) {
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Subject</th>
|
||||
<th>Recipient</th>
|
||||
<th><?php echo SUBJECT; ?></th>
|
||||
<th><?php echo RECIPIENT; ?></th>
|
||||
<th class="sent">
|
||||
<a href="nachrichten.php?t=2&s=0&t=2&o=1">Sent</a>
|
||||
<a href="nachrichten.php?t=2&s=0&t=2&o=1"><?php echo SENT; ?></a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -69,7 +69,7 @@ if ($golds['plus'] > $date2) {
|
||||
</th>
|
||||
|
||||
<th colspan="2" class="buttons">
|
||||
<button value="delete" name="delmsg" id="btn_delete" class="trav_buttons">Delete</button>
|
||||
<button value="delete" name="delmsg" id="btn_delete" class="trav_buttons"><?php echo DELETE; ?></button>
|
||||
</th>
|
||||
|
||||
<th class="navi">
|
||||
|
||||
+21
-21
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user