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

Launchpad Bug Tracker 913085 at bugs.launchpad.net
Fri Jan 13 11:25:28 UTC 2012


This bug was fixed in the package totem - 3.0.1-0ubuntu14

---------------
totem (3.0.1-0ubuntu14) precise; urgency=low

  * Rebuild with fixed pkgbinarymangler (lp: #913085).
 -- Sebastien Bacher <seb128 at ubuntu.com>   Fri, 13 Jan 2012 12:18:37 +0100

** Changed in: totem (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler 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




More information about the foundations-bugs mailing list