This commit is contained in:
+4
-1
@@ -26,4 +26,7 @@ if (!function_exists('tr')) {
|
||||
function tr($key) {
|
||||
return $GLOBALS['translations'][$key] ?? $key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Export pour le client (header.php → window.I18N) : pachaConfirm, modules JS, etc.
|
||||
$current_translations_array = $GLOBALS['translations'] ?? [];
|
||||
Reference in New Issue
Block a user