[translate] Perform search on filtered translations only

NEW
Unassigned

Status

Webtools
Pontoon
P3
normal
7 months ago
a month ago

People

(Reporter: tchevalier, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 months ago
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
(Reporter)

Comment 1

7 months ago
To clarify, I don’t suggest to alter the default search settings, but adding an option to only search in approved translations.

Comment 2

7 months ago
:tchevalier
So, basically that filter should affect only search results. This sounds like the advanced settings for search - am I correct?
(Reporter)

Comment 3

7 months ago
(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
(Reporter)

Comment 5

7 months ago
(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

Comment 6

a month ago
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.
You need to log in before you can comment on or make changes to this bug.