From 4763e6a947e1952b70e73d8183cb1159dda64085 Mon Sep 17 00:00:00 2001 From: "fefe.clochette" Date: Tue, 5 May 2026 14:56:42 +0200 Subject: [PATCH] trad et modal --- family-calendar.php | 19 +- generate_css_prompt.php | 59 + includes/lang/ca.php | 3 + includes/lang/fr.php | 3 + modules/family-calendar/family-calendar.css | 31 + modules/family-calendar/family-calendar.js | 55 +- pachafamily_source.md | 1555 +++++++++++-------- 7 files changed, 1049 insertions(+), 676 deletions(-) create mode 100644 generate_css_prompt.php diff --git a/family-calendar.php b/family-calendar.php index bc50397..c650ae1 100644 --- a/family-calendar.php +++ b/family-calendar.php @@ -60,9 +60,9 @@ require __DIR__ . '/header.php';

-
+
-
+
- + -
+
- +
- - + +
@@ -230,7 +230,10 @@ window.I18N = { 'vac_ete': "", 'leg_school_holidays': "", 'fc_school_year': "", - 'fc_modal_holidays_title': "" + 'fc_modal_holidays_title': "", + 'fc_alert_burn_days': "", + 'fc_alert_burn_jra': "", + 'ANNIV': "" }; diff --git a/generate_css_prompt.php b/generate_css_prompt.php new file mode 100644 index 0000000..ffa1fb1 --- /dev/null +++ b/generate_css_prompt.php @@ -0,0 +1,59 @@ +isDir()) continue; + + $filePath = $file->getPathname(); + $relativePath = str_replace($root, '', $filePath); + $ext = pathinfo($filePath, PATHINFO_EXTENSION); + + // 1. EXTRACTION DES FICHIERS .css + if ($ext === 'css') { + $report .= "/* 📄 FICHIER SOURCE : $relativePath */\n"; + $report .= file_get_contents($filePath) . "\n"; + $report .= str_repeat("-", 40) . "\n\n"; + } + + // 2. EXTRACTION DES BALISES