Menu entry is not translatable

Bug #288402 reported by David Planella
2
Affects Status Importance Assigned to Milestone
hwtest (Ubuntu)
Fix Released
Medium
Marc Tardif

Bug Description

Binary package hint: hwtest

The menu entry (menu name and tooltip) under System -> Adminstration -> Hardware Testing is not translatable.

This is due to the fact that the strings from the gtk/checkbox-gtk.desktop.in desktop entry file are not correctly extracted by intltool-extract. In turn, this is due to the file type being specified as [type: gettext/rfc822deb] on the POTFILES.in file.

Luckily, this gets partially hidden because the string used in the name of the menu is exactly the same as another one used in the package, which does make it to the template, allowing it to be translated and picked up by gettext at runtime. However, the tooltip remains untranslated.

Please find attached a patch to fix this issue. Alternatively, I have created a branch at https://code.edge.launchpad.net/~dpm/checkbox/l10nfix (lp:~dpm/checkbox/l10nfix) from where this patch comes from. You can also merge the change directly from there if appropriate.

Revision history for this message
David Planella (dpm) wrote :
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Confirming.

Changed in hwtest:
status: New → Confirmed
Revision history for this message
Marc Tardif (cr3) wrote :

Thanks for the branch, it has been merged and comitted in trunk.

Changed in hwtest:
assignee: nobody → cr3
importance: Undecided → Medium
status: Confirmed → Fix Committed
Marc Tardif (cr3)
Changed in hwtest (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.