On Fri, Aug 21, 2009 at 10:53:27AM +0100, Rui Gouveia wrote:
Hi,
In the file smolt.master-smoon.messages.po, in the line:
#: hardware/templates/deviceclass.html:19
#, python-format
msgid "% hosts detected ${type}"
msgstr "% máquinas detectadas ${type}"
I get this error:
$ msgfmt -c smolt.master-smoon.messages.po
smolt.master-smoon.messages.po:44: 'msgstr' is not a valid Python format
string, unlike 'msgid'. Reason: In the directive number 1, the character
'm' is not a valid conversion specifier.
I already tried:
msgstr "máquinas detectadas ${type}"
and
msgstr "máquinas detectadas"
with no results.
Right now the strings is fuzzy (it's the last one).
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.
--
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