Files
TravianZ Patcher c91ae5e486 feat(l10n): translate manual new-features pages (FR/RO)
Localize the 17 "new features" manual pages (Templates/Manual/1111-1126.tpl
and the 1331.tpl index, typ=11/13) so they render in the player's language
instead of hardcoded English.

- Replace hardcoded page titles, descriptions and nav tooltips with constants.
- The 1331 index reuses the per-page title constants and gains
  MANUAL_NF_ENABLED / MANUAL_NF_DISABLED for the on/off status labels.
- Add 33 constants each to GameEngine/Lang/{en,fr,ro}.php
  (2 status labels + 15 page titles + 16 descriptions).
- en.php uses tz_def() as the English fallback; fr/ro use define().
- Reuse existing constants where they already exist: VACATION_MODE (page 19),
  NEW_FEATURES, FORWARD, BACK, OVERVIEW.

it/zh fall back to English. RO strings pending native review.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 15:45:47 +03:00

10 lines
656 B
Smarty

<h1><img class="unit ugeb" src="img/x.gif" alt="<?php echo MANUAL_NF_T_21; ?>" title="<?php echo MANUAL_NF_T_21; ?>" /> <?php echo MANUAL_NF_T_21; ?></h1>
<div id="t_desc"><?php echo MANUAL_NF_D_21; ?></div>
<map id="nav" name="nav">
<area href="manual.php?typ=11&amp;s=20" title="<?php echo BACK; ?>" coords="0,0,45,18" shape="rect" alt="" />
<area href="manual.php?typ=13&amp;s=31" title="<?php echo NEW_FEATURES; ?>" coords="46,0,70,18" shape="rect" alt="" />
<area href="manual.php?typ=11&amp;s=22" title="<?php echo FORWARD; ?>" coords="71,0,116,18" shape="rect" alt="" />
</map>
<img usemap="#nav" src="img/x.gif" class="navi" alt="" />