You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store CC-CEDICT data as binary in git to preserve CRLF on CI checkout
Bug: hovering a Chinese character showed no translation in either the
editor or reading view (reading view showed only the "?" help cursor).
Cause: the binary esbuild loader (1.0.4) fixed local builds, but
.gitattributes '* text=auto' + autocrlf normalized cedict_ts.u8 to LF in
the git blob. CI checks out the LF blob, so the released bundle still lost
all CR. Because cedict.idx offsets are computed against the original CRLF
text, every lookup landed past its line and returned null — only local
builds (CRLF working copy) worked.
Fix: mark data/cedict_ts.u8 and data/cedict.idx as binary and re-stage so
the blob is byte-exact (9,575,004 bytes, CRLF). CI now builds a working
dict. Adds CHANGELOG.md.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>