You are right Diez.
The translator replaced '%s dal' with '%from'...
this is why it wanted a float.
thanks a lot,
j
Diez B. Roggisch wrote:
On Tuesday, May 31, 2011 12:26:45 pm jose soares wrote:
Hi all,
I would like to ask if someone have seen a such thing, using the _()
funcion :
(Pdb) _('%s dal %s al %s') % ('a','b','c')
*** TypeError: a float is required
Have you tried executing it without the "% ..." and see what the translation
came up with? I presume your translation is botched & introduced a "%f".
Diez
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.