[Sugar-devel] [ASLO] Release Speak-32

Daniel Drake dsd at laptop.org
Tue Sep 27 15:22:55 EDT 2011


On Tue, Sep 27, 2011 at 12:57 AM, Chris Leonard
<cjlhomeaddress at gmail.com> wrote:
> I looked at this commit
>
> http://git.sugarlabs.org/speak/mainline/commit/b7c2e4d33cee6757ef1f9a960a9fca65f242f5c9
>
> and I wonder if it really solves the problem from a L10n perspective.

It's a bad commit regardless of l10n stuff, and further shows a lack of testing.

>>> print "%(speak)s %(speak)s" % ('a', 'b')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: format requires a mapping

You have to provide a dictionary with the mapping of variable name to string.

Daniel


More information about the Sugar-devel mailing list