feat(app): editor Général, Références and Vertèbres tabs, delete with dependents

This commit is contained in:
bchanot committed 2026-11-04 12:46:55 +01:00
1 parent 6aba9711f0
commit d163b2ce9a
24 files changed
+2239 -12

No files matched your search

+91
View File
@@ -1244,4 +1244,95 @@ export const en: Dict = {
'editor.draft.conflict.reload_unknown_ask': 'Abandon your changes and reload the server version?',
'editor.draft.conflict.keep_ask': 'Replace revision {revision} with your version?',
'editor.draft.conflict.keep_ask_by': 'Replace revision {revision} ({who}, {date}) with your version?',
'editor.action.delete': 'Delete',
'editor.action.remove': 'Remove',
'editor.action.move_up': 'Move up',
'editor.action.move_down': 'Move down',
'editor.field.required': 'This field is required.',
'editor.field.required_names': 'Fill in the name in French and in English.',
'editor.field.integer': 'Enter a whole number.',
'editor.field.choose': 'Choose…',
'editor.refusal.blocked': 'The change was not applied.',
'editor.refusal.recovery': 'First answer the local copy offered at the top of the page.',
'editor.refusal.core.unknown_key': 'This element no longer exists in the draft.',
'editor.refusal.core.duplicate_key': 'An element already has this identifier.',
'editor.refusal.core.invalid_target': 'This change does not apply to this element.',
'editor.refusal.core.id_changed': 'An element\'s identifier or code cannot be changed.',
'editor.refusal.core.invalid_position': 'This position does not exist in the list.',
'editor.refusal.core.too_deep': 'The tree is too deep (8 levels at most).',
'editor.refusal.core.has_dependents': 'Other elements still use this one.',
'editor.refusal.core.other': 'The document check refuses this value ({kind}).',
'editor.element.sheet': 'Sheet',
'editor.element.reference': 'Reference',
'editor.element.region': 'Vertebral region',
'editor.element.category': 'Category',
'editor.element.view': 'View',
'editor.element.annotation': 'Annotation',
'editor.element.zone': 'Finding zone',
'editor.element.finding': 'Finding',
'editor.relation.drawn_in': 'drawn in this view',
'editor.relation.child_view': 'detail view of this view',
'editor.relation.opens': 'opens this view',
'editor.relation.uses_category': 'uses this category',
'editor.relation.links_zone': 'is linked to this finding zone',
'editor.relation.cites': 'cites this reference',
'editor.relation.uses_region': 'uses this vertebral region',
'editor.relation.descendant': 'is part of this element',
'editor.delete.title': 'Delete "{name}"?',
'editor.delete.ask': 'Delete "{name}" from the draft?',
'editor.delete.descendants': 'These elements will be deleted too:',
'editor.delete.blocked': '"{name}" cannot be deleted: the following elements still use it.',
'editor.delete.lookup_failed': 'Could not check what uses this element. Try again.',
'editor.delete.confirm': 'Delete',
'editor.delete.cancel': 'Cancel',
'editor.delete.close': 'Close',
'editor.general.texts': 'Sheet',
'editor.general.name_fr': 'Name (FR)',
'editor.general.name_en': 'Name (EN)',
'editor.general.description_fr': 'Description (FR)',
'editor.general.description_en': 'Description (EN)',
'editor.general.scope_disclaimer_fr': 'Scope and limits (FR)',
'editor.general.scope_disclaimer_en': 'Scope and limits (EN)',
'editor.general.attribution': 'Attribution',
'editor.general.authors': 'Authors',
'editor.general.author_new': 'New author',
'editor.general.author_add': 'Add the author',
'editor.general.author_remove': 'Remove {name}',
'editor.general.license': 'Licence',
'editor.general.notes': 'Notes',
'editor.general.categories': 'Annotation categories',
'editor.general.category_name_fr': 'Category name (FR)',
'editor.general.category_name_en': 'Category name (EN)',
'editor.general.category_color': 'Colour',
'editor.general.category_color_hint': 'Optional, as #rrggbb.',
'editor.general.category_new': 'New category',
'editor.general.category_add': 'Add the category',
'editor.reference.empty': 'No reference yet.',
'editor.reference.type': 'Type',
'editor.reference.citation': 'Citation',
'editor.reference.url': 'Web address (URL)',
'editor.reference.doi': 'DOI',
'editor.reference.new': 'New reference',
'editor.reference.add': 'Add the reference',
'editor.reference.required': 'Choose a type and fill in the citation.',
'editor.reference.type.book': 'Book',
'editor.reference.type.journal': 'Journal article',
'editor.reference.type.standard': 'Standard',
'editor.reference.type.legal': 'Legal text',
'editor.reference.type.web': 'Web page',
'editor.reference.type.manual': 'Manual',
'editor.vertebra.empty': 'No vertebral region yet.',
'editor.vertebra.code': 'Code',
'editor.vertebra.name_fr': 'Name (FR)',
'editor.vertebra.name_en': 'Name (EN)',
'editor.vertebra.count': 'Number of vertebrae',
'editor.vertebra.range': 'Possible range',
'editor.vertebra.range_min': 'Range: minimum',
'editor.vertebra.range_max': 'Range: maximum',
'editor.vertebra.range_apply': 'Apply the range',
'editor.vertebra.range_pair': 'Fill in both bounds of the range, or neither.',
'editor.vertebra.range_number': 'The range bounds are whole numbers.',
'editor.vertebra.new': 'New vertebral region',
'editor.vertebra.add': 'Add the region',
'editor.vertebra.required': 'Fill in the code and the French and English names.',
}
+91
View File
@@ -1275,4 +1275,95 @@ export const fr: Dict = {
'editor.draft.conflict.reload_unknown_ask': 'Abandonner vos modifications et recharger la version du serveur ?',
'editor.draft.conflict.keep_ask': 'Remplacer la révision {revision} par votre version ?',
'editor.draft.conflict.keep_ask_by': 'Remplacer la révision {revision} ({who}, {date}) par votre version ?',
'editor.action.delete': 'Supprimer',
'editor.action.remove': 'Retirer',
'editor.action.move_up': 'Monter',
'editor.action.move_down': 'Descendre',
'editor.field.required': 'Ce champ est obligatoire.',
'editor.field.required_names': 'Renseignez le nom en français et en anglais.',
'editor.field.integer': 'Indiquez un nombre entier.',
'editor.field.choose': 'Choisir…',
'editor.refusal.blocked': 'La modification n\'a pas été appliquée.',
'editor.refusal.recovery': 'Répondez d\'abord à la copie locale proposée en haut de page.',
'editor.refusal.core.unknown_key': 'Cet élément n\'existe plus dans le brouillon.',
'editor.refusal.core.duplicate_key': 'Un élément porte déjà cet identifiant.',
'editor.refusal.core.invalid_target': 'Cette modification ne s\'applique pas à cet élément.',
'editor.refusal.core.id_changed': 'L\'identifiant ou le code d\'un élément ne se modifie pas.',
'editor.refusal.core.invalid_position': 'Cette position n\'existe pas dans la liste.',
'editor.refusal.core.too_deep': 'L\'arbre est trop profond (8 niveaux au plus).',
'editor.refusal.core.has_dependents': 'D\'autres éléments utilisent encore celui-ci.',
'editor.refusal.core.other': 'Le contrôle du document refuse cette valeur ({kind}).',
'editor.element.sheet': 'Fiche',
'editor.element.reference': 'Référence',
'editor.element.region': 'Région vertébrale',
'editor.element.category': 'Catégorie',
'editor.element.view': 'Vue',
'editor.element.annotation': 'Annotation',
'editor.element.zone': 'Zone de constats',
'editor.element.finding': 'Constat',
'editor.relation.drawn_in': 'dessinée dans cette vue',
'editor.relation.child_view': 'vue de détail de cette vue',
'editor.relation.opens': 'ouvre cette vue',
'editor.relation.uses_category': 'utilise cette catégorie',
'editor.relation.links_zone': 'est liée à cette zone de constats',
'editor.relation.cites': 'cite cette référence',
'editor.relation.uses_region': 'utilise cette région vertébrale',
'editor.relation.descendant': 'fait partie de cet élément',
'editor.delete.title': 'Supprimer « {name} » ?',
'editor.delete.ask': 'Supprimer « {name} » du brouillon ?',
'editor.delete.descendants': 'Les éléments suivants seront aussi supprimés :',
'editor.delete.blocked': '« {name} » ne peut pas être supprimé : les éléments suivants l\'utilisent encore.',
'editor.delete.lookup_failed': 'Impossible de vérifier ce qui utilise cet élément. Réessayez.',
'editor.delete.confirm': 'Supprimer',
'editor.delete.cancel': 'Annuler',
'editor.delete.close': 'Fermer',
'editor.general.texts': 'Fiche',
'editor.general.name_fr': 'Nom (FR)',
'editor.general.name_en': 'Nom (EN)',
'editor.general.description_fr': 'Description (FR)',
'editor.general.description_en': 'Description (EN)',
'editor.general.scope_disclaimer_fr': 'Périmètre et limites (FR)',
'editor.general.scope_disclaimer_en': 'Périmètre et limites (EN)',
'editor.general.attribution': 'Attribution',
'editor.general.authors': 'Auteurs',
'editor.general.author_new': 'Nouvel auteur',
'editor.general.author_add': 'Ajouter l\'auteur',
'editor.general.author_remove': 'Retirer {name}',
'editor.general.license': 'Licence',
'editor.general.notes': 'Notes',
'editor.general.categories': 'Catégories d\'annotation',
'editor.general.category_name_fr': 'Nom de la catégorie (FR)',
'editor.general.category_name_en': 'Nom de la catégorie (EN)',
'editor.general.category_color': 'Couleur',
'editor.general.category_color_hint': 'Facultative, au format #rrggbb.',
'editor.general.category_new': 'Nouvelle catégorie',
'editor.general.category_add': 'Ajouter la catégorie',
'editor.reference.empty': 'Aucune référence pour l\'instant.',
'editor.reference.type': 'Type',
'editor.reference.citation': 'Citation',
'editor.reference.url': 'Adresse web (URL)',
'editor.reference.doi': 'DOI',
'editor.reference.new': 'Nouvelle référence',
'editor.reference.add': 'Ajouter la référence',
'editor.reference.required': 'Choisissez un type et renseignez la citation.',
'editor.reference.type.book': 'Livre',
'editor.reference.type.journal': 'Article de revue',
'editor.reference.type.standard': 'Norme',
'editor.reference.type.legal': 'Texte juridique',
'editor.reference.type.web': 'Site web',
'editor.reference.type.manual': 'Manuel',
'editor.vertebra.empty': 'Aucune région vertébrale pour l\'instant.',
'editor.vertebra.code': 'Code',
'editor.vertebra.name_fr': 'Nom (FR)',
'editor.vertebra.name_en': 'Nom (EN)',
'editor.vertebra.count': 'Nombre de vertèbres',
'editor.vertebra.range': 'Plage possible',
'editor.vertebra.range_min': 'Plage : minimum',
'editor.vertebra.range_max': 'Plage : maximum',
'editor.vertebra.range_apply': 'Appliquer la plage',
'editor.vertebra.range_pair': 'Indiquez les deux bornes de la plage, ou aucune.',
'editor.vertebra.range_number': 'Les bornes de la plage sont des nombres entiers.',
'editor.vertebra.new': 'Nouvelle région vertébrale',
'editor.vertebra.add': 'Ajouter la région',
'editor.vertebra.required': 'Renseignez le code et les noms français et anglais.',
}