Issue Overview
If you have a GlotPress project with the path foo/foo-bar and push something to a repo name foo, Traduttore will update foo/foo-bar with the content of foo. Since the text domain won't match it actually deletes all originals.
To Reproduce
Steps to reproduce the behavior:
Create a repo foo
Create a repo foo-bar
Set up a GlotPress project for foo-bar
Push something to foo
Notice that foo-bar has no strings anymore
Expected behavior
The repo should not match partially another repo/project.
Issue Overview If you have a GlotPress project with the path
foo/foo-bar
and push something to a repo namefoo
, Traduttore will updatefoo/foo-bar
with the content offoo
. Since the text domain won't match it actually deletes all originals.To Reproduce Steps to reproduce the behavior:
foo
foo-bar
foo-bar
foo
foo-bar
has no strings anymoreExpected behavior The repo should not match partially another repo/project.