Make the software-properties .policy file dynamically translatable

Bug #853231 reported by Gabor Kelemen on 2011-09-18
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Medium
Unassigned
software-properties (Ubuntu)
Medium
Michael Vogt
Oneiric
Medium
Michael Vogt

Bug Description

Currently the .policy file shipped by software-properties does not contain the gettext-domain property, so the translations in the language packs are not used for this file. To fix this, the packaging should be changed to build using dh_translations.

Gabor Kelemen (kelemeng) wrote :

Also the file itself must be added to POTFILES.in, in the upstream branch.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Changed in software-properties (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
importance: Undecided → Medium
Martin Pitt (pitti) on 2011-10-12
Changed in software-properties (Ubuntu):
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.81.11

---------------
software-properties (0.81.11) oneiric-updates; urgency=low

  * lp:~kelemeng/software-properties/bug853231-upstream:
    - Add missing files to POTFILES.in (LP: #853231)
    Many thanks to Gabor Kelemen
 -- Michael Vogt <email address hidden> Tue, 11 Oct 2011 18:40:19 +0200

Changed in software-properties (Ubuntu Oneiric):
status: In Progress → Fix Released
Martin Pitt (pitti) wrote :

Argh, this upload was targetted at oneiric-updates. I noticed only after I accepted it, so I immediately removed it again. Please reupload to -proposed.

Changed in software-properties (Ubuntu Oneiric):
status: Fix Released → In Progress
Jean-Baptiste Lallement (jibel) wrote :

setting to verification-failed as 0.81.13 failed to build and is not available from -proposed.
Please set back to verification-needed when there is something to test.

tags: added: verification-failed

Hello Gabor, or anyone else affected,

Accepted software-properties into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in software-properties (Ubuntu Oneiric):
status: In Progress → Fix Committed
tags: removed: verification-failed
tags: added: verification-needed
Gabor Kelemen (kelemeng) wrote :

The proposed package 0.81.13.1 fixes the problem, thanks.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.81.13.1

---------------
software-properties (0.81.13.1) oneiric-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - add missing build-depends to dh-translations

  [ Philip Muskovac ]
  * lp:~yofel/software-properties/lp-819793:
    - Fix for bug 819793 as disable_child_source() now need the template
      name as parameter, not the template itself )LP: #819793

  [ Robert Roth ]
  * Fix warnings logged to terminal about inexistent handlers by checking
    if the handlers exist
  * Reset the popcon checkbox value if changed, but auth failed (LP: #874759)
  * Apt-add-repository --remove changed to also remove the debsrc
    line (LP: #838507)
  * Update the manpage of apt-add-repository with the available
    options. (LP: #697546)
  * Reset the text on the mirror testing dialog after closing/canceling
    it (LP: #875679)
  * Unicode encode PPA description and displaynam to avoid
    UnicodeDecodeErrors (LP: #827355)
  * Do not expand the server combobox (LP: #875131)

software-properties (0.81.13) oneiric-proposed; urgency=low

  * lp:~kelemeng/software-properties/bug853231:
    - Build with dh_translations, to localize the .policy file at
      runtime. LP: #853231
    - Add missing files to POTFILES.in (LP: #853231)
      Many thanks to Gabor Kelemen
 -- Michael Vogt <email address hidden> Thu, 20 Oct 2011 13:46:08 +0200

Changed in software-properties (Ubuntu):
status: In Progress → Fix Released
Changed in software-properties (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Gabor Kelemen (kelemeng) on 2011-11-07
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers