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

Translator comments not always wrapped if it split into multiple lines #865

Open
tsabsch opened this issue Sep 15, 2024 · 1 comment
Open

Comments

@tsabsch
Copy link

tsabsch commented Sep 15, 2024

Hi, thanks for providing POEdit, it is very useful for my open-source translation work :)

I have noticed that translator comments are not always wrapped if they are split into multiple lines. The first line of a multiline comment is wrapped correctly, and it looks like sometimes a succeeding line is wrapped as well, but I have not been able to understand its logic. Succeeding lines are appended if they is enough space left in the line, but as mentioned not (always) wrapped. This means that information is potentially lost.

It could be a regression, I noticed this problem only recently and have been using POEdit since version 2.x.

I have attached a MWE file that contains one string with a long translation comment in a single line, and a second string with a multiline comment: (as txt since github won't let me upload a .po)
gimp-mwe.po.txt

Not wrapped:
mwe-not-wrapped

First line wrapped and it appears the second line is wrapped once as well, but not a second time.
mwe-some-lines-wrapped

Long but single comment line:
mwe-single-comment-line-wrapped

POEdit: 3.5 (7223), free version
OS: macOS Sonoma 14.6.1

@vslavik
Copy link
Owner

vslavik commented Sep 15, 2024

Confirmed reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants