From feb2f158ddfaa1fee811e6a1840b9929fdadfbcb Mon Sep 17 00:00:00 2001 From: "fefe.clochette" Date: Mon, 13 Apr 2026 11:06:08 +0200 Subject: [PATCH] trad --- budget.php | 22 +- family-calendar.php | 127 +++-- gift-list.php | 141 +++--- header.php | 34 +- holidays.php | 10 +- includes/lang/ca.php | 542 ++++++++++++++++++--- includes/lang/fr.php | 541 +++++++++++++++++--- index.php | 45 +- login.php | 17 +- modules/budget/views/budget_prev.php | 213 ++++---- modules/budget/views/epargne.php | 126 +++-- modules/budget/views/recap.php | 118 +++-- modules/budget/views/suivi.php | 161 +++--- modules/family-calendar/family-calendar.js | 150 +++--- modules/holidays/holidays.css | 8 + modules/holidays/holidays.js | 67 ++- modules/holidays/views/detail.php | 199 ++++---- modules/holidays/views/list.php | 78 +-- modules/holidays/views/modal.php | 56 +-- 19 files changed, 1738 insertions(+), 917 deletions(-) diff --git a/budget.php b/budget.php index 7c30ee9..7bee402 100644 --- a/budget.php +++ b/budget.php @@ -1,12 +1,13 @@
-

Gestion du Budget

+

@@ -43,7 +44,6 @@ require __DIR__ . '/header.php';
"; - echo "

Oups ! Fichier introuvable.

"; - echo "

Vérifiez que le fichier views/" . htmlspecialchars($tab) . ".php existe bien.

"; + echo "

" . tr('budget_err_file_not_found') . "

"; + echo "

" . sprintf(tr('budget_err_file_detail'), htmlspecialchars($tab)) . "

"; echo ""; } } else { - echo "

Page non autorisée.

"; + echo "

" . tr('budget_err_not_authorized') . "

"; } ?>
diff --git a/family-calendar.php b/family-calendar.php index 5246cfd..ea6554d 100644 --- a/family-calendar.php +++ b/family-calendar.php @@ -6,9 +6,9 @@ error_reporting(E_ALL); require __DIR__ . '/includes/auth.php'; require_login(); require __DIR__ . '/includes/db.php'; +require_once __DIR__ . '/includes/i18n.php'; - -$pageTitle = "PachaFamily - Family Calendar"; +$pageTitle = tr('fc_page_title'); $activePage = "family-calendar"; $bodyClass = "pf-family-calendar"; $pageCss = "/modules/family-calendar/family-calendar.css"; @@ -16,20 +16,18 @@ $pageCss = "/modules/family-calendar/family-calendar.css"; require __DIR__ . '/header.php'; ?> - -
-

Family Calendar

+

@@ -37,20 +35,19 @@ require __DIR__ . '/header.php';
- - + + + +

- + 📝

-
+
@@ -255,30 +260,30 @@ $pctSaved = $cost > 0 ? min(100 - $pctPaid, ($saved / $cost) * 100) : 0;
-
-

📍

-
+

📍

+ +
-
- +
- - + +
-
+