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>Teutons</th>
<th><?php echo TRIBE2; ?></th>
</tr>
<tr>
<td class="details">
<table cellpadding="1" cellspacing="1"><tr>
<td class="ico">
<img src="img/x.gif" class="unit u11" title="Clubswinger" alt="Clubswinger" />
<img src="img/x.gif" class="unit u11" title="<?php echo U11; ?>" alt="<?php echo U11; ?>" />
</td>
<td class="desc">
Clubswinger
</td><td class="value">
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="10" title="Number Clubswinger" />
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U11; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_1" value="<?php echo $form->getValue('f1_1'); ?>" maxlength="2" title="Level Blacksmith Clubswinger" />
<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 U11; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u12" title="Spearman" alt="Spearman" />
<img src="img/x.gif" class="unit u12" title="<?php echo U12; ?>" alt="<?php echo U12; ?>" />
</td>
<td class="desc">
Spearman
</td><td class="value">
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="10" title="Number Spearman" />
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U12; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_2" value="<?php echo $form->getValue('f1_2'); ?>" maxlength="2" title="Level Blacksmith Spearman" />
<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 U12; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u13" title="Axeman" alt="Axeman" />
<img src="img/x.gif" class="unit u13" title="<?php echo U13; ?>" alt="<?php echo U13; ?>" />
</td>
<td class="desc">
Axeman
</td><td class="value">
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="10" title="Number Axeman" />
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U13; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_3" value="<?php echo $form->getValue('f1_3'); ?>" maxlength="2" title="Level Blacksmith Axeman" />
<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 U13; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u14" title="Scout" alt="Scout" />
<img src="img/x.gif" class="unit u14" title="<?php echo U14; ?>" alt="<?php echo U14; ?>" />
</td>
<td class="desc">
Scout
</td><td class="value">
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="10" title="Number Scout" />
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U14; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_4" value="<?php echo $form->getValue('f1_4'); ?>" maxlength="2" title="Level Blacksmith Scout" />
<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 U14; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u15" title="Paladin" alt="Paladin" />
<img src="img/x.gif" class="unit u15" title="<?php echo U15; ?>" alt="<?php echo U15; ?>" />
</td>
<td class="desc">
Paladin
</td><td class="value">
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="10" title="Number Paladin" />
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U15; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_5" value="<?php echo $form->getValue('f1_5'); ?>" maxlength="2" title="Level Blacksmith Paladin" />
<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 U15; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u16" title="Teutonic Knight" alt="Teutonic Knight" />
<img src="img/x.gif" class="unit u16" title="<?php echo U16; ?>" alt="<?php echo U16; ?>" />
</td>
<td class="desc">
Teutonic Knight
</td><td class="value">
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="10" title="Number Teutonic Knight" />
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U16; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_6" value="<?php echo $form->getValue('f1_6'); ?>" maxlength="2" title="Level Blacksmith Teutonic Knight" />
<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 U16; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u17" title="Ram" alt="Ram" />
<img src="img/x.gif" class="unit u17" 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="10" title="Number Ram" />
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="10" 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 u18" title="Catapult" alt="Catapult" />
<img src="img/x.gif" class="unit u18" title="<?php echo U18; ?>" alt="<?php echo U18; ?>" />
</td>
<td class="desc">
Catapult
</td><td class="value">
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="10" title="Number Catapult" />
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="10" title="<?php echo TZ_NUMBER; ?> <?php echo U18; ?>" />
</td>
<td class="research">
<input class="text" type="text" name="f1_8" value="<?php echo $form->getValue('f1_8'); ?>" maxlength="2" title="Level Blacksmith Catapult" />
<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 U18; ?>" />
</td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u19" title="Chief" alt="Chief" />
<img src="img/x.gif" class="unit u19" title="<?php echo U19; ?>" alt="<?php echo U19; ?>" />
</td>
<td class="desc">
Chief
</td><td class="value">
<input class="text" type="text" name="a1_9" value="<?php echo $form->getValue('a1_9'); ?>" maxlength="6" title="Number Chief" />
<input class="text" type="text" name="a1_9" value="<?php echo $form->getValue('a1_9'); ?>" maxlength="6" title="<?php echo TZ_NUMBER; ?> <?php echo U19; ?>" />
</td>
<td class="research"></td></tr><tr>
<td class="ico">
<img src="img/x.gif" class="unit u20" title="Settler" alt="Settler" />
<img src="img/x.gif" class="unit u20" 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>