-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting of search input #9728
Comments
Use "not found" in this case. Search supports boolean operators, so you search for all strings not containing string found. See https://docs.weblate.org/en/latest/user/search.html#boolean-operators |
I see, I'll keep the issue open as a UI bug, as this is not obvious. Maybe there should be an English representation of what I have searched for, for example: Strings not containing "found", or a mention of the search syntax next to the text box, or a graphical representation of how my query was parsed. Just looking at the box, I think most users would assume it's a plain text search. |
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. |
I don't think English representation would be useful for possibly long queries. Instead, doing syntax highlighting on the search input would show how it is interpreted. What I'd like to see:
|
This makes it easier to realize how the search will be interpreted. Fixes WeblateOrg#9728
IMHO the current search behavior is a bug because it do not fit the users expectations (#10793). Keep in mind the "the user" especially in translation context is (for me) a non technical person knowing nearly nothing about computers. |
This makes it easier to realize how the search will be interpreted. Fixes #9728
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
If I enter "not" or "found" then fewer results are found compared to "not found".
I already tried
Steps to reproduce the behavior
Expected behavior
Search only lists strings containing "not found"
Screenshots
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: