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.
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.