liip / LiipTranslationBundle

Tools for translation management
MIT License
25 stars 11 forks source link

[GitPersistence] Sanity check whether the target folder is the translations git repository #32

Open dbu opened 9 years ago

dbu commented 9 years ago

I just had a problem not having initialized the translation folder, resulting in pullTranslations looking at the containing git repository of my project.

a simple check could be to look for the .git folder in the location where the translations are expected to exist and report if that is not a git repository.

/cc @thormeier