Closed Bug 1399839 Opened 7 years ago Closed 3 years ago

[translate] Perform search on filtered translations only

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: theo, Unassigned)

Details

Right now when performing a search, it provides matches from:

- The source string
- The approved translation
- Any pending or rejected suggestion
- Localization notes
- The string name (and probably full path)


I would like to be able to perform a search on the approved translations only, to reduce the number of false positives.

It would be particularly useful when performing searches related to punctuation mistakes, but there are other type of searches where it would help, like for words similar in English and the target language
To clarify, I don’t suggest to alter the default search settings, but adding an option to only search in approved translations.
:tchevalier
So, basically that filter should affect only search results. This sounds like the advanced settings for search - am I correct?
(In reply to jotes from comment #2)
> :tchevalier
> So, basically that filter should affect only search results. This sounds
> like the advanced settings for search - am I correct?

Yes, that would be the idea
Thanks for the suggestion, Théo!

I wonder if Approved translations are a special case here, or would one sometimes also want to search within other groups of strings, e.g. Fuzzy or Rejected.

If the latter, we could change the default search behaviour when filters are applied. If you filter Translated, we only search Translated, if you filter Untranslated, we only search Untranslated, etc. One benefit of this approach is that we don't need to add complexity to the UI.
Priority: -- → P3
(In reply to Matjaz Horvat [:mathjazz] from comment #4)
> Thanks for the suggestion, Théo!
> 
> I wonder if Approved translations are a special case here, or would one
> sometimes also want to search within other groups of strings, e.g. Fuzzy or
> Rejected.
> 
> If the latter, we could change the default search behaviour when filters are
> applied. If you filter Translated, we only search Translated, if you filter
> Untranslated, we only search Untranslated, etc. One benefit of this approach
> is that we don't need to add complexity to the UI.

I like the idea of matching with filters, that would be even better than my initial suggestion.
Summary: Perform searches on approved translations only → [translate] Perform search on filtered translations only
Isn't this implemented by now?
Or am I missing something?
(In reply to Djfe from comment #6)
> Isn't this implemented by now?
> Or am I missing something?

No. If you filter by "Translated" and search, it still searches in source string, comment, suggestions, string ID within this group of strings.
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.