← Back to team overview

desktop-packages team mailing list archive

[Bug 913085] Re: Translation domain detection from config.h is broken

 

This bug was fixed in the package gnome-media - 2.91.2-3ubuntu4

---------------
gnome-media (2.91.2-3ubuntu4) precise; urgency=low

  * Rebuild with the newest pkgbinarymangler (lp: #913085)
 -- Sebastien Bacher <seb128@xxxxxxxxxx>   Fri, 13 Jan 2012 18:11:14 +0100

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-media in Ubuntu.
https://bugs.launchpad.net/bugs/913085

Title:
  Translation domain detection from config.h is broken

Status in “gnome-control-center” package in Ubuntu:
  Fix Released
Status in “gnome-media” package in Ubuntu:
  Fix Released
Status in “gnome-settings-daemon” package in Ubuntu:
  Fix Released
Status in “pkgbinarymangler” package in Ubuntu:
  Fix Released
Status in “totem” package in Ubuntu:
  Fix Released

Bug description:
  Latest package version 111 added support for detecting the translation
  domain from config.h:

  http://bazaar.launchpad.net/~ubuntu-
  branches/ubuntu/precise/pkgbinarymangler/precise/revision/231#dh_translations

  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/intltool-update -p --verbose -g \"gparted\"
  Wrote ../data/com.ubuntu.pkexec.gparted.policy.in.h
  Wrote ../gparted.desktop.in.in.h
  Building "gparted".pot...
  Running xgettext --add-comments --directory=. --default-domain="gparted" --flag=g_strdup_printf:1:c-format --flag=g_string_printf:2:c-format --flag=g_string_append_printf:2:c-format --flag=g_error_new:3:c-format --flag=g_set_error:4:c-format --flag=g_markup_printf_escaped:1:c-format --flag=g_log:3:c-format --flag=g_print:1:c-format --flag=g_printerr:1:c-format --flag=g_printf:1:c-format --flag=g_fprintf:2:c-format --flag=g_sprintf:2:c-format --flag=g_snprintf:3:c-format --flag=g_scanner_error:2:c-format --flag=g_scanner_warn:2:c-format --output="gparted".pot --files-from=./POTFILES.in.temp --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=Q_ --keyword=g_dgettext:2 --keyword=g_dngettext:2,3 --keyword=g_dpgettext:2 --keyword=g_dpgettext2=2c,3 --from-code=UTF-8
  Removing generated header (.h) files...done.
  None of the files in POTFILES.in contain strings marked for translation.
  make[1]: Entering directory `/home/gabor/checkout/ubuntu/build-area/gparted-0.8.1/help'
  `which xml2po` -e -o gparted.pot C/gparted.xml
  make[1]: Leaving directory `/home/gabor/checkout/ubuntu/build-area/gparted-0.8.1/help'
  dh_langpack: processing files to add translation domain '"gparted"'...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/913085/+subscriptions