Help with strange error in smolt.master-smoon.messages.po

Domingo Becker domingobecker at gmail.com
Fri Aug 21 15:59:28 UTC 2009


2009/8/21 Paul W. Frields <stickster at gmail.com>:
>> Does anybody understands what's going on?
>
> I haven't had a chance to dig into it, but maybe it's because the
> original string should be:
>
> "%s hosts detected ${type}"
>
> The "%s" indicates a string format.  With no character after the "%"
> the gettext library is confused.
>

Seems to be a bug in the source code.
In python 2.6, the {} markup was introduced. The % was used previously.
It seems somebody forgotten to delete the % when updating the source code.

Anyway, the package smolt-server-1.2-4.2.fc11.noarch.rpm has the string
/usr/share/smolt/smoon/hardware/templates/deviceclass.html:        <th
valign="top" width="25%">${_("% hosts detected ")} ${type}</th>

which means the .pot file is outdated, the string  "%s hosts detected
${type}" will never be used.

The actual string would also confuse gettext library.

kind regards

Domingo Becker (es)




More information about the Fedora-trans-list mailing list