Spaces around = in .ini files are processed incorrectly
Bug #1395561 reported by
Michi Henning
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Fix Released
|
High
|
Michi Henning |
Bug Description
The following is not processed correctly by intltool:
[ScopeConfig]
_DisplayName = YouTube
_Description = Search YouTube for videos and browse channels
.ini files ignore leading spaces surrounding the equal sign, but intltool does not generate correct translations if they are present.
Related branches
lp:~michihenning/intltool/fix-ini-spaces
- dobey (community): Approve
-
Diff: 67 lines (+12/-3)5 files modifiedintltool-extract.in (+1/-1)
intltool-merge.in (+2/-2)
tests/cases/extract13.desktop.in (+3/-0)
tests/results/extract13.desktop (+3/-0)
tests/results/extract13.desktop.in.h (+3/-0)
Changed in intltool: | |
assignee: | nobody → Michi Henning (michihenning) |
status: | New → In Progress |
Changed in intltool: | |
importance: | Undecided → High |
Changed in intltool: | |
status: | In Progress → Fix Committed |
Changed in intltool: | |
milestone: | none → 0.51.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In more detail: intltool-update extras the strings to the POT file even with the space. (It includes the space in the msgid, though.) intltool-merge fails to include any translations, and it doesn't even remove the leading underscore.