'today', 'lang_yesterday' => 'yesterday', 'lang_yes' => 'Yes', 'lang_no' => 'No', 'global' => 'Global', ]; return $map[$key] ?? $key; } // Additional helpers used by Module public static function translateFileModule(string $module, string $file, string $key, $default = false) { // For tests, pretend no translation exists -> return false so Module falls back to !!name!! or page title fallback return $default; } public static function getCategoryName(?string $id): string { return 'Cat:' . ($id ?? ''); } }