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
714 stars 132 forks source link

Creating a duplicate sentence #3089

Closed jansiebert1 closed 12 months ago

jansiebert1 commented 12 months ago

Creating a duplicate sentence I was able to create a duplicate sentence of already existing sentence. Here is the original sentence: https://tatoeba.org/en/sentences/show/4491211 Here is a newer duplicate sentence https://tatoeba.org/en/sentences/show/12182605

Steps to reproduce the behavior: I accidentally created sentence in a wrong language. I wanted to create an English sentence but I created Czech sentence and put English text into it. When I realized the problem I changed the sentence to English but it was already late. The new duplicate sentence was created.

Expected behavior When user changes language of the sentence after creating it, the sentence should be automatically deleted if there is already an equivalent older sentence and the older sentence should take precedence in the linking.