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
+43 -43
View File
@@ -1,169 +1,169 @@
<table id="attacker" class="fill_in" cellpadding="1" cellspacing="1">
<thead>
<tr>
<th>Attacker</th>
<th><?php echo ATTACKER; ?></th>
</tr>
</thead>
<tbody>
<tr>
<th>Gauls</th>
<th><?php echo TRIBE3; ?></th>
</tr>
<tr>
<td class="details">
<table cellpadding="1" cellspacing="1"><tr>
<td class="ico">
<img src="img/x.gif" class="unit u21" title="Phalanx" alt="Phalanx" />
<img src="img/x.gif" class="unit u21" title="<?php echo U21; ?>" alt="<?php echo U21; ?>" />
</td>
<td class="desc">
Phalanx
</td><td class="value">
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="7" title="Number Phalanx" />
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U21; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_1" value="<?php echo $form->getValue('f1_1'); ?>" maxlength="2" title="Level Blacksmith Phalanx" />
<input class="text" type="text" name="f1_1" value="<?php echo $form->getValue('f1_1'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U21; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u22" title="Swordsman" alt="Swordsman" />
<img src="img/x.gif" class="unit u22" title="<?php echo U22; ?>" alt="<?php echo U22; ?>" />
</td>
<td class="desc">
Swordsman
</td><td class="value">
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="7" title="Number Swordsman" />
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U22; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_2" value="<?php echo $form->getValue('f1_2'); ?>" maxlength="2" title="Level Blacksmith Swordsman" />
<input class="text" type="text" name="f1_2" value="<?php echo $form->getValue('f1_2'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U22; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u23" title="Pathfinder" alt="Pathfinder" />
<img src="img/x.gif" class="unit u23" title="<?php echo U23; ?>" alt="<?php echo U23; ?>" />
</td>
<td class="desc">
Pathfinder
</td><td class="value">
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="7" title="Number Pathfinder" />
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U23; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_3" value="<?php echo $form->getValue('f1_3'); ?>" maxlength="2" title="Level Blacksmith Pathfinder" />
<input class="text" type="text" name="f1_3" value="<?php echo $form->getValue('f1_3'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U23; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u24" title="Theutates Thunder" alt="Theutates Thunder" />
<img src="img/x.gif" class="unit u24" title="<?php echo U24; ?>" alt="<?php echo U24; ?>" />
</td>
<td class="desc">
Theutates Thunder
</td><td class="value">
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="7" title="Number Theutates Thunder" />
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U24; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_4" value="<?php echo $form->getValue('f1_4'); ?>" maxlength="2" title="Level Blacksmith Theutates Thunder" />
<input class="text" type="text" name="f1_4" value="<?php echo $form->getValue('f1_4'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U24; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u25" title="Druidrider" alt="Druidrider" />
<img src="img/x.gif" class="unit u25" title="<?php echo U25; ?>" alt="<?php echo U25; ?>" />
</td>
<td class="desc">
Druidrider
</td><td class="value">
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="7" title="Number Druidrider" />
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U25; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_5" value="<?php echo $form->getValue('f1_5'); ?>" maxlength="2" title="Level Blacksmith Druidrider" />
<input class="text" type="text" name="f1_5" value="<?php echo $form->getValue('f1_5'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U25; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u26" title="Haeduan" alt="Haeduan" />
<img src="img/x.gif" class="unit u26" title="<?php echo U26; ?>" alt="<?php echo U26; ?>" />
</td>
<td class="desc">
Haeduan
</td><td class="value">
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="7" title="Number Haeduan" />
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U26; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_6" value="<?php echo $form->getValue('f1_6'); ?>" maxlength="2" title="Level Blacksmith Haeduan" />
<input class="text" type="text" name="f1_6" value="<?php echo $form->getValue('f1_6'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U26; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u27" title="Ram" alt="Ram" />
<img src="img/x.gif" class="unit u27" title="<?php echo U17; ?>" alt="<?php echo U17; ?>" />
</td>
<td class="desc">
Ram
</td><td class="value">
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="7" title="Number Ram" />
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U17; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_7" value="<?php echo $form->getValue('f1_7'); ?>" maxlength="2" title="Level Blacksmith Ram" />
<input class="text" type="text" name="f1_7" value="<?php echo $form->getValue('f1_7'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U17; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u28" title="Trebuchet" alt="Trebuchet" />
<img src="img/x.gif" class="unit u28" title="<?php echo U28; ?>" alt="<?php echo U28; ?>" />
</td>
<td class="desc">
Trebuchet
</td><td class="value">
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="7" title="Number Trebuchet" />
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="7" title="<?php echo TZ_NUMBER; ?> <?php echo U28; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_8" value="<?php echo $form->getValue('f1_8'); ?>" maxlength="2" title="Level Blacksmith Trebuchet" />
<input class="text" type="text" name="f1_8" value="<?php echo $form->getValue('f1_8'); ?>" maxlength="2" title="<?php echo LEVEL; ?> <?php echo BLACKSMITH; ?> <?php echo U28; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u29" title="Chieftain" alt="Chieftain" />
<img src="img/x.gif" class="unit u29" title="<?php echo U29; ?>" alt="<?php echo U29; ?>" />
</td>
<td class="desc">
Chieftain
</td><td class="value">
<input class="text" type="text" name="a1_9" value="<?php echo $form->getValue('a1_9'); ?>" maxlength="6" title="Number Chieftain" />
<input class="text" type="text" name="a1_9" value="<?php echo $form->getValue('a1_9'); ?>" maxlength="6" title="<?php echo TZ_NUMBER; ?> <?php echo U29; ?>" />
</td>
<td class="research"></td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u30" title="Settler" alt="Settler" />
<img src="img/x.gif" class="unit u30" title="<?php echo U10; ?>" alt="<?php echo U10; ?>" />
</td>
<td class="desc">
Settler
</td><td class="value">
<input class="text" type="text" name="a1_10" value="<?php echo $form->getValue('a1_10'); ?>" maxlength="6" title="Number Settler" />
<input class="text" type="text" name="a1_10" value="<?php echo $form->getValue('a1_10'); ?>" maxlength="6" title="<?php echo TZ_NUMBER; ?> <?php echo U10; ?>" />
</td>
<td class="research"></td></tr></table>
</td>
</tr>
</tbody><tbody>
<tr>
<th>Other</th>
<th><?php echo TZ_OTHER; ?></th>
</tr>
<tr>
<td class="details">
<table cellpadding="1" cellspacing="1">
<tr>
<td class="ico"><img src="img/x.gif" class="unit uhab" alt="Population" title="Population" /></td>
<td class="desc">Population</td>
<td class="value"><input class="text" type="text" name="ew1" value="<?php echo $form->getValue('ew1')==""? 1 : $form->getValue('ew1'); ?>" maxlength="5" title="Number Population" /></td>
<td class="ico"><img src="img/x.gif" class="unit uhab" alt="<?php echo POP; ?>" title="<?php echo POP; ?>" /></td>
<td class="desc"><?php echo POP; ?></td>
<td class="value"><input class="text" type="text" name="ew1" value="<?php echo $form->getValue('ew1')==""? 1 : $form->getValue('ew1'); ?>" maxlength="5" title="<?php echo TZ_NUMBER; ?> <?php echo POP; ?>" /></td>
<td class="research"></td>
</tr>
<tr>
<td class="ico"><img src="img/x.gif" class="unit ucata" alt="catapult target" title="catapult target" /></td>
<td class="desc">Lvl catapult target</td>
<td class="value"><input class="text" type="text" name="kata" value="<?php echo $form->getValue('kata')==""? 0 : $form->getValue('kata'); ?>" maxlength="2" title="Lvl Catapult Target" /></td>
<td class="ico"><img src="img/x.gif" class="unit ucata" alt="<?php echo TZ_CATAPULT_TARGET; ?>" title="<?php echo TZ_CATAPULT_TARGET; ?>" /></td>
<td class="desc"><?php echo TZ_LVL; ?> <?php echo TZ_CATAPULT_TARGET; ?></td>
<td class="value"><input class="text" type="text" name="kata" value="<?php echo $form->getValue('kata')==""? 0 : $form->getValue('kata'); ?>" maxlength="2" title="<?php echo TZ_LVL; ?> <?php echo TZ_CATAPULT_TARGET; ?>" /></td>
<td class="research"></td>
</tr><tr>
</tr><tr>
<td class="ico"><img src="img/x.gif" class="unit uhero" title="Hero" alt="Hero" /></td>
<td class="desc">Hero (off bonus)</td>
<td class="value"><input class="text" type="text" name="h_off_bonus" value="<?php echo $form->getValue('h_off_bonus')==""? 0 : $form->getValue('h_off_bonus'); ?>" maxlength="4" title="Hero (off bonus)" /></td>
<td class="ico"><img src="img/x.gif" class="unit uhero" title="<?php echo U0; ?>" alt="<?php echo U0; ?>" /></td>
<td class="desc"><?php echo TZ_HERO_OFF_BONUS; ?></td>
<td class="value"><input class="text" type="text" name="h_off_bonus" value="<?php echo $form->getValue('h_off_bonus')==""? 0 : $form->getValue('h_off_bonus'); ?>" maxlength="4" title="<?php echo TZ_HERO_OFF_BONUS; ?>" /></td>
<td class="research"></td>
</tr>
<tr>
<td class="ico"><img src="img/x.gif" class="unit uhero" title="Hero" alt="Hero" /></td>
<td class="desc">Hero (fighting strength)</td>
<td class="value"><input class="text" type="text" name="h_off" value="<?php echo $form->getValue('h_off')==""? 0 : $form->getValue('h_off'); ?>" maxlength="5" title="Hero (fighting strength)" /></td>
<td class="ico"><img src="img/x.gif" class="unit uhero" title="<?php echo U0; ?>" alt="<?php echo U0; ?>" /></td>
<td class="desc"><?php echo TZ_HERO_FIGHTING_STRENGTH; ?></td>
<td class="value"><input class="text" type="text" name="h_off" value="<?php echo $form->getValue('h_off')==""? 0 : $form->getValue('h_off'); ?>" maxlength="5" title="<?php echo TZ_HERO_FIGHTING_STRENGTH; ?>" /></td>
<td class="research"></td>
</tr></table>
</td>