LinguaCafe icon indicating copy to clipboard operation
LinguaCafe copied to clipboard

Furigana of phrases don't get updated

Open franzmondlichtmann opened this issue 1 year ago • 1 comments

When I save both words of a two-word phrase and also save the phrase, the furigana shows up. When I now change the reading of the phrase to がくしゅうしゃ, the furigana don't get updated for the phrase. がくしゅうしゃ means learner. がくしゅうしゃ consists of がくしゅう and しゃ, in this combination. Standing alone the pronunciation is がくしゅう and もの. But together the pronunciation changes dramatically.

Linguacafe v0.11.2, using Firefox on Archlinux

franzmondlichtmann avatar Apr 28 '24 12:04 franzmondlichtmann

Oh. I haven't even thought about that possibility. Thank you for the bug report!

Unfortunately, I don't think that's possible to fix currently, because I do not treat phrases as a different html element. This is the reason why phrases also get separated at the end of a line it if happens to be displayed there.

I will have to significantly rewrite the interactive text part to fix this, it won't be fixed nowadays. I think the best I can do is hide the furigana on pharses temporarily to avoid confusion about this.

simjanos-dev avatar Apr 28 '24 12:04 simjanos-dev