l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186)

This commit is contained in:
Ferywir
2026-06-09 09:28:59 +02:00
committed by GitHub
parent 695a4352e8
commit 5d366284e6
381 changed files with 7969 additions and 4761 deletions
+12 -12
View File
@@ -20,7 +20,7 @@ if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
<center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
<?php echo TZ_THE_USER; ?> <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> <?php echo TZ_DOES_NOT_EXIST; ?>
</p>
</font>
</center>
@@ -35,26 +35,26 @@ if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
<thead>
<tr>
<th colspan="5">
The most successful attackers
<?php echo TZ_THE_MOST_SUCCESSFUL_ATTACKERS; ?>
<div id="submenu">
<a title="Top 10" href="statistiken.php?id=7">
<img class="btn_top10" src="img/x.gif" alt="Top 10" />
<a title="<?php echo TZ_TOP_10; ?>" href="statistiken.php?id=7">
<img class="btn_top10" src="img/x.gif" alt="<?php echo TZ_TOP_10; ?>" />
</a>
<a title="defender" href="statistiken.php?id=32">
<img class="btn_def" src="img/x.gif" alt="defender" />
<a title="<?php echo DEFENDER; ?>" href="statistiken.php?id=32">
<img class="btn_def" src="img/x.gif" alt="<?php echo DEFENDER; ?>" />
</a>
<a title="attacker" href="statistiken.php?id=31">
<img class="active btn_off" src="img/x.gif" alt="attacker" />
<a title="<?php echo ATTACKER; ?>" href="statistiken.php?id=31">
<img class="active btn_off" src="img/x.gif" alt="<?php echo ATTACKER; ?>" />
</a>
</div>
</th>
</tr>
<tr>
<td></td>
<td>Player</td>
<td>Population</td>
<td>Villages</td>
<td>Points</td>
<td><?php echo PLAYER; ?></td>
<td><?php echo POP; ?></td>
<td><?php echo VILLAGES; ?></td>
<td><?php echo POINTS; ?></td>
</tr>
</thead>