Applet menu options shows untranslated, albeit they're translated (patch supplied)

Bug #360621 reported by Ricardo Pérez López
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Till Kamppeter

Bug Description

Binary package hint: system-config-printer

When you send a document to the printer, the printer applet icon appears in the notification area. If you right-click on the icon, you can see the following options:

- Hide
- Configure Printers
- Exit

The "Hide" and "Configure Printers" options shows untranslated in my Spanish desktop, albeit they're translated in Launchpad:

  https://translations.launchpad.net/ubuntu/jaunty/+source/system-config-printer/+pots/system-config-printer/es/548/+translate
  https://translations.launchpad.net/ubuntu/jaunty/+source/system-config-printer/+pots/system-config-printer/es/549/+translate

and the translations are into the system-config-printer.mo file:

$ strings -eS /usr/share/locale-langpack/es/LC_MESSAGES/system-config-printer.mo | grep "_Hide\|_Ocultar\|_Configure Printers\|_Configurar impresoras"
_Configure Printers
_Hide
_Configurar impresoras
_Ocultar

However, these strings shows untranslated. I attach an screenshot to illustrate the problem.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

I have a fix to solve this issue: in the /usr/share/system-config-printer/jobviewer.py file, replace the line 56 from

  gtk.glade.bindtextdomain (DOMAIN)

to

  gtk.glade.textdomain (DOMAIN)

That solves the issue completely.

Please, can some Ubuntu developer includes this trivial fix in the system-config-printer package, before Jaunty release if possible? Thanks

summary: - Applet menu options shows untranslated, albeit they're translated
+ Applet menu options shows untranslated, albeit they're translated (patch
+ supplied)
Revision history for this message
Martin Pitt (pitti) wrote :

Patch looks straightforward. Till, please upload, so that it gets in the queue. It might be rejected for final, then it can become an SRU.

Changed in system-config-printer (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
status: New → Fix Committed
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Thanks very much to Martin & Till!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.1.3+git20090218-0ubuntu19

---------------
system-config-printer (1.1.3+git20090218-0ubuntu19) jaunty; urgency=low

  * debian/patches/57_fix-applet-menu-translation.patch: Let right-click
    menu of printer applet tray icon appear translated (LP: #360621).

 -- Till Kamppeter <email address hidden> Tue, 14 Apr 2009 13:02:59 +0100

Changed in system-config-printer (Ubuntu):
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.