chore: rename project from osteo-report to zoosteo
Remote moved to git.bchanot.fr/bchanot/zoosteo.git; brand strings
and production URL updated to match new identity.
- package.json: name → zoosteo
- src/config/env.ts: AppConfig DEFAULTS → "Zoosteo"
- docker/entrypoint.sh: APP_*_NAME fallbacks → "Zoosteo"
- src/i18n/{fr,en}.ts: import error message + PDF title prefix
- src/pdf/attachment.ts: embedded description metadata "state v2"
- index.html: <title> fallback
- scripts/scaffold-species.mjs: console banner
- tests/unit/components.Brand.test.tsx: regex
- README.md, CLAUDE.md, CHANGELOG.md, docs/ADDING-A-SPECIES.md:
brand headings + intro lines
- DEPLOY.md: env defaults table + osteo.example.com → zoosteo.fr
(clone URL, paths, certbot, curl, container name references)
PDF attachment FILENAME 'osteo-report.json' and the startsWith
contract in src/pdf/attachment.ts:35,40 are preserved — changing
them would break PDF import for every PDF already exported by the
app. docs/superpowers/** and .claude/audits/** left unchanged as
historical records.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
fad3cb178a
commit
7dd4f633f8
14 files changed
+57
-57
No files matched your search
+3
-3
@@ -21,9 +21,9 @@ declare global {
|
||||
}
|
||||
|
||||
const DEFAULTS: AppConfig = {
|
||||
siteName: 'Osteo Report',
|
||||
brandName: 'Osteo Report',
|
||||
footerName: 'Osteo Report',
|
||||
siteName: 'Zoosteo',
|
||||
brandName: 'Zoosteo',
|
||||
footerName: 'Zoosteo',
|
||||
tagline: "Bilans d'ostéopathie animalière",
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ export const en: Dict = {
|
||||
'home.import.error_generic': 'Failed to read the PDF.',
|
||||
'home.import.error_invalid_pdf': 'This file is not a readable PDF.',
|
||||
'home.import.error_no_attachment':
|
||||
'This PDF was not generated by Osteo Report (no data detected).',
|
||||
'This PDF was not generated by Zoosteo (no data detected).',
|
||||
'home.import.error_incompatible_version':
|
||||
'This PDF uses format v{version}, incompatible with the current version (v2). Re-export the report from a recent version of the app.',
|
||||
|
||||
@@ -133,7 +133,7 @@ export const en: Dict = {
|
||||
'pdf.owner_prefix': 'Owner: ',
|
||||
'pdf.siret_prefix': 'SIRET ',
|
||||
'pdf.export_date_prefix': 'Exported on ',
|
||||
'pdf.title.suffix.bilan': 'Osteo report — ',
|
||||
'pdf.title.suffix.bilan': 'Zoosteo — ',
|
||||
'pdf.subject': 'Animal osteopathic report',
|
||||
|
||||
'lang.switch_to_fr': 'Passer en français',
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ export const fr: Dict = {
|
||||
'home.import.error_invalid_pdf':
|
||||
"Ce fichier n'est pas un PDF lisible.",
|
||||
'home.import.error_no_attachment':
|
||||
"Ce PDF n'a pas été généré par Osteo Report (pas de données détectées).",
|
||||
"Ce PDF n'a pas été généré par Zoosteo (pas de données détectées).",
|
||||
'home.import.error_incompatible_version':
|
||||
"Ce PDF est au format v{version}, incompatible avec la version actuelle (v2). Réexportez le bilan depuis une version récente de l'application.",
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export async function attachReportJson(pdfDoc: PDFDocument, report: Report): Pro
|
||||
const bytes = new TextEncoder().encode(JSON.stringify(report, null, 2))
|
||||
await pdfDoc.attach(bytes, FILENAME, {
|
||||
mimeType: 'application/json',
|
||||
description: 'Osteo Report state v2',
|
||||
description: 'Zoosteo state v2',
|
||||
creationDate: new Date(),
|
||||
modificationDate: new Date(),
|
||||
afRelationship: AFRelationship.Data,
|
||||
|
||||
Reference in new issue
Block a user