Translation domain detection from config.h is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evolution (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
gnome-control-center (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
gnome-media (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
gnome-settings-daemon (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
pkgbinarymangler (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher | ||
totem (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Latest package version 111 added support for detecting the translation domain from config.h:
This is however a little broken: the domain is in a quoted form in those files and dh_translations retains the quotation marks instead of ignoring them. I see for example
#define GETTEXT_PACKAGE "gparted"
resulting this:
dh_translations
check_buildsystem: got domain '"gparted"', using intltool: 1
/usr/bin/
Wrote ../data/
Wrote ../gparted.
Building "gparted".pot...
Running xgettext --add-comments --directory=. --default-
Removing generated header (.h) files...done.
None of the files in POTFILES.in contain strings marked for translation.
make[1]: Entering directory `/home/
`which xml2po` -e -o gparted.pot C/gparted.xml
make[1]: Leaving directory `/home/
dh_langpack: processing files to add translation domain '"gparted"'...
affects: | policykit-1 (Ubuntu) → gnome-settings-daemon (Ubuntu) |
Changed in pkgbinarymangler (Ubuntu): | |
importance: | Critical → High |
Changed in gnome-media (Ubuntu): | |
importance: | Undecided → High |
Changed in totem (Ubuntu): | |
importance: | Undecided → High |
Changed in evolution (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | In Progress → Fix Committed |
Here is one of the first victims, gnome-c-c 3.2.2.0ubuntu6 uploaded yesterday.