libubuntuone needs to be set up for translations in Ubuntu

Bug #786632 reported by Gabor Kelemen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Unassigned
libubuntuone (Ubuntu)
Fix Released
Undecided
Unassigned
pkgbinarymangler (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Upstream libubuntuone provides localizations:

http://bazaar.launchpad.net/~ubuntuone-control-tower/libubuntuone/trunk/files

However, this is not imported to Ubuntu. The packaging does not include langpack.mk to generate a pot file at build time:

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/libubuntuone/oneiric/view/head:/debian/rules

Related branches

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Also, this is quite visible in some applications.

Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Gabor Kelemen (kelemeng) wrote :

For some strange reason, including gnome.mk does not do the trick: the po/Makefile is not present in the source when dh_translations is run.
Until someone with deeper knowledge solves it properly, here is a hack :).

Revision history for this message
dobey (dobey) wrote :

That 'hack' is not right. It seems this is a side effect of the way libubuntuone is being built, to support building the Python bindings for multiple versions of Python. Is there no way to tell dh_translations to look inside build/ instead? That would seem to be the proper solution. Surely dh_translations must have some way to support translations in a directory other than po/.

Revision history for this message
Martin Pitt (pitti) wrote :

dh_translations needs to figure out the gettext domain from somewhere. Right now it does not do a deep file search of any potential build tree, but we can add that.

Martin Pitt (pitti)
Changed in pkgbinarymangler (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Martin Pitt (pitti)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkgbinarymangler - 105

---------------
pkgbinarymangler (105) precise; urgency=low

  * pkgstriptranslations: Also strip X-GNOME-Keywords. Add corresponding test
    case.
  * dh_translations: Also check configure.ac for GETTEXT_DOMAIN. (LP: #786632)
  * pkgstripfiles: First symlink identical doc files, then truncate Debian
    changelogs. Otherwise truncated changelogs will never be identical due to
    the added "please see apt-get changelog <pkgname>" line. In oneiric and
    before this got hidden because of a wrong exit code of zcmp, which has
    been fixed in gzip 1.4 in precise.
  * pkgstripfiles: As we truncate long Debian changelogs, and a packages'
    dependencies may not have been processed by pkgstripfiles yet, Debian
    changelogs are sometimes different at the tail. Debian changelogs are
    generally identical between binary packages anyway, but as there is the
    theoretical possibility of having a binary package specific one, do a
    comparison still, but only the topmost 20 lines.
 -- Martin Pitt <email address hidden> Thu, 27 Oct 2011 14:54:41 +0200

Changed in pkgbinarymangler (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libubuntuone - 0.11.0-0ubuntu4

---------------
libubuntuone (0.11.0-0ubuntu4) precise; urgency=low

  * debian/rules: Call dh_translations to build a POT. Add dh-translations
    build dependency. Thanks to Gabor Kelemen for the patch!
    (LP: #786632)

libubuntuone (0.11.0-0ubuntu3) oneiric-proposed; urgency=low

  * Load u1ms:// links without blocking on main store page load (LP: #872972)
  * Work around crash introduced by WebKit 1.4.3 (LP: #851044)
 -- Martin Pitt <email address hidden> Mon, 05 Dec 2011 15:15:29 +0100

Changed in libubuntuone (Ubuntu):
status: New → Fix Released
Martin Pitt (pitti)
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.