[jaunty] Translations included in the tarball, not stripped or imported to Rosetta

Bug #334203 reported by Timo Jyrinki
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: computer-janitor

dpkg -L computer-janitor shows that there are .mo files included in the tarball, while the Ubuntu build system should a) strip them b) upload them to Rosetta and finally c) language packs should get the translations from Rosetta. I don't know what is preventing the proper stripping done for other packages in main. The package is not available for translation at https://translations.launchpad.net/ubuntu/jaunty/+source/computer-janitor , nor it's on the import list found there.

Additionally, many strings with existing translations (like ”This application helps you to get rid of cruft.”) do not get translated even though the translation exists in the .mo file. If I have to guess, translation domain probably needs to be set in the computer-janitor-gtk python file, it's currently not using gettext as all. Something like:
import gettext
import locale
        locale.setlocale(locale.LC_ALL, '')
        for module in gtk.glade, gettext:
            module.bindtextdomain('usbcreator', LOCALEDIR)
            module.textdomain('usbcreator')

(taken from usb-creator)

Adding this to https://wiki.ubuntu.com/TranslatingUbuntu/JauntyTranslationIssues.

Revision history for this message
Tomasz Dominikowski (dominikowski) wrote :

I can confirm that. It is inconsiderate to have an untranslatable application installed by default in Ubuntu this late in the cycle.

Changed in computer-janitor:
status: New → Confirmed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

There seems to be .pot file now in queue, let's see if it gets imported properly. So this might be fixed now. Moving the bug to "resolved but not released" on the JauntyTranslationIssues.

https://translations.launchpad.net/ubuntu/jaunty/+source/computer-janitor/+imports

Revision history for this message
Tomasz Dominikowski (dominikowski) wrote :

Five days in the queue is normal or should this be cause for concern?

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

It is installed, since Arne is waiting for resolution of bug #334227. It could be he should still handle also these cases since the bug will be fixed only on 1st of April.

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

The new .pot file from a new release (changelog of which did not mention this bug, though) was now finally accepted for importing from the Launchpad Translations queue for Jaunty.

The new strings are now translatable, and it looks like all the necessary ones are in. One can assume that most probably the translations are now also correctly used, when they get released via language packs eventually.

Marking as "released" on the JauntyTranslationIssues page: https://wiki.ubuntu.com/TranslatingUbuntu/JauntyTranslationIssues

Changed in computer-janitor:
status: Confirmed → 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.