[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] gettext 0.19.8.1 mangles empty .desktop lines
From: |
Bastien Nocera |
Subject: |
[bug-gettext] gettext 0.19.8.1 mangles empty .desktop lines |
Date: |
Mon, 11 Mar 2019 13:59:50 +0100 |
User-agent: |
Evolution 3.30.5 (3.30.5-1.fc29) |
Original bug was in gnome-user-share:
https://gitlab.gnome.org/GNOME/gnome-user-share/issues/4
When applying a translation to a .desktop file with an empty value,
gettext will strip the line feed causing 2 lines to be merged
together.
For example:
Categories=
NoDisplay=true
Would become, removing the "NoDisplay":
Categories=NoDisplay=true
Attached is a test case, unpack, and run "make". The resulting gnome-
user-share-webdav.desktop file should have 2 lines for Categories and
NoDisplay, but only has one.
gettext-empty-line-breakage-test-case.tar.xz
Description: application/xz-compressed-tar
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] gettext 0.19.8.1 mangles empty .desktop lines,
Bastien Nocera <=