Poedit: Entries start with 'msgstr ""'

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 371
Joined: Tue Nov 12, 2013 2:05 am

Poedit: Entries start with 'msgstr ""'

Post by peter_b »

[PROBLEM]
I've added one new translation string to a program and ran a "git diff" on the "messages.po" file - just to see if everything looks good.
I suddenly saw more differences than the one string I've changed.
And the affected translations all started with:
msgstr ""
[SOLUTION]
Everything perfectly normal.
The new Poedit version was just set to automatically wrap the "message.po" at 79 characters (see screenshot).
The empty msgstr line (as well as additional msgstr lines for the same string) are just to avoid more tha 79 characters per line.

Mystery solved :oops:
Attachments
Screenshot of the corresponding "line endings/wrap" setting in Poedit's preferences.
Screenshot of the corresponding "line endings/wrap" setting in Poedit's preferences.
Post Reply