upower needs generate POT file on build

Bug #538321 reported by Luca Ferretti
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Low
Martin Pitt
upower (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

upower needs generate POT file on build so that it could be imported into Launchpad and accept translations from translators.

----------------------------
Original:

Binary package hint: upower

Upower provides some translatable strings, but unfortunately only 3 languages are currently available (and maybe with outdated translations)

Translatable messages are extracted from C file, but also from PolicyKit .policy files and will showed sometimes when authenticating you to perform some actions (mount, unmount, check..). So are really important to understand sensible tasks and run consciously. If I'm right, those translations should be placed inside .policy file at build time (i.e you can't rely on .MO file), so a patch will be needed.

Related branches

Luca Ferretti (elle.uca)
tags: added: i18n lucid
Aron Xu (happyaron)
summary: - Set up upower for translation in Lucid
+ upower needs generate POT file on build
description: updated
tags: added: needs-pot-on-build
Changed in upower (Ubuntu):
status: New → Confirmed
Revision history for this message
Aron Xu (happyaron) wrote :

I will generate and upload a pot first as a workaround, but the package still need changes to make it generate a POT on build.

Changed in ubuntu-translations:
importance: Undecided → Low
status: New → Confirmed
Martin Pitt (pitti)
Changed in upower (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Pushed to debian git.

Changed in upower (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → Fix Committed
Changed in ubuntu-translations:
status: Confirmed → In Progress
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upower - 0.9.5-1

---------------
upower (0.9.5-1) unstable; urgency=low

  * New upstream release:
    - Dynamic testing for enough hibernate swap. (LP: #599352)
    - Port UPower to libusb1 to avoid unfixable crashes. (LP: #522827)
  * debian/rules: Build a PO template during package build, for translation
    systems. (LP: #538321)
  * debian/control: Switch libusb-dev build dependency to libusb-1.0-0-dev,
    and add libimobiledevice-dev to support the new backend.
  * debian/control: Bump Standards-Version to 3.9.0; no changes necessary.
  * Drop transitional devicekit-power-doc package. It's been in testing long
    enough, and we do not want to carry it into the squeeze release.
 -- Martin Pitt <email address hidden> Mon, 12 Jul 2010 14:43:12 +0200

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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