feat(app): editor Vérification tab and review submission

This commit is contained in:
bchanot committed 2026-11-04 13:59:16 +01:00
1 parent 877bad0021
commit 447d0a4272
12 files changed
+987 -4

No files matched your search

+62
View File
@@ -1517,4 +1517,66 @@ export const en: Dict = {
'editor.findings.references': 'Cited references',
'editor.findings.references_none': 'No reference cited.',
'editor.findings.reference_add': 'Cite a reference',
'editor.verification.title': 'Draft check',
'editor.verification.errors': '{count} blocking errors',
'editor.verification.warnings': '{count} warnings',
'editor.verification.to_confirm': '{count} items to confirm',
'editor.verification.none': 'No issues found',
'editor.verification.warnings_title': 'Warnings',
'editor.verification.goto': 'Go to {tab}',
'editor.verification.to_confirm_info': 'Some items are still to confirm: this does not prevent submission.',
'editor.verification.completeness': 'Completeness',
'editor.verification.vet_referrals': '{count} veterinary referral(s)',
'editor.verification.uncited': '{count} finding(s) citing no reference',
'editor.verification.groups': 'Statuses per group',
'editor.verification.group_removed': 'removed',
'editor.verification.status.to_confirm': 'To confirm',
'editor.verification.status.reviewed': 'Reviewed',
'editor.verification.status.inherited': 'Inherited, not reviewed',
'editor.verification.size_title': 'Document size',
'editor.verification.size': '{bytes} B of {cap} B',
'editor.verification.caps_exceeded': 'Limits exceeded: {caps}.',
'editor.verification.cap.views': 'views',
'editor.verification.cap.annotations': 'annotations',
'editor.verification.cap.finding_nodes': 'finding categories and nodes',
'editor.verification.cap.finding_depth': 'finding depth',
'editor.verification.cap.label_length': 'name length',
'editor.verification.cap.drawings': 'drawings',
'editor.verification.cap.drawing_bytes': 'size of a drawing',
'editor.verification.cap.drawings_total_bytes': 'total size of the drawings',
'editor.verification.cap.document_bytes': 'document size',
'editor.verification.note_hint': '1 to {max} characters.',
'editor.verification.note': 'Submission note (required)',
'editor.verification.submit_title': 'Submission',
'editor.verification.submit': 'Submit for review',
'editor.verification.hint.errors': 'Fix the {count} blocking errors to submit.',
'editor.verification.hint.unsaved': 'Save the draft before submitting it.',
'editor.verification.hint.note': 'Enter the submission note to submit.',
'editor.verification.issue.unknown': 'This item breaks a rule of the sheet. Fix the item shown.',
'editor.verification.issue.view.main.count': 'The sheet must have exactly one main view.',
'editor.verification.issue.view.id.duplicate': 'Two views have the same id.',
'editor.verification.issue.view.parent.missing': 'The parent of this detail view does not exist.',
'editor.verification.issue.view.parent.cycle': 'The detail views refer to each other in a loop.',
'editor.verification.issue.view.unreachable': 'No link of an annotation opens this detail view.',
'editor.verification.issue.view.asset.missing': 'This view has neither a drawing nor a crop.',
'editor.verification.issue.view.frame.unknown': 'The frame of this view is unknown: no usable crop or drawing viewBox.',
'editor.verification.issue.annotation.id.duplicate': 'Two annotations have the same id.',
'editor.verification.issue.annotation.view.missing': 'This annotation sits on a view that does not exist.',
'editor.verification.issue.annotation.category.missing': 'The category of this annotation does not exist.',
'editor.verification.issue.annotation.opens_view.invalid': 'The view this link opens is not a detail view of its own view.',
'editor.verification.issue.annotation.finding_zone.missing': 'The findings zone of this annotation does not exist.',
'editor.verification.issue.annotation.region.missing': 'The vertebral region of this annotation is not defined.',
'editor.verification.issue.annotation.no_findings': 'This annotation is linked to no findings zone: a click on it will offer nothing.',
'editor.verification.issue.annotation.geometry.missing': 'This annotation has no geometry.',
'editor.verification.issue.annotation.geometry.out_of_frame': 'This annotation is not entirely inside the frame of its view.',
'editor.verification.issue.annotation.geometry.too_small': 'This annotation shows too small on the phone preview.',
'editor.verification.issue.annotation.geometry.interior_too_small': 'The inside of this zone is too narrow to tap on the phone preview.',
'editor.verification.issue.region.code.duplicate': 'Two vertebral regions have the same code.',
'editor.verification.issue.region.count_range.invalid': 'The usual count of this region is outside the stated variation.',
'editor.verification.issue.category.id.duplicate': 'Two annotation categories have the same id.',
'editor.verification.issue.finding_zone.id.duplicate': 'Two findings zones have the same id.',
'editor.verification.issue.finding_zone.unreferenced': 'No annotation points to this findings zone.',
'editor.verification.issue.finding.id.duplicate': 'Two sibling findings have the same id.',
'editor.verification.issue.finding.reference.missing': 'This finding cites a reference that is not declared.',
'editor.verification.issue.reference.id.duplicate': 'Two references have the same id.',
}
+62
View File
@@ -1548,4 +1548,66 @@ export const fr: Dict = {
'editor.findings.references': 'Références citées',
'editor.findings.references_none': 'Aucune référence citée.',
'editor.findings.reference_add': 'Citer une référence',
'editor.verification.title': 'Contrôle du brouillon',
'editor.verification.errors': '{count} erreurs bloquantes',
'editor.verification.warnings': '{count} avertissements',
'editor.verification.to_confirm': '{count} éléments à confirmer',
'editor.verification.none': 'Aucun problème détecté',
'editor.verification.warnings_title': 'Avertissements',
'editor.verification.goto': 'Aller à {tab}',
'editor.verification.to_confirm_info': "Des éléments restent à confirmer : cela n'empêche pas la soumission.",
'editor.verification.completeness': 'Complétude',
'editor.verification.vet_referrals': '{count} renvoi(s) vers un vétérinaire',
'editor.verification.uncited': '{count} constat(s) sans référence citée',
'editor.verification.groups': 'Statuts par groupe',
'editor.verification.group_removed': 'supprimé',
'editor.verification.status.to_confirm': 'À confirmer',
'editor.verification.status.reviewed': 'Relu',
'editor.verification.status.inherited': 'Hérité, non relu',
'editor.verification.size_title': 'Taille du document',
'editor.verification.size': '{bytes} o sur {cap} o',
'editor.verification.caps_exceeded': 'Limites dépassées : {caps}.',
'editor.verification.cap.views': 'vues',
'editor.verification.cap.annotations': 'annotations',
'editor.verification.cap.finding_nodes': 'catégories et nœuds de constats',
'editor.verification.cap.finding_depth': 'profondeur des constats',
'editor.verification.cap.label_length': 'longueur des noms',
'editor.verification.cap.drawings': 'illustrations',
'editor.verification.cap.drawing_bytes': "taille d'une illustration",
'editor.verification.cap.drawings_total_bytes': 'taille totale des illustrations',
'editor.verification.cap.document_bytes': 'taille du document',
'editor.verification.note_hint': '1 à {max} caractères.',
'editor.verification.note': 'Note de soumission (obligatoire)',
'editor.verification.submit_title': 'Soumission',
'editor.verification.submit': 'Soumettre à la revue',
'editor.verification.hint.errors': 'Corrigez les {count} erreurs bloquantes pour soumettre.',
'editor.verification.hint.unsaved': 'Enregistrez le brouillon avant de le soumettre.',
'editor.verification.hint.note': 'Saisissez la note de soumission pour soumettre.',
'editor.verification.issue.unknown': "Ce point ne respecte pas une règle de la fiche. Corrigez l'élément indiqué.",
'editor.verification.issue.view.main.count': 'La fiche doit avoir exactement une vue principale.',
'editor.verification.issue.view.id.duplicate': 'Deux vues ont le même identifiant.',
'editor.verification.issue.view.parent.missing': "Le parent de cette vue détaillée n'existe pas.",
'editor.verification.issue.view.parent.cycle': 'Les vues détaillées se renvoient en boucle.',
'editor.verification.issue.view.unreachable': "Aucun accès d'une annotation n'ouvre cette vue détaillée.",
'editor.verification.issue.view.asset.missing': "Cette vue n'a ni illustration ni cadrage.",
'editor.verification.issue.view.frame.unknown': "Le cadre de cette vue est inconnu : ni cadrage ni viewBox de l'illustration utilisables.",
'editor.verification.issue.annotation.id.duplicate': 'Deux annotations ont le même identifiant.',
'editor.verification.issue.annotation.view.missing': "Cette annotation est placée sur une vue qui n'existe pas.",
'editor.verification.issue.annotation.category.missing': "La catégorie de cette annotation n'existe pas.",
'editor.verification.issue.annotation.opens_view.invalid': "La vue ouverte par cet accès n'est pas une vue détaillée de sa propre vue.",
'editor.verification.issue.annotation.finding_zone.missing': "La zone de constats de cette annotation n'existe pas.",
'editor.verification.issue.annotation.region.missing': "La région vertébrale de cette annotation n'est pas définie.",
'editor.verification.issue.annotation.no_findings': "Cette annotation n'est liée à aucune zone de constats : un clic dessus ne proposera rien.",
'editor.verification.issue.annotation.geometry.missing': "Cette annotation n'a pas de géométrie.",
'editor.verification.issue.annotation.geometry.out_of_frame': "Cette annotation n'est pas entièrement dans le cadre de sa vue.",
'editor.verification.issue.annotation.geometry.too_small': "Cette annotation s'affiche trop petite sur l'aperçu téléphone.",
'editor.verification.issue.annotation.geometry.interior_too_small': "L'intérieur de cette zone est trop étroit pour être touché sur l'aperçu téléphone.",
'editor.verification.issue.region.code.duplicate': 'Deux régions vertébrales ont le même code.',
'editor.verification.issue.region.count_range.invalid': "Le nombre habituel de cette région n'est pas dans la variation indiquée.",
'editor.verification.issue.category.id.duplicate': "Deux catégories d'annotation ont le même identifiant.",
'editor.verification.issue.finding_zone.id.duplicate': 'Deux zones de constats ont le même identifiant.',
'editor.verification.issue.finding_zone.unreferenced': 'Aucune annotation ne pointe vers cette zone de constats.',
'editor.verification.issue.finding.id.duplicate': 'Deux constats voisins ont le même identifiant.',
'editor.verification.issue.finding.reference.missing': "Ce constat cite une référence qui n'est pas déclarée.",
'editor.verification.issue.reference.id.duplicate': 'Deux références ont le même identifiant.',
}