-
Notifications
You must be signed in to change notification settings - Fork 50
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
line wrapping width system dependent #49
Comments
It appears that I might have been wrong. It is not a2po using different line widths, but poedit saving at a different width. Still, it would be very helpful to specify the line width on the command line to use the same width as your favourite editor. |
I had this problem myself but never came around to fixing it. A pull request would be welcome. |
Here's a pull request: However, when using PoEdit, it is only useful when completely disabling the line wrapping (by specifying 0 and disabling it in poedit settings). This is not really an issue for us and makes more sense from version control perspective anyway. Why fixed width wrapping is problematic is because it seems there's different logic in the wrapping engines.. For example:
or links:
There might be other difference in rendering and I haven't figured out any config for it yet. |
I am using a2po for the same project on two different systems (Ubuntu 14.04 and 16.04).
Apparently a2po is using different paragraph widths for line wrapping on both systems, which results in a lot of diffs like this:
-"The image file is missing. Unfortunately, you cannot edit the image without.\n"
+"The image file is missing. Unfortunately, you cannot edit the image "
+"without.\n"
when switching between systems. It would be great to fix the paragraph width with a command line parameter to prevent this problem.
The text was updated successfully, but these errors were encountered: