You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)
The text was updated successfully, but these errors were encountered: