feat(app): export and import through @faunosteo/pdf — snapshot, archived branding and labels, browser rasterizer, imported archive kept in session, explicit rebase with messages; legacy PDF modules removed
This commit is contained in:
1 parent
20dafc0b00
commit
9bd5173a9c
43 files changed
+1492
-1989
No files matched your search
+15
-19
@@ -32,6 +32,21 @@ export const en: Dict = {
|
||||
'This PDF uses format v{version}, which this version of the application cannot read (accepted formats: v2 and v3).',
|
||||
'home.import.migrated':
|
||||
'Report imported from an older format. Findings not found in the current sheet: {count} (kept with their labels).',
|
||||
'home.import.archive_ok':
|
||||
'Faunosteo archive imported: report and the original sheet snapshot kept.',
|
||||
'home.import.snapshot_rejected':
|
||||
'Report recovered, but the original sheet snapshot was rejected ({reason}): this archive cannot be reproduced as is.',
|
||||
'home.import.snapshot_reason.unsupported_envelope':
|
||||
'archive from a newer version',
|
||||
'home.import.snapshot_reason.schema': 'invalid content',
|
||||
'home.import.snapshot_reason.caps': 'size or complexity over the limits',
|
||||
'home.import.snapshot_reason.integrity': 'inconsistent sheet',
|
||||
'home.import.snapshot_reason.sheet_mismatch':
|
||||
"sheet differs from the report's",
|
||||
'home.import.rebased':
|
||||
"Report opened on the current sheet, which differs from the archive's. Items not found: {count} (kept with their labels).",
|
||||
'home.import.error_attachment_stripped':
|
||||
'This Faunosteo PDF lost its embedded data (attachment removed by a viewer or an optimiser). Use the original file.',
|
||||
'home.no_sheet.title': 'No anatomical sheet',
|
||||
'home.no_sheet.description':
|
||||
'This build of the application carries no anatomical sheet: no report can be created or imported.',
|
||||
@@ -150,25 +165,6 @@ export const en: Dict = {
|
||||
'severity.moderate': 'moderate',
|
||||
'severity.severe': 'severe',
|
||||
|
||||
'pdf.eyebrow.observation': 'OBSERVATION',
|
||||
'pdf.eyebrow.synthesis': 'SYNTHESIS',
|
||||
'pdf.title.conclusion': 'Conclusion',
|
||||
'pdf.section.zones': 'ZONES',
|
||||
'pdf.section.findings_prefix': 'FINDINGS — ',
|
||||
'pdf.section.free_findings': 'FREE FINDINGS',
|
||||
'pdf.section.severity': 'SEVERITY',
|
||||
'pdf.section.comment': 'COMMENT',
|
||||
'pdf.section.conclusion': 'CONCLUSION',
|
||||
'pdf.section.recommendations': 'RECOMMENDATIONS',
|
||||
'pdf.section.next_appointment': 'NEXT APPOINTMENT',
|
||||
'pdf.view.general': 'GENERAL VIEW',
|
||||
'pdf.view.detail_prefix': 'DETAIL VIEW — ',
|
||||
'pdf.empty': '—',
|
||||
'pdf.owner_prefix': 'Owner: ',
|
||||
'pdf.siret_prefix': 'SIRET ',
|
||||
'pdf.title.suffix.bilan': 'Osteo report — ',
|
||||
'pdf.subject': 'Animal osteopathic report',
|
||||
|
||||
'lang.group_label': 'Language',
|
||||
'lang.switch_to_fr': 'Passer en français',
|
||||
'lang.switch_to_en': 'Switch to English',
|
||||
|
||||
+15
-20
@@ -34,6 +34,21 @@ export const fr: Dict = {
|
||||
"Ce PDF est au format v{version}, que cette version de l'application ne sait pas lire (formats acceptés : v2 et v3).",
|
||||
'home.import.migrated':
|
||||
'Bilan importé depuis un ancien format. Constats non retrouvés dans la fiche actuelle : {count} (conservés avec leurs libellés).',
|
||||
'home.import.archive_ok':
|
||||
"Archive Faunosteo importée : bilan et instantané de la fiche d'origine conservés.",
|
||||
'home.import.snapshot_rejected':
|
||||
"Bilan récupéré, mais l'instantané de la fiche d'origine a été rejeté ({reason}) : cette archive ne pourra pas être reproduite telle quelle.",
|
||||
'home.import.snapshot_reason.unsupported_envelope':
|
||||
"archive d'une version plus récente",
|
||||
'home.import.snapshot_reason.schema': 'contenu invalide',
|
||||
'home.import.snapshot_reason.caps': 'taille ou complexité excessive',
|
||||
'home.import.snapshot_reason.integrity': 'fiche incohérente',
|
||||
'home.import.snapshot_reason.sheet_mismatch':
|
||||
'fiche différente de celle du bilan',
|
||||
'home.import.rebased':
|
||||
"Bilan ouvert sur la fiche actuelle, différente de celle de l'archive. Éléments non retrouvés : {count} (conservés avec leurs libellés).",
|
||||
'home.import.error_attachment_stripped':
|
||||
"Ce PDF Faunosteo a perdu ses données embarquées (pièce jointe supprimée par un lecteur ou un optimiseur). Utilisez le fichier d'origine.",
|
||||
'home.no_sheet.title': 'Aucune fiche anatomique',
|
||||
'home.no_sheet.description':
|
||||
"Cette version de l'application n'embarque aucune fiche anatomique : aucun bilan ne peut être créé ni importé.",
|
||||
@@ -165,26 +180,6 @@ export const fr: Dict = {
|
||||
'severity.moderate': 'modérée',
|
||||
'severity.severe': 'sévère',
|
||||
|
||||
// pdf
|
||||
'pdf.eyebrow.observation': 'OBSERVATION',
|
||||
'pdf.eyebrow.synthesis': 'SYNTHÈSE',
|
||||
'pdf.title.conclusion': 'Conclusion',
|
||||
'pdf.section.zones': 'ZONES',
|
||||
'pdf.section.findings_prefix': 'CONSTATS — ',
|
||||
'pdf.section.free_findings': 'CONSTATS LIBRES',
|
||||
'pdf.section.severity': 'SÉVÉRITÉ',
|
||||
'pdf.section.comment': 'COMMENTAIRE',
|
||||
'pdf.section.conclusion': 'CONCLUSION',
|
||||
'pdf.section.recommendations': 'RECOMMANDATIONS',
|
||||
'pdf.section.next_appointment': 'PROCHAIN RENDEZ-VOUS',
|
||||
'pdf.view.general': 'VUE GÉNÉRALE',
|
||||
'pdf.view.detail_prefix': 'VUE DÉTAIL — ',
|
||||
'pdf.empty': '—',
|
||||
'pdf.owner_prefix': 'Propriétaire : ',
|
||||
'pdf.siret_prefix': 'SIRET ',
|
||||
'pdf.title.suffix.bilan': 'Bilan ostéo — ',
|
||||
'pdf.subject': "Bilan d'ostéopathie animalière",
|
||||
|
||||
// language switcher
|
||||
'lang.group_label': 'Langue',
|
||||
'lang.switch_to_fr': 'Passer en français',
|
||||
|
||||
Reference in new issue
Block a user