diff --git a/frontend/src/components/PersonCard.jsx b/frontend/src/components/PersonCard.jsx index dd8d9c4..7b3d23f 100644 --- a/frontend/src/components/PersonCard.jsx +++ b/frontend/src/components/PersonCard.jsx @@ -631,7 +631,9 @@ const PersonCard = ({ // : un lieu en arabe ou en hébreu ne retourne pas l'ordre de la ligne (« 1980, الدار البيضاء · 46 ans ») if (born) parts.push(person.birthPlace ? <>{born}, {formatPlace(person.birthPlace)} : born) if (!person.isAlive) parts.push(died || '?') - return parts.length ? parts.reduce((line, part) => <>{line} – {part}) : null + // « – 1995 » passe entier à la ligne : Chrome coupe après un tiret même suivi d'une espace insécable, + // le gluon U+2060 l'en empêche + return parts.length ? parts.reduce((line, part) => <>{line} –{'\u2060\u00a0'}{part}) : null })() const ageLabel = age === null ? null : person.isAlive ? t('{age} ans', { age }) : t('{age} ans au décès', { age }) // Une seule ligne sous le nom : surnom, repères de vie, âge, séparés par un point médian diff --git a/frontend/src/components/ZoomControl.jsx b/frontend/src/components/ZoomControl.jsx index f1f5d93..ad81326 100644 --- a/frontend/src/components/ZoomControl.jsx +++ b/frontend/src/components/ZoomControl.jsx @@ -139,7 +139,7 @@ export default function ZoomControl({ zoomApiRef }) { diff --git a/frontend/src/i18n/en/arbre.js b/frontend/src/i18n/en/arbre.js index 57c7f8e..c9dc540 100644 --- a/frontend/src/i18n/en/arbre.js +++ b/frontend/src/i18n/en/arbre.js @@ -23,7 +23,7 @@ export default { 'Lien': 'Link', // Contrôles - 'Contrôle du zoom': 'Zoom control', + 'Zoomer': 'Zoom in', 'En cours': 'Loading', // Annotations