Avoid scrolling when adding screenshots
Describe the problem
When adding/editing screenshots for the translators, the OCR doesn't have a chance to find all strings that should be associated with this screenshot. The most obvious ones are hint text for buttons which have only an icon and no caption. Sometimes also strings that contain accelerator keys like "Save &all" are not recognized properly, because they have an underscore "Save _all" under the letter (at least on Windows). This means that I have to add all relevant strings from memory and this also means that I probably will miss a lot.
Edit: The actual issue is described in https://github.com/WeblateOrg/weblate/issues/7085#issuecomment-1009950253
Describe the solution you'd like
At least the .po format contains a very valuable information, the location of the string. If the search function in the screenshot dialogue would allow me to search for the location of a string (either optional or always), it would be much easier to find all strings associated to a certain form.
Describe alternatives you've considered
No response
Screenshots
The form is called "ModeTemplates.dfm". I know that one of the button hints contains the string "create" so I can add it by searching for "Create". It would be nice to be able to add all strings for this form by simply searching for "ModeTemplates.dfm"
Additional context
No response
The search is same as elsewhere, so use location:search-term. See https://docs.weblate.org/en/latest/user/search.html
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.
In case your question is already answered, making a donation is the right way to say thank you!
Thanks! That's cool. The idea didn't occur to me... Would it be possible to filter the "available" list after searching and while adding/removing, so that the strings that are already assigned to the screenshot do not appear at the bottom anymore? A mass add/remove (check items, add remove with one click) would be handy too.
Would it be possible to filter the "available" list after searching and while adding/removing, so that the strings that are already assigned to the screenshot do not appear at the bottom anymore?
The search results should not list already associated strings.
That's true. Only while adding strings, the top list grows and pushes the bottom list and the items on which I may want to click next off screen.
This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.
You can learn about how to get started in our contributors documentation.