Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
703 stars 132 forks source link

Clearer message with redirection of tags in the advanced search #3050

Open Guybrush88 opened 1 year ago

Guybrush88 commented 1 year ago

Story or Context

I wanted to translate some English sentences from the Tanaka Corpus into Italian using this query: https://tatoeba.org/en/sentences/search?from=eng&has_audio=&native=&orphans=no&query=&sort_reverse=&tags=tanaka+corpus&to=&trans_filter=exclude&trans_has_audio=&trans_link=&trans_orphan=&trans_to=ita&trans_unapproved=&trans_user=&unapproved=no&user=&sort=words and I put 'tanaka corpus' (without quotes and everything in lower case) as the tag contained in the sentences I wanted to translate. After the query started, I got this error message:

Warning: the following criteria have been ignored:

“tagged as tanaka corpus”, because it's an invalid tag name

However, I still received the proper sentences since they contain the proper tag, that is 'Tanaka Corpus', so here the proper capital letters of the tag are included and the advanced search recognized my initial input of the tag

Idea

The error message should be reworked, since the original query is still done, and the tag isn't actually ignored.