fix: blank in-game help + untranslated profile after l10n (#189) (#191)

This commit is contained in:
Ferywir
2026-06-09 16:48:16 +02:00
committed by GitHub
parent dad574be1a
commit e498563555
11 changed files with 141 additions and 28 deletions
+8
View File
@@ -15,6 +15,14 @@
#################################################################################
include_once("GameEngine/config.php");
// Load the interface language for the manual templates. Since #186 these
// templates use translation constants (OVERVIEW, TRIBE1, ...) instead of
// hardcoded English; without a language file every constant would be
// undefined and PHP 8.3 would fatal, leaving the in-game help iframe blank.
// en.php is loaded last as an idempotent fallback (tz_def) to fill any key
// missing from the active language.
include_once("GameEngine/Lang/" . LANG . ".php");
include_once("GameEngine/Lang/en.php");
?>
<html>