Public bug reported:

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.

** Affects: computer-janitor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[jaunty] Translations included in the tarball, not stripped or imported to 
Rosetta
https://bugs.launchpad.net/bugs/334203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to