-
Notifications
You must be signed in to change notification settings - Fork 4
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
Wrap messages the same way as msgcat
#8
Comments
As far as I am aware the text wrapping algorithm is not specified in GNU gettext manual or documentation. Reading GNU gettext source code and then reimplementing the text wrapping algorithm in this library is also not an option, as it may violate the GPL license. |
I agree, I haven't found anything about this from reading the docs. I recently merged google/mdbook-i18n-helpers#93, which removes part of the churn by wrapping the filenames in the sources field — with some trial and error, I found a setting which seems to be mostly correct.
I hadn't thought of that, but it's a good point! Taking a step back, maybe this isn't really as useful as I first thought. People are generally supposed to use |
I've noticed that the POT files generated by polib use slightly different wrapping than what
msgcat -o foo.pot foo.pot
gives. I'm tracking this in google/mdbook-i18n-helpers#32, but I would actually suggest improving this here at the source.The text was updated successfully, but these errors were encountered: