This commit is contained in:
2026-04-08 18:25:51 +00:00
parent 0913439138
commit 1bfe961e84
4 changed files with 46 additions and 47 deletions

View File

@@ -87046,6 +87046,48 @@ function changer_langue_connexion()
}
/* ----------------------------------------------------------
Textes par slide (9 entrées, FR + EN)
Synchronisés avec le carrousel via updateCaption()
---------------------------------------------------------- */
var SLIDE_TEXTS = [
{ fr: "Gérez vos structures de santé en toute simplicité",
en: "Manage your healthcare facilities with ease" },
{ fr: "Des outils puissants pour vos équipes médicales",
en: "Powerful tools for your medical teams" },
{ fr: "Suivi en temps réel de vos indicateurs de performance",
en: "Real-time monitoring of your key performance indicators" },
{ fr: "La digitalisation au service de la santé",
en: "Digitalization at the service of healthcare" },
{ fr: "Collaborez efficacement entre établissements",
en: "Collaborate effectively across facilities" },
{ fr: "Pilotez votre activité depuis un tableau de bord unifié",
en: "Drive your activity from a unified dashboard" },
{ fr: "Sécurisez les données de vos patients",
en: "Keep your patients' data safe and secure" },
{ fr: "Optimisez la gestion de vos ressources humaines",
en: "Streamline your human resources management" },
{ fr: "L'ERP SaaS taillé pour la santé en Afrique",
en: "The SaaS ERP built for healthcare in Africa" }
];
function getCaption(index) {
codeLangue = $("#langue").val();
var entry = SLIDE_TEXTS[index] || {};
return (codeLangue === 'en_US') ? (entry.en || '') : (entry.fr || '');
}
/* Fondu sortant → swap texte → fondu entrant */
function updateCaption(index) {
var el = document.getElementById('slideCaption');
if (!el) return;
el.classList.add('animating');
setTimeout(function () {
el.textContent = getCaption(index);
el.classList.remove('animating');
}, 200);
}
function ctrlkeypress_liste_clients(ev)
{