From 63de134e74ff074b37c61ea83005bc990b42d2c8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 16 Oct 2025 05:04:08 +0000 Subject: [PATCH] feat: Add new translations and update UI elements Co-authored-by: maun.aug --- translations/en.json | 21 ++++++++++++++--- translations/fr.json | 21 ++++++++++++++--- view/admin.html.php | 12 +++++----- view/changement.html.php | 32 ++++++++++++------------- view/stats.html.php | 50 ++++++++++++++++++++-------------------- 5 files changed, 83 insertions(+), 53 deletions(-) diff --git a/translations/en.json b/translations/en.json index 18a6b05..77beedc 100644 --- a/translations/en.json +++ b/translations/en.json @@ -73,7 +73,10 @@ "translation_management_desc": "Edit all user interface translations", "email_management": "Email Management", "email_management_btn": "Email Management", - "email_management_desc": "Mailing list and email settings" + "email_management_desc": "Mailing list and email settings", + "security": "Security", + "password_management_btn": "Password Management", + "password_management_desc": "Security and access" }, "admin_aide": { "title": "Machine Help Management", @@ -139,7 +142,9 @@ "price": "Price", "price_paid": "Price paid", "difference": "Difference", - "user_paid": "How much the user paid" + "user_paid": "How much the user paid", + "no_data_available": "No data available", + "no_duplicator_installed": "No duplicator installed" }, "changement": { "title": "Consumable change report", @@ -157,7 +162,15 @@ "change_date": "Change date", "notes": "Notes (optional)", "notes_placeholder": "Add notes about the change...", - "submit_change": "Record change" + "submit_change": "Record change", + "machine_selection": "Machine selection", + "passage_count": "Number of passages", + "passage_count_help": "Total number of copies since last change", + "master_count": "Number of masters", + "master_count_help": "Current number of masters", + "drum_selection": "Drum selection", + "select_drum": "Select a drum", + "drum_help": "ink that was changed" }, "imposition": { "title": "PDF Imposition", @@ -315,6 +328,8 @@ "edit": "Edit", "close": "Close", "back": "Back", + "back_to_home": "Back to home", + "view_stats": "View statistics", "next": "Next", "previous": "Previous", "search": "Search", diff --git a/translations/fr.json b/translations/fr.json index 8f29f50..0dde473 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -73,7 +73,10 @@ "translation_management_desc": "Modifiez toutes les traductions de l'interface utilisateur", "email_management": "Gestion des Emails", "email_management_btn": "Gestion des Emails", - "email_management_desc": "Liste de diffusion et paramètres email" + "email_management_desc": "Liste de diffusion et paramètres email", + "security": "Sécurité", + "password_management_btn": "Gestion des mots de passe", + "password_management_desc": "Sécurité et accès" }, "admin_aide": { "title": "Gestion des aides par machine", @@ -391,7 +394,9 @@ "price": "Prix", "price_paid": "Prix payé", "difference": "Différence", - "user_paid": "Combien l'utilisateur a payé" + "user_paid": "Combien l'utilisateur a payé", + "no_data_available": "Aucune donnée disponible", + "no_duplicator_installed": "Aucun duplicopieur installé" }, "changement": { "title": "Signalement de changement de consommable", @@ -409,7 +414,15 @@ "change_date": "Date du changement", "notes": "Notes (optionnel)", "notes_placeholder": "Ajoutez des notes sur le changement...", - "submit_change": "Enregistrer le changement" + "submit_change": "Enregistrer le changement", + "machine_selection": "Sélection de la machine", + "passage_count": "Nombre de passages", + "passage_count_help": "Nombre total de copies depuis le dernier changement", + "master_count": "Nombre de masters", + "master_count_help": "Nombre de masters actuels", + "drum_selection": "Sélection du tambour", + "select_drum": "Sélectionnez un tambour", + "drum_help": "encre qui a été changé" }, "imposition": { "title": "Imposition de PDF", @@ -551,6 +564,8 @@ "edit": "Modifier", "close": "Fermer", "back": "Retour", + "back_to_home": "Retour à l'accueil", + "view_stats": "Voir les statistiques", "next": "Suivant", "previous": "Précédent", "search": "Rechercher", diff --git a/view/admin.html.php b/view/admin.html.php index 2c68510..480d1e6 100755 --- a/view/admin.html.php +++ b/view/admin.html.php @@ -96,21 +96,21 @@
-

Sécurité

+

- Gestion des mots de passe + - Sécurité et accès +
- Gestion des BDD + - Création, sauvegarde, restauration +
@@ -120,7 +120,7 @@ diff --git a/view/changement.html.php b/view/changement.html.php index 5ce8200..de871af 100755 --- a/view/changement.html.php +++ b/view/changement.html.php @@ -48,14 +48,14 @@
- +
- +
- +
- Nombre total de copies depuis le dernier changement +
@@ -117,7 +117,7 @@
@@ -140,10 +140,10 @@ diff --git a/view/stats.html.php b/view/stats.html.php index 2c5a646..f6ed036 100755 --- a/view/stats.html.php +++ b/view/stats.html.php @@ -41,13 +41,13 @@ - - - - - - - + + + + + + + @@ -71,7 +71,7 @@ '; + echo ''; endif; $iii = 1; ?>
    @@ -105,17 +105,17 @@
Date Feuilles Tirages Moyenne Prix Prix payé Différence
Aucune donnée disponible
' . __('stats.no_data_available') . '
- - - - - - - + + + + + + + - +
Date Feuilles Tirages Moyenne Prix Prix payé Différence
Aucun duplicopieur installé
@@ -129,20 +129,20 @@

- Statistiques par mois +

- - - - - - - + + + + + + + @@ -166,7 +166,7 @@ '; + echo ''; endif; $iii = 1; ?>
Date Feuilles Tirages Moyenne Prix Prix payé Différence
Aucune donnée disponible
' . __('stats.no_data_available') . '