Trailing dashes in Desktop keys breaks merging
Bug #1541049 reported by
Colomban Wendling
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
New
|
Undecided
|
Unassigned |
Bug Description
If a translatable Desktop entry ends in a dash (`-`), intltool-merge will generate duplicate entries of the original key and value rather than translated versions with language suffix. This both leads to actually untranslated output, and to invalid .desktop files (as the spec forbids duplicate entries).
Attached patch fixes it and adds a test case. The patch is made on top of https:/
To post a comment you must log in.