praekelt/vumi-jssandbox-toolkit — pull request #94 by justinvdm (2014-03-03 19:43:39+00:00)
Title: Move state.translate earlier in processing chain.

Currently ``state.translate`` is called in ``reply.send`` but a state might need to be translated earlier so we should move it be part of ``state.setup``.

An example use case is the ``ChoiceState`` checking whether user input matches a ``Choice`` label. Currently this will match against the untranslated label, which is probably not what we want.