* scaffold: bump @worldware/msg to ^0.8.1 and add MF1 deps
Pull in format-aware msg 0.8.1 plus @messageformat/icu-messageformat-1
and parser for MF1↔PGS conversion. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* scaffold: add msg-format unit type helpers
Encode/decode MsgFormat via XLIFF unit type (msg:NONE|MF1|MF2) and
resolve inherited format. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* scaffold: stub MF1↔PGS converters with failing tests
Add mf1MessageToPgsExport / pgsImportToMf1Message stubs that return null
so TDD tests fail until Phase 4. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* scaffold: wire format type into export/import paths
Persist resolved format on unit@type, route MF1 through PGS stubs, and
tolerate messageformat options as Map or plain object for ordinals.
Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* implement: MF1 ICU plural/select ↔ XLIFF PGS conversion
Convert via mf1ToMessageData into shared PGS export; reconstruct nested
ICU on import, mapping plural vars to #. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* optimize: MF1-friendly PGS bodies and format cleanup
Emit ICU #/{name} segment text on MF1 export, reuse MsgFormat from
@worldware/msg, clarify resolveMessageFormat args, and DRY import
segment joins. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* validate: add format/MF1 PGS export-import integration tests
Cover helper round-trips and import-command e2e for NONE/MF1/MF2 plus
MF1 plural PGS, and edge cases for malformed MF1. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* document: describe format type and MF1/MF2 PGS in docs
Update README, export/import specs, and project info for unit@type
(msg:*) and MF1 ICU ↔ PGS support. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor: clarify PGS dispatch and export SelectMessage type
Extract pgsExportForFormat, simplify segment text join, and export
SelectMessage for docs/typing consistency. Refs #15.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>