This commit is contained in:
greeneclipse committed 2026-10-14 18:47:00 +02:00
1 parent 7537a41955
commit ff6c2df618
14 files changed
+767 -349

No files matched your search

+13
View File
@@ -217,3 +217,16 @@ go run ./cmd/migrator -mysql "$MIGRATE_MYSQL_DSN" -postgres "$DATABASE_URL" -dry
- [docs/schema-map.md](docs/schema-map.md) — MySQL → Postgres ID maps
- [docs/cutover.md](docs/cutover.md) — production cutover runbook
- [docs/ops-runtime.md](docs/ops-runtime.md) — SMTP, sessions, Woo encryption
## Offline category prompt translations and A1 cleanup
Run `npm run migrate`, then `npm run seed:category-prompts:i18n -- -dry-run`
for a preview or `npm run seed:category-prompts:i18n` to apply. This uses
pretranslated local resources for all 25 content languages, **no OPENAI_API_KEY
and no external translation service**. New default categories reuse translations
from the shared DB cache; custom company prompts are preserved. The same seed
rewrites repeated benefit instructions in existing A1 Slovenija prompts
and structured descriptions without dropping sections. Optional standalone A1 command:
`npm run cleanup:a1:prompts -- -apply`. Future A1 seed/WordPress imports now
normalize duplicates on ingest. See `docs/category-prompt-translations.md`.