Open michal-korniak opened 1 year ago
I suppose that should be fine but it's been a while since I looked at that code.
Yes, it works, but there is a lot repetition, as I actually duplicated dictionary lookup history for translations. I'm also not sure if it should save translations in dictionary lookup history (if I click on entry in dictionary history, it tries to search entry in dictionary, which doesn't make sense for translations entries), so maybe it should have separated history. As I said I don't fully understand how Lua works, so it will be great if someone could improve my solution.
Currently we have an option to check history of dictionary and wikipedia lookups, but we don't have simmilar functionality for translation lookups. For now I implemented this feature by myself (by integrating it with dictionary history), but to be honest I don't know anything about Lua, so this implementation is very poor :) Link to commit