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

make-json --domain flag #418

Open
1 task done
drzraf opened this issue Nov 1, 2024 · 0 comments
Open
1 task done

make-json --domain flag #418

drzraf opened this issue Nov 1, 2024 · 0 comments

Comments

@drzraf
Copy link

drzraf commented Nov 1, 2024

Feature Request

Describe your use case and the problem you are facing

I'm retrieving my PO files from a translation platform (Weblate using wlc).
Said files are missing a proper Domain header and still, I'd expect make-json to be able to deal with that and output correctly named files.

Control over filename is important enough to not just be derived from the header but being given explicit value at the make-json step.

Describe the solution you'd like

A --domain flag taking over the autodetection of PO file hedader.

Workaround

$ rename -v -f -d -e "s/^(?!$(I18N_DOMAIN))/$(I18N_DOMAIN)-/" *json

References

See also #313 and #197 (comment)

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