On Fri, Aug 21, 2009 at 12:59:28PM -0300, Domingo Becker wrote:
2009/8/21 Paul W. Frields <stickster(a)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.
Thanks for this info Domingo -- I am not yet up on all the 2.6 changes
so I'm happy someone else around here knows what he's talking
about. :-)
--
Paul W. Frields
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
http://redhat.com/ - - - -
http://pfrields.fedorapeople.org/
irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug