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
Describe the bug
The new update work great for Japanese, when there is no space between phrase. But when I try to use it for English, the new phrase does not show up in different colors. I suspect this is because the English multiphase has space in between, while the Japanese one doesn't.
To Reproduce
add the English language with the default setting
add English text
select multiple words and add a phrase
color does not show up Expected behavior
color should show up for the multi-word phrase.
Desktop (please complete the following information):
OS: Linux arm
Browser edge
The text was updated successfully, but these errors were encountered:
gaoxiangluke
changed the title
multi-phrase with space does not work
multi-phrase with space not working properly
Jul 14, 2022
Thanks for signaling this issue, I was unable to tackle it since I was far from LWT this last month. In my last commit, I could solve much of the problem, here are the changes:
There was a confusion between the attributes names of Term in edit_mword.php. "wordcount" was wrongly refereed as "word_count" at some points.
"insert_standard_expression" is a new function introduced in 2.5.0-fork, as I had to break the structure of "insertExpressions" (inc/session_utility.php), because it was too complex. By doing so, I rewrote part of the code which resulted in bad behavior for texts using spaces.
Finally, after a good day of battle with the code, I could solve those issues. I still have to makes some checks before the final release (newt week?), but the work is more or less done!
Describe the bug
The new update work great for Japanese, when there is no space between phrase. But when I try to use it for English, the new phrase does not show up in different colors. I suspect this is because the English multiphase has space in between, while the Japanese one doesn't.
To Reproduce
Expected behavior
color should show up for the multi-word phrase.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: