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

Martin Pitt martin.pitt at ubuntu.com
Fri Jan 13 08:59:34 UTC 2012


** Package changed: policykit-1 (Ubuntu) => gnome-settings-daemon
(Ubuntu)

-- 
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:
  Triaged
Status in “gnome-settings-daemon” package in Ubuntu:
  Triaged
Status in “pkgbinarymangler” package in Ubuntu:
  Triaged

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