From 9ca290c8ac810182b957741cb31c217678e4e3cf Mon Sep 17 00:00:00 2001 From: Perco Date: Thu, 14 May 2026 10:47:44 +0200 Subject: [PATCH] correction liste de course --- includes/i18n.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/i18n.php b/includes/i18n.php index 49de6c5..40d5382 100644 --- a/includes/i18n.php +++ b/includes/i18n.php @@ -26,4 +26,7 @@ if (!function_exists('tr')) { function tr($key) { return $GLOBALS['translations'][$key] ?? $key; } -} \ No newline at end of file +} + +// Export pour le client (header.php → window.I18N) : pachaConfirm, modules JS, etc. +$current_translations_array = $GLOBALS['translations'] ?? []; \ No newline at end of file