generaltranslation@9.1.0
·
14 commits
to main
since this release
Minor Changes
- #1994
bd961d1Thanks @logflash! - Add Lottie file support and project font syncing.- Support
.lottiefiles as a newLOTTIEfile format. Lottie bundles are binary (zip), so their content is carried base64-encoded end-to-end — including existing translated.lottietargets ongt upload— and skips the UTF-8 encode/decode and text merge paths (newisBinaryFileFormat/BINARY_FILE_FORMATSexports). Lottie translations are processed asynchronously and require thegt stage+gt downloadflow, sogt translatenow exits with an error pointing users there when a project has Lottie files and staging isn't enabled. (As before, enabling staging makesgt translatedownload staged results rather than translating inline.) - Reject
.lottiefiles that use After Effects expressions (executable code): the upload fails and names every offending file, since expression-driven text can't be translated safely. - Add
GT.uploadFontsand afontsconfig option (include/exclude globs) so project fonts are synced to the API before translating formats that need them (including duringgt stage, so async Lottie jobs get the real fonts). Globs resolve from the project root. Font sync is idempotent and non-fatal on failure. - Keep staged lock entries staged until every configured locale has downloaded, and only require
_versionIdforgt downloadwhen an inline GTJSON template is part of the download and config IDs aren't omitted (staged downloads resolve versions fromgt-lock.json, file-only projects never have a_versionId, andomitConfigIdsprojects use the GTJSON's own content-derived version).
- Support