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
I noticed that when i save a .po file from Gnome in Ve, it has an extra newline character added that breaks up a header entry and makes other editors like poedit complain.
That file has a header entry named ""Report-Msgid-Bugs-To" that is separated in two lines due to its length. This looks like:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"themes-standard&keywords=I18N+L10N&component=general\n"
Note that the first line does not have a "\n". If I now open that file in Ve and save it, that line now gets a "\n" added. This makes it look like this:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-\n"
"themes-standard&keywords=I18N+L10N&component=general\n"
This is now treated as two header entries, causing poedit to complain about "Malformed header: 'themes-standard&keywords=I18N+L10N&component=general'"
Regards,
Anders Jonsson
The text was updated successfully, but these errors were encountered:
Hi,
thanks for a very useful program.
I noticed that when i save a .po file from Gnome in Ve, it has an extra newline character added that breaks up a header entry and makes other editors like poedit complain.
Minimal testing file: https://l10n.gnome.org/POT/gnome-themes-standard.master/gnome-themes-standard.master.sv.po
That file has a header entry named ""Report-Msgid-Bugs-To" that is separated in two lines due to its length. This looks like:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"themes-standard&keywords=I18N+L10N&component=general\n"
Note that the first line does not have a "\n". If I now open that file in Ve and save it, that line now gets a "\n" added. This makes it look like this:
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-\n"
"themes-standard&keywords=I18N+L10N&component=general\n"
This is now treated as two header entries, causing poedit to complain about "Malformed header: 'themes-standard&keywords=I18N+L10N&component=general'"
Regards,
Anders Jonsson
The text was updated successfully, but these errors were encountered: