mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 05:36:10 +00:00
a79f31746b
The five troop-overview pages hardcoded the English title "Troops (X)", so the in-game manual kept showing e.g. "Troops (Teutons)" even in French, inconsistent with the now-corrected unit/tribe names. Replace the hardcoded titles with the existing TROOPS and TRIBE1-5 constants (consistent with the #186 manual i18n migration) so the title follows the active language, e.g. "Troupes (Germains)" in French. en.php already defines all of these constants as the idempotent fallback, so other languages are unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
1.3 KiB
Smarty
19 lines
1.3 KiB
Smarty
<h1><img class="unit uunits" src="img/x.gif" alt="" title="" /> <?php echo TROOPS; ?> (<?php echo TRIBE3; ?>)</h1>
|
|
<ul>
|
|
<li><a href="manual.php?typ=1&s=21"><?php echo U21; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=22"><?php echo U22; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=23"><?php echo U23; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=24"><?php echo U24; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=25"><?php echo U25; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=26"><?php echo U26; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=27"><?php echo U17; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=28"><?php echo U28; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=29"><?php echo U29; ?></a></li>
|
|
<li><a href="manual.php?typ=1&s=30"><?php echo U10; ?></a></li>
|
|
</ul>
|
|
<map id="nav" name="nav">
|
|
<area href="manual.php?typ=2&s=2" title="<?php echo BACK; ?>" coords="0,0,45,18" shape="rect" alt="" />
|
|
<area href="manual.php?s=1" title="<?php echo OVERVIEW; ?>" coords="46,0,70,18" shape="rect" alt="" />
|
|
<area href="<?php echo NEW_FUNCTIONS_MANUAL_NATURENATARS ? "manual.php?typ=2&s=4" : "manual.php?typ=3&s=1"; ?>" title="forward" coords="71,0,116,18" shape="rect" alt="" />
|
|
</map>
|
|
<img usemap="#nav" src="img/x.gif" class="navi" alt="" /> |