feat: phase 2 — am web : dashboard web local + API JSON (contrats --json, 127.0.0.1, tiny_http, frontend embarqué) (closes #54)
release / linux (push) Successful in 14m16s
release / windows (push) Canceled after 0s
release / macos (push) Canceled after 0s

This commit is contained in:
2026-08-18 16:40:15 -04:00
parent 7f4d74f811
commit fa51cdb339
20 changed files with 1392 additions and 40 deletions
+47
View File
@@ -294,6 +294,53 @@ pub const CATALOG: &[(&str, &str)] = &[
("'theme ocean', 'theme dracula'… la palette du shell am, des tableaux et de cette page change instantanément.", "'theme ocean', 'theme dracula'… the palette of the am shell, the tables and this page changes instantly."),
("doctor répare", "doctor repairs"),
("'am doctor --fix' vérifie l'environnement et corrige les problèmes courants (dossiers manquants, état corrompu…).", "'am doctor --fix' checks the environment and fixes common problems (missing folders, corrupted state…)."),
// ---- web (issue #54) ---------------------------------------------------
("am web — {} (Ctrl-C pour arrêter)", "am web — {} (Ctrl-C to stop)"),
("ouverture du navigateur…", "opening the browser…"),
("Vue d'ensemble", "Overview"),
("Statistiques", "Statistics"),
("Événements", "Events"),
("Projets", "Projects"),
("Agents installés", "Installed agents"),
("En cours", "Running"),
("Sessions (7 j)", "Sessions (7d)"),
("Événements (24 h)", "Events (24h)"),
("Top agents — sessions (7 j)", "Top agents — sessions (7d)"),
("Activité — sessions par jour (14 j)", "Activity — sessions per day (14d)"),
("Activité récente", "Recent activity"),
("Sessions en cours", "Running sessions"),
("Statistiques par agent — période 30 j", "Per-agent statistics — last 30 days"),
("Session", "Session"),
("Agent", "Agent"),
("Projet", "Project"),
("Statut", "Status"),
("Durée", "Duration"),
("Heure", "Time"),
("Type", "Type"),
("Détail", "Details"),
("Dernière activité", "Last activity"),
("Journal d'événements — aujourd'hui", "Event journal — today"),
("Dernière mise à jour", "Last updated"),
("Filtrer par agent, projet ou id…", "Filter by agent, project or id…"),
("Aucune session ne correspond au filtre", "No sessions match the filter"),
("Aucune session en cours", "No running sessions"),
("Aucun événement", "No events"),
("Aucune activité enregistrée", "No activity recorded yet"),
("Aucun projet suivi", "No tracked projects"),
("Actualiser", "Refresh"),
("serveur local", "local server"),
("Temps total", "Total time"),
("Projets suivis", "Tracked projects"),
("Terminée", "Finished"),
("Échec", "Failed"),
("Interrompue", "Interrupted"),
("chargement…", "loading…"),
("erreur de chargement", "load error"),
("Lancements", "Launches"),
("Durée moyenne", "Avg duration"),
("Échecs", "Failures"),
("Démarrée", "Started"),
("Fin", "End"),
];
/// Look up the English translation of a French message. Returns None when the