Closed mateusz-matyjaszczyk closed 1 year ago
Fixed in v1.0.0, please check. Now it will not add duplicate entry. In some time I will create additional linter for such issues.
I can confirm it is now fixed. Thanks!
@MateuszMatyjaszczyk , FYI, I've added Duplicate Translation linter in v1.1.0 :)
Describe the bug If you use f4 to create i18n texts there are possibilities in which duplicate entries will be created.
To Reproduce Steps to reproduce the behavior: If you create any element with text and provide any text there
then use f4 to add it to i18n and then want to use the same string anywhere, like a column header so you put
and also press f4 on it.
Both of them will create new entry in i18n that will be identical.
Expected behavior I think there should be a warning/error message that text with given boundleResourceId already exist
Screenshots
Then after I press F4 on second text it will hint to create text with the same Resource Bundle ID
After I accept it: