Quote:
Originally Posted by Norbi24
it looks that the generic-send would work with the the most of my dictionaries...
generic-search only lists ColorDict nothing more.
generic-text only GoogleTranslate and app having "a" in the icon (do not know anymore what it is, appears to be able to load some Collins dictionaries)
I personally would vote for adding a line for the first option into dictionaries.lua and give it a display name like:
"Choose Available Dictionary on First Translate"
this could be intuitive, as if then user selects a word to translate he would ge a list of his dicts ...
|
It all depends on the apps you installed. Most apps use send as it was the first intent available (an intent is a kind of IPC used in Android to communicate between apps). Wikipedia handles all of them, Kiwix just text processing, Colordict handles its own intent but handles send too... The list is very looong.
I agree with you in including the option to show the app picker and let the use choose, but "Choose Available Dictionary on First Translate" is innacurate as we just start an activity that can handle plain text. It could be whatsapp, gmail, sms or any other app, not just dictionaries. It also implies that the option is just shown once and that's only true if the user checks "use always".
The name should be related to the original "intention" of the intent. Something like "share text with another application".
As everything is related to dict lookups and 3rd party apps we can dismiss "text/lookup" and "(with another) application" and just use "share", "send" and "process".
I'm open to suggestions. I will open a new issue on github and ping you there