Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tx config should check source folder content #265

Open
ArtFlag opened this issue Oct 24, 2019 · 0 comments
Open

tx config should check source folder content #265

ArtFlag opened this issue Oct 24, 2019 · 0 comments

Comments

@ArtFlag
Copy link

ArtFlag commented Oct 24, 2019

Hello,

I would like to suggest to print an error message when the source dir provided to tx config is empty, since it's most likely a user mistake.

tx config mapping-bulk --project documentation --file-extension '.pot' \
   --source-file-dir source/locale/en/ --source-lang en --type PO \
   --expression 'source/locale/<lang>/LC_MESSAGES/{filepath}/{filename}.po'

Would return something like:The source file directory is has not pot files. Are you sure it's the right path?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants