Patrick Gaskin
Patrick Gaskin
Notes about `.kobo/custom-dict` handling: - It must match the glob `dicthtml*` or it will be ignored. - If the name is in the format `dicthtml-XXX.zip` where `XXX` is a valid...
Notes about `.kobo/dict` handling: - Dictionary naming follows the same rules, but without the ` (Custom)` part. - Adding additional dictionaries works fine here just like before. - Extracted dictionaries...
Notes about word matching: - The non-Japanese matching rules are identical based on a quick look at the code. - I haven't looked at the Japanese rules (I didn't do...
Notes about dictzip v3 vs v2: - There is a new optional `prefix_exceptions` file, presumably as a better way to handle variants with different prefixes (dictutil currently works around this...
Notes about built-in dictionaries: - As mentioned in the release notes, there are 4 new built-in dictionaries. - `dicthtml-en-ja-pgs.zip` has been discontinued and will be automatically deleted on upgrade. I...
Other notes: - The bug with embedded images accessed with `dict:///` is still there, but it isn't really a bit deal. - TODO: I haven't tested this or looked into...
I think I'm pretty much finished with finding the changes. I'll take another look once the new dictionaries are published, but I think I've found everything. I still need to...
From my [post](https://www.mobileread.com/forums/showpost.php?p=4038227&postcount=30) on MobileRead: > prefix_exceptions is somewhat of a misnomer, since it doesn't actually make exceptions for prefixes. Instead, it should be called word_redirects, since it just changes...
The change made in 4.24.15676 appears to make it support multiple prefix exceptions and loop over them when looking up the definition. I will test it later today.
15676 changes: - Prefix exceptions now behave like prefix exceptions rather than word redirects. This is implemented by having `DictionaryParser::htmlForWord` take a second parameter which will override the prefix generation...