fix(editor): free paths never reshaped on attach, category zone chosen explicitly

This commit is contained in:
bchanot committed 2026-11-04 22:14:59 +01:00
1 parent f1175bb3a1
commit a69eba569b
13 files changed
+333 -117

No files matched your search

+7 -2
View File
@@ -1394,7 +1394,8 @@ export const en: Dict = {
'editor.views.repair.body_one': '{count} annotation falls outside the new frame of this drawing. The proposed values are computed in that frame. Nothing is applied before "Attach and apply": the drawing and the new values are then applied together, and a single Undo restores them together.',
'editor.views.repair.body_other': '{count} annotations fall outside the new frame of this drawing. The proposed values are computed in that frame. Nothing is applied before "Attach and apply": the drawing and the new values are then applied together, and a single Undo restores them together.',
'editor.views.repair.row': '{kind} "{name}"',
'editor.views.repair.path_blocked': 'This path has no coordinates to correct here. Replace it with a polygon to be able to attach the drawing.',
'editor.views.repair.path_blocked':
"This free path is kept as it is. The drawing cannot be attached while it falls outside the new frame: the editor cannot yet correct the points of a free path.",
'editor.views.repair.refused': 'Nothing was applied: the document check refuses these values.',
'editor.views.repair.more_outside': 'Other elements would also fall outside the new frame: {names}. Nothing was applied. Cancel, fix them, then choose the drawing again.',
'editor.views.repair.not_measurable': 'With this drawing, a view holding annotations would not be measurable. Nothing was applied.',
@@ -1453,7 +1454,11 @@ export const en: Dict = {
'editor.findings.kind.consultation_reason': 'Reason for consultation',
'editor.findings.kind.anamnesis': 'Anamnesis',
'editor.findings.kind.custom': 'Custom',
'editor.findings.required': 'Fill in the name in French and English (and the type of a category).',
'editor.findings.required':
"Fill in the name in French and in English (and the zone and the type of a category).",
'editor.findings.zone': "Zone",
'editor.findings.add_category_no_zone':
"Create a zone first to add a category.",
'editor.findings.create': 'Create',
'editor.findings.cancel': 'Cancel',
'editor.findings.empty': 'No findings zone yet.',
+7 -2
View File
@@ -1425,7 +1425,8 @@ export const fr: Dict = {
'editor.views.repair.body_one': "{count} annotation sort du nouveau cadre de cette illustration. Les valeurs proposées sont calculées dans ce cadre. Rien n'est appliqué avant « Attacher et appliquer » : l'illustration et les nouvelles valeurs sont alors appliquées ensemble, et un seul Annuler les restaure ensemble.",
'editor.views.repair.body_other': "{count} annotations sortent du nouveau cadre de cette illustration. Les valeurs proposées sont calculées dans ce cadre. Rien n'est appliqué avant « Attacher et appliquer » : l'illustration et les nouvelles valeurs sont alors appliquées ensemble, et un seul Annuler les restaure ensemble.",
'editor.views.repair.row': '{kind} « {name} »',
'editor.views.repair.path_blocked': "Ce tracé n'a pas de coordonnées à corriger ici. Remplacez-le par un polygone pour pouvoir attacher l'illustration.",
'editor.views.repair.path_blocked':
"Ce tracé libre est conservé tel quel. L'illustration ne peut pas être attachée tant qu'il sort du nouveau cadre : l'éditeur ne sait pas encore corriger les points d'un tracé libre.",
'editor.views.repair.refused': "Rien n'a été appliqué : le contrôle du document refuse ces valeurs.",
'editor.views.repair.more_outside': "D'autres éléments sortiraient aussi du nouveau cadre : {names}. Rien n'a été appliqué. Annulez, corrigez-les, puis choisissez de nouveau l'illustration.",
'editor.views.repair.not_measurable': "Avec cette illustration, une vue qui porte des annotations ne serait pas mesurable. Rien n'a été appliqué.",
@@ -1484,7 +1485,11 @@ export const fr: Dict = {
'editor.findings.kind.consultation_reason': 'Motif de consultation',
'editor.findings.kind.anamnesis': 'Anamnèse',
'editor.findings.kind.custom': 'Personnalisée',
'editor.findings.required': "Renseignez le nom en français et en anglais (et le type d'une catégorie).",
'editor.findings.required':
"Renseignez le nom en français et en anglais (et la zone et le type d'une catégorie).",
'editor.findings.zone': "Zone",
'editor.findings.add_category_no_zone':
"Créez d'abord une zone pour ajouter une catégorie.",
'editor.findings.create': 'Créer',
'editor.findings.cancel': 'Annuler',
'editor.findings.empty': "Aucune zone de constats pour l'instant.",