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
I'm not sure how much work there is to this, but I would like the Wikipedia (AI) button in the dictionary popup to be easily editable.
I know I can change line 550 from text = _("Wikipedia") .. " (AI)", to text = _("ELI5") .. " (AI)",
And change line 562 from text = self.assistant_dialog:showCustomPrompt(dict_popup.word, "wikipedia") to self.assistant_dialog:showCustomPrompt(dict_popup.word, "ELI5")
And this will work, but I would like a more sophisticated method, possibly in the menu.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure how much work there is to this, but I would like the Wikipedia (AI) button in the dictionary popup to be easily editable.
I know I can change line 550 from text =
_("Wikipedia") .. " (AI)",
totext = _("ELI5") .. " (AI)",
And change line 562 from text =
self.assistant_dialog:showCustomPrompt(dict_popup.word, "wikipedia")
toself.assistant_dialog:showCustomPrompt(dict_popup.word, "ELI5")
And this will work, but I would like a more sophisticated method, possibly in the menu.
https://github.com/omer-faruq/assistant.koplugin/blob/main/main.lua
Beta Was this translation helpful? Give feedback.
All reactions