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
+1 -1
View File
@@ -1 +1 @@
<b><center>TravianX</center></b>
<b><center><?php echo TZ_TRAVIANX; ?></center></b>
+1 -1
View File
@@ -1 +1 @@
<b><center>TravianX</center></b>
<b><center><?php echo TZ_TRAVIANX; ?></center></b>
+1 -1
View File
@@ -1 +1 @@
<b><center>TravianX</center></b>
<b><center><?php echo TZ_TRAVIANX; ?></center></b>
+13 -13
View File
@@ -1,4 +1,4 @@
<h5><img src="img/en/t2/newsbox1.gif" alt="newsbox 1"></h5>
<h5><img src="img/en/t2/newsbox1.gif" alt="<?php echo EDIT_NEWSBOX1; ?>"></h5>
<?php
/**
@@ -61,32 +61,32 @@ if ($top_query) {
<table width="100%">
<tr>
<td align="left"><b>Online Users</b></td>
<td align="left"><b><?php echo TZ_ONLINE_USERS; ?></b></td>
<td>: <font color="Red"><b><?php echo $online_total; ?> users</b></font></td>
</tr>
<tr>
<td><b>Server Speed</b></td>
<td><b><?php echo CONF_SERV_SERVSPEED; ?></b></td>
<td><b>: <font color="Red"><?php echo SPEED; ?>x</font></b></td>
</tr>
<tr>
<td><b>Troop Speed</b></td>
<td><b><?php echo CONF_SERV_TROOPSPEED; ?></b></td>
<td><b>: <font color="Red"><?php echo INCREASE_SPEED; ?>x</font></b></td>
</tr>
<tr>
<td><b>Evasion Speed</b></td>
<td><b><?php echo CONF_SERV_EVASIONSPEED; ?></b></td>
<td><b>: <font color="Red"><?php echo EVASION_SPEED; ?></font></b></td>
</tr>
<tr>
<td><b>Map Size</b></td>
<td><b><?php echo CONF_SERV_MAPSIZE; ?></b></td>
<td><b>: <font color="Red"><?php echo WORLD_MAX; ?>x<?php echo WORLD_MAX; ?></font></b></td>
</tr>
<tr>
<td><b>Village Exp.</b></td>
<td><b><?php echo TZ_VILLAGE_EXP; ?></b></td>
<td><b>: <font color="Red">
<?php
// păstrăm exact logica originală
@@ -100,12 +100,12 @@ if (CP == 0) {
</tr>
<tr>
<td><b>Beginners Prot.</b></td>
<td><b>: <font color="Red"><?php echo (PROTECTION / 3600); ?> hrs</font></b></td>
<td><b><?php echo TZ_BEGINNERS_PROT; ?></b></td>
<td><b>: <font color="Red"><?php echo (PROTECTION / 3600); ?> <?php echo TZ_HRS; ?></font></b></td>
</tr>
<tr>
<td><b>Medal Interval</b></td>
<td><b><?php echo CONF_SERV_MEDALINTERVAL; ?></b></td>
<td><b>: <font color="Red">
<?php
// logică identică, doar structurată mai clar
@@ -119,12 +119,12 @@ if (MEDALINTERVAL >= 86400) {
</tr>
<tr>
<td><b>Server Start</b></td>
<td><b><?php echo TZ_SERVER_START; ?></b></td>
<td><b>: <font color="Red"><?php echo START_DATE; ?></font></b></td>
</tr>
<tr>
<td><b>Peace system</b></td>
<td><b><?php echo CONF_SERV_PEACESYST; ?></b></td>
<td><b>: <font color="Red">
<?php
// fallback safe pentru index
@@ -135,7 +135,7 @@ echo isset($peaceTypes[PEACE]) ? $peaceTypes[PEACE] : "Unknown";
</tr>
<tr>
<td><b>Best Player</b></td>
<td><b><?php echo TZ_BEST_PLAYER; ?></b></td>
<td><b>: <font color="Red"><?php echo $top_username; ?></font></b></td>
</tr>
+1 -1
View File
@@ -42,7 +42,7 @@ $serverStart = strtotime(START_DATE);
$total = count($spawnTimeArray);
?>
<h5><img src="img/en/t2/newsbox2.gif" alt="newsbox 2"></h5>
<h5><img src="img/en/t2/newsbox2.gif" alt="<?php echo EDIT_NEWSBOX2; ?>"></h5>
<div class="news">
<table width="100%">
+13 -17
View File
@@ -11,45 +11,41 @@
?>
<h5>
<img src="../img/en/t2/newsbox3.gif" alt="newsbox 3" />
<img src="../img/en/t2/newsbox3.gif" alt="<?php echo EDIT_NEWSBOX3; ?>" />
</h5>
<div class="news">
<div style="text-align: center;">
<b>TravianZ</b>
<b><?php echo TZ_TRAVIANZ; ?></b>
</div>
<br />
<b>Version: <font color="Red">v8.3.5</font></b><br />
<b><?php echo TZ_VERSION; ?> <font color="Red">v8.3.5</font></b><br />
<b>Major Changes:</b>
Over 120 bugs fixed, artifacts fully fixed, catapults and rams fully fixed,
automated Natars/Artifacts/WW villages/WW building plans, new battle formula
(more precise than the old one), automatic artifacts activation,
rewritten a lot of code. See more in readme file!
<b><?php echo TZ_MAJOR_CHANGES; ?></b>
<?php echo TZ_ML_CHANGELOG_120BUGS; ?>
<br />
<b>Minor Changes:</b>
New forum system, Travian-like trapper formula, fixed master builder,
double research queue in blacksmith and armoury with plus
<b><?php echo TZ_MINOR_CHANGES; ?></b>
<?php echo TZ_ML_CHANGELOG_NEWFORUM; ?>
<br />
<b>Script Price:</b> FREE!
<b><?php echo TZ_SCRIPT_PRICE; ?></b> <?php echo TZ_FREE; ?>
<br /><br />
<div style="text-align: center;">
<u><b>Released by: TravianZ Team</b></u>
<u><b><?php echo TZ_RELEASED_BY_TRAVIANZ_TEAM; ?></b></u>
</div>
<br />
<div style="text-align: center;">
<b>
Visit:
<?php echo TZ_VISIT; ?>
<a href="http://forum.ragezone.com/f583/travianz-version-modified-shadow-many-967580/" target="_blank">
RageZone.com
<?php echo TZ_RAGEZONE_COM; ?>
</a>
</b>
</div>
@@ -59,9 +55,9 @@
<div style="text-align: center;">
<b>
<u>
Download from
<?php echo TZ_DOWNLOAD_FROM; ?>
<a href="https://github.com/Shadowss/TravianZ/archive/master.zip" target="_blank">
Github
<?php echo TZ_GITHUB; ?>
</a>
</u>
</b>