Comment 52 for bug 102773

Revision history for this message
Bruno (bruno666-666) wrote : Re: l10n broken in software-properties

Thanks a lot for trying to solve this issue Savvas. I know how to deal with gettext templates.

I downloaded software-sources-075.1 (from karmic repo) source package and tried to examine the code. I really dont know much about Python, but I found some errors in SoftawarePropertiesKDE.py, for example to have the "Add source" dialog translated i had to modify those lines (653) :

    text = _('<p><b>Enter the complete APT line of the<br /> repository that you want to add as source</b></p><p>The APT line includes the type, location and components of a repository,<br /> for example <i>"%s"</i>.</p>') % example
    text=utf8(text)

There's also a problem in this file with translate-widget functions but I really don't understand how this could work.

HTH