fix(metadata): stop sending «…, em , no» captions without city/venue #194

Merged
spark merged 1 commits from task/BIT-193-iptc-caption-empty-location into main 2026-11-06 20:25:41 +00:00
Owner

Fixes #193

Summary

  • Newsroom caption template left em , no when city/venue were empty → Cofina got broken Description/Headline.
  • tidy() now drops those Portuguese stubs; keeps coherent partial captions when only one of city/venue is set.

Test plan

  • vitest packages/metadata
  • After deploy: re-send affected Cofina photos (already delivered files keep the old IPTC until rewritten)
Fixes https://git.bitreport.pt/BitReport.pt/photoreport/issues/193 ## Summary - Newsroom caption template left `em , no` when city/venue were empty → Cofina got broken Description/Headline. - `tidy()` now drops those Portuguese stubs; keeps coherent partial captions when only one of city/venue is set. ## Test plan - [x] `vitest` packages/metadata - [ ] After deploy: re-send affected Cofina photos (already delivered files keep the old IPTC until rewritten)
spark added 1 commit 2026-11-06 20:25:25 +00:00
fix(metadata): stop sending «…, em , no» captions without city/venue
ci / rust (pull_request) Successful in 7m19s
ci / typescript (pull_request) Failing after 10m24s
6e8d81a0cb
The newsroom template left Portuguese prepositions when city and venue were empty, so Cofina got unusable Description/Headline text.
spark merged commit 481d2324eb into main 2026-11-06 20:25:41 +00:00
Sign in to join this conversation.