ziima/polint

Accept folder as an argument

Closed this issue · 3 comments

Hi! Thanks for this package. It find its idea very promising.

I am trying to integrate it to our django workflow, wemake-services/wemake-django-template#504

But, I am facing an issue: I can not pass a folder name to this tool. I have a base folder (locale/) that contains all the languages we use in our app. And I want to lint all of them at once.

That's how regular django translation directory looks like:

» tree locale
locale
└── ru
    └── LC_MESSAGES
        ├── django.mo
        └── django.po
└── it
    └── LC_MESSAGES
        ├── django.mo
        └── django.po
└── de
    └── LC_MESSAGES
        ├── django.mo
        └── django.po

And I want to lint all my .po files with a single command: polint locale.

Do you plan to support this feature?

ziima commented

In progress, thanks for the issue.

ziima commented

Released in 0.3

@ziima awesome! Thanks!