i18n problems in activity-log-manager

Bug #944362 reported by Gabor Kelemen on 2012-03-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Activity Log Manager
High
Manish Sinha (मनीष सिन्हा)
Ubuntu Translations
Medium
Gabor Kelemen
activity-log-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Currently, the src/diagnostics/com.ubuntu.whoopsiepreferences.policy file cannot be localized, because of several reasons:
- it contains a random gettext-domain name. This should be the same as the template name (activity-log-manager), and it is just better to not hardwire it into the file, but leaving it to dh_translations to fill out. It is also an Ubuntu-specific feature, not merged yet into upstream, see bug #619632
- the translatble strings are not marked for translations
- the file is not listed in POTFILES.in

Also the src/diagnostics/whoopsie.ui file should have a [type: gettext/glade] tag for the strings to be extracted.

Attached branch fixes these problems.

Related branches

Gabor Kelemen (kelemeng) on 2012-03-01
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Gabor Kelemen (kelemeng)
Gabor Kelemen (kelemeng) wrote :

The other branch does the "leaving it to dh_translations to fill out." part, among the other good thing dh_translations does, like generating a template.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package activity-log-manager - 0.9.2-0ubuntu3

---------------
activity-log-manager (0.9.2-0ubuntu3) precise; urgency=low

  * debian/patches/fix-i18n.patch:
    - Add policy.in file to POTFILES.in,
    - Makefile changes to make the policy file translatable
    - Add type description to the ui file, to extract its messages correctly,
    - Rename policy file to make it translatable, also remove gettext domain
      info.
  * Run dh_translations during build, also build-dep on it. (LP: #944362)
 -- Gabor Kelemen <email address hidden> Fri, 02 Mar 2012 09:36:44 +0100

Changed in activity-log-manager (Ubuntu):
status: New → Fix Released
Gabor Kelemen (kelemeng) on 2012-03-02
Changed in ubuntu-translations:
status: Triaged → Fix Released
Changed in activity-log-manager:
assignee: nobody → Manish Sinha (मनीष सिन्हा) (manishsinha)
importance: Undecided → High
milestone: none → 0.9.3
status: New → Confirmed
Changed in activity-log-manager:
status: Confirmed → Fix Committed
Changed in activity-log-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers