Game2Text icon indicating copy to clipboard operation
Game2Text copied to clipboard

Dictionary look up not fetching first entry

Open mathewthe2 opened this issue 4 years ago • 1 comments

image

Problem: Second or third dictionary entry is taken for words with multiple entries. Reason: Dictionary is added by keys, later entries replace the value of previous entries. Probable Solution: Rewrite dictionary look up logic.

  • Default to first entry.
  • Add second, third, fourth entries as separate values to the same key, and allow user to select suitable definition through dropdown select.

mathewthe2 avatar Apr 24 '21 13:04 mathewthe2

Added multiple entries but default to first one. https://github.com/mathewthe2/Game2Text/commit/5e8fb1e4980f6154fe201a9ec3381f5ae3767222

mathewthe2 avatar Apr 26 '21 03:04 mathewthe2