i18n problems in activity-log-manager

Bug #944362 reported by Gabor Kelemen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Activity Log Manager
Fix Released
High
Manish Sinha (मनीष सिन्हा)
Ubuntu Translations
Fix Released
Medium
Gabor Kelemen
activity-log-manager (Ubuntu)
Fix Released
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)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Gabor Kelemen (kelemeng)
Revision history for this message
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.

Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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