feat(app): editor Annotations tab, core-decided placement, repair rules

This commit is contained in:
bchanot committed 2026-11-04 13:49:41 +01:00
1 parent 92c595caa1
commit 26097852ff
37 files changed
+5001 -6

No files matched your search

+75
View File
@@ -1434,4 +1434,79 @@ export const en: Dict = {
'editor.findings.empty': 'No findings zone yet.',
'editor.findings.mark_reviewed': 'Mark as reviewed',
'editor.findings.reset_to_confirm': 'Reset to confirm',
'editor.annotations.tools': 'Tools',
'editor.annotations.tool.select': 'Select and move',
'editor.annotations.tool.point': 'Point',
'editor.annotations.tool.zone': 'Zone',
'editor.annotations.tool.link': 'Link to a detail view',
'editor.annotations.undo': 'Undo',
'editor.annotations.redo': 'Redo',
'editor.annotations.tool_hint.select': 'Tool: select and move · Esc cancels a tracing',
'editor.annotations.tool_hint.point': 'Tool: point · click in the drawing to place a point.',
'editor.annotations.tool_hint.zone': 'Tool: zone · click to place the vertices; Enter or « Close the tracing » finishes, Esc cancels.',
'editor.annotations.tool_hint.link': 'Tool: link to a detail view · trace the outline that opens the view; Enter finishes, Esc cancels.',
'editor.annotations.views': 'Views',
'editor.annotations.unmeasured.hint': 'This drawing cannot be measured: add or fix its illustration (tab Views and illustrations) before placing or moving elements.',
'editor.annotations.outside': 'Click inside the drawing.',
'editor.annotations.correction': 'The point does not fit where you clicked. Corrected position proposed: x = {x}, y = {y}.',
'editor.annotations.correction_use': 'Use this position',
'editor.annotations.correction_cancel': 'Cancel',
'editor.annotations.no_category': 'Create an annotation category first (tab General).',
'editor.annotations.no_child_view': 'No detail view opens from this view: create one in the Views and illustrations tab.',
'editor.annotations.add.point': 'Add a point',
'editor.annotations.add.zone': 'Add a zone',
'editor.annotations.add.detail_trigger': 'Add a link',
'editor.annotations.new.point': 'New point',
'editor.annotations.new.zone': 'New zone',
'editor.annotations.new.detail_trigger': 'New link',
'editor.annotations.create': 'Create',
'editor.annotations.create_cancel': 'Cancel',
'editor.annotations.name_fr': 'Name (FR)',
'editor.annotations.name_en': 'Name (EN)',
'editor.annotations.category': 'Category',
'editor.annotations.color': 'Colour',
'editor.annotations.color_hint': 'Leave empty for the category colour, or enter a hexadecimal value (#rrggbb).',
'editor.annotations.laterality': 'Laterality',
'editor.annotations.laterality.unpaired': 'Unpaired',
'editor.annotations.laterality.bilateral': 'Bilateral',
'editor.annotations.laterality.left': 'Left',
'editor.annotations.laterality.right': 'Right',
'editor.annotations.region': 'Vertebral region',
'editor.annotations.zone': 'Findings zone',
'editor.annotations.opens': 'Opened view',
'editor.annotations.none': 'None',
'editor.annotations.required.fields': 'Choose the category and the laterality (and the opened view for a link).',
'editor.annotations.required.names': 'Enter the name in French and in English.',
'editor.annotations.kind.point': 'Point',
'editor.annotations.kind.zone': 'Zone',
'editor.annotations.kind.detail_trigger': 'Link',
'editor.annotations.status.to_confirm': 'To confirm',
'editor.annotations.status.reviewed': 'Reviewed',
'editor.annotations.status.inherited': 'Inherited, not reviewed',
'editor.annotations.mark_reviewed': 'Mark as reviewed',
'editor.annotations.to_confirm': 'Reset to confirm',
'editor.annotations.list': 'Annotations of the view',
'editor.annotations.list_empty': 'No annotation in this view.',
'editor.annotations.selection': 'Selection: {kind} « {name} »',
'editor.annotations.select_hint': 'Select an annotation on the drawing or in the list to see its properties.',
'editor.annotations.properties': 'Annotation properties',
'editor.annotations.tracing': '{count} vertex(es) placed.',
'editor.annotations.trace_close': 'Close the tracing',
'editor.annotations.trace_cancel': 'Cancel the tracing',
'editor.annotations.replace_polygon': 'Replace with a polygon',
'editor.annotations.no_geometry': 'This annotation has no geometry: trace a polygon to give it one.',
'editor.annotations.path': 'This annotation is a free path: its data cannot be edited here.',
'editor.annotations.geometry.circle': 'Position and radius',
'editor.annotations.geometry.polygon': 'Vertices',
'editor.annotations.geometry.cx': 'Centre x',
'editor.annotations.geometry.cy': 'Centre y',
'editor.annotations.geometry.r': 'Radius',
'editor.annotations.geometry.vertex_x': 'x of vertex {n}',
'editor.annotations.geometry.vertex_y': 'y of vertex {n}',
'editor.annotations.geometry.vertices': '{count} vertices',
'editor.annotations.geometry.add_vertex': 'Add a vertex',
'editor.annotations.geometry.unapplied': 'Values not applied: the draft is unchanged.',
'editor.annotations.geometry.unapplied_tag': 'not applied',
'editor.annotations.geometry.revert': 'Back to the saved values',
'editor.annotations.geometry.number': 'Each field must hold a number.',
}
+75
View File
@@ -1465,4 +1465,79 @@ export const fr: Dict = {
'editor.findings.empty': "Aucune zone de constats pour l'instant.",
'editor.findings.mark_reviewed': 'Marquer comme relu',
'editor.findings.reset_to_confirm': 'Remettre à confirmer',
'editor.annotations.tools': 'Outils',
'editor.annotations.tool.select': 'Sélectionner et déplacer',
'editor.annotations.tool.point': 'Point',
'editor.annotations.tool.zone': 'Zone',
'editor.annotations.tool.link': 'Accès à une vue détaillée',
'editor.annotations.undo': 'Annuler',
'editor.annotations.redo': 'Rétablir',
'editor.annotations.tool_hint.select': 'Outil : sélectionner et déplacer · Échap annule un tracé',
'editor.annotations.tool_hint.point': 'Outil : point · cliquez dans le dessin pour placer un point.',
'editor.annotations.tool_hint.zone': 'Outil : zone · cliquez pour poser les sommets ; Entrée ou « Fermer le tracé » termine, Échap annule.',
'editor.annotations.tool_hint.link': 'Outil : accès à une vue détaillée · tracez le contour qui ouvre la vue ; Entrée termine, Échap annule.',
'editor.annotations.views': 'Vues',
'editor.annotations.unmeasured.hint': "Ce dessin n'est pas mesurable : ajoutez ou corrigez son illustration (onglet Vues et illustrations) avant de placer ou de déplacer des éléments.",
'editor.annotations.outside': "Cliquez à l'intérieur du dessin.",
'editor.annotations.correction': "Le point ne tient pas à l'endroit choisi. Position corrigée proposée : x = {x}, y = {y}.",
'editor.annotations.correction_use': 'Utiliser cette position',
'editor.annotations.correction_cancel': 'Annuler',
'editor.annotations.no_category': "Créez d'abord une catégorie d'annotation (onglet Général).",
'editor.annotations.no_child_view': "Aucune vue détaillée ne s'ouvre depuis cette vue : créez-en une dans l'onglet Vues et illustrations.",
'editor.annotations.add.point': 'Ajouter un point',
'editor.annotations.add.zone': 'Ajouter une zone',
'editor.annotations.add.detail_trigger': 'Ajouter un accès',
'editor.annotations.new.point': 'Nouveau point',
'editor.annotations.new.zone': 'Nouvelle zone',
'editor.annotations.new.detail_trigger': 'Nouvel accès',
'editor.annotations.create': 'Créer',
'editor.annotations.create_cancel': 'Annuler',
'editor.annotations.name_fr': 'Nom (FR)',
'editor.annotations.name_en': 'Nom (EN)',
'editor.annotations.category': 'Catégorie',
'editor.annotations.color': 'Couleur',
'editor.annotations.color_hint': 'Laissez vide pour la couleur de la catégorie, ou indiquez une valeur hexadécimale (#rrggbb).',
'editor.annotations.laterality': 'Latéralité',
'editor.annotations.laterality.unpaired': 'Non latéralisée',
'editor.annotations.laterality.bilateral': 'Bilatérale',
'editor.annotations.laterality.left': 'Gauche',
'editor.annotations.laterality.right': 'Droite',
'editor.annotations.region': 'Région vertébrale',
'editor.annotations.zone': 'Zone de constats',
'editor.annotations.opens': 'Vue ouverte',
'editor.annotations.none': 'Aucune',
'editor.annotations.required.fields': 'Choisissez la catégorie et la latéralité (et la vue ouverte pour un accès).',
'editor.annotations.required.names': 'Renseignez le nom en français et en anglais.',
'editor.annotations.kind.point': 'Point',
'editor.annotations.kind.zone': 'Zone',
'editor.annotations.kind.detail_trigger': 'Accès',
'editor.annotations.status.to_confirm': 'À confirmer',
'editor.annotations.status.reviewed': 'Relu',
'editor.annotations.status.inherited': 'Hérité, non relu',
'editor.annotations.mark_reviewed': 'Marquer comme relu',
'editor.annotations.to_confirm': 'Remettre à confirmer',
'editor.annotations.list': 'Annotations de la vue',
'editor.annotations.list_empty': 'Aucune annotation dans cette vue.',
'editor.annotations.selection': 'Sélection : {kind} « {name} »',
'editor.annotations.select_hint': 'Sélectionnez une annotation sur le dessin ou dans la liste pour voir ses propriétés.',
'editor.annotations.properties': "Propriétés de l'annotation",
'editor.annotations.tracing': '{count} sommet(s) posé(s).',
'editor.annotations.trace_close': 'Fermer le tracé',
'editor.annotations.trace_cancel': 'Annuler le tracé',
'editor.annotations.replace_polygon': 'Remplacer par un polygone',
'editor.annotations.no_geometry': "Cette annotation n'a pas de géométrie : tracez un polygone pour lui en donner une.",
'editor.annotations.path': 'Cette annotation est un tracé libre (path) : ses données ne se modifient pas ici.',
'editor.annotations.geometry.circle': 'Position et rayon',
'editor.annotations.geometry.polygon': 'Sommets',
'editor.annotations.geometry.cx': 'Centre x',
'editor.annotations.geometry.cy': 'Centre y',
'editor.annotations.geometry.r': 'Rayon',
'editor.annotations.geometry.vertex_x': 'x du sommet {n}',
'editor.annotations.geometry.vertex_y': 'y du sommet {n}',
'editor.annotations.geometry.vertices': '{count} sommets',
'editor.annotations.geometry.add_vertex': 'Ajouter un sommet',
'editor.annotations.geometry.unapplied': 'Valeurs non appliquées : le brouillon est inchangé.',
'editor.annotations.geometry.unapplied_tag': 'non appliqué',
'editor.annotations.geometry.revert': 'Revenir aux valeurs enregistrées',
'editor.annotations.geometry.number': 'Chaque champ doit contenir un nombre.',
}