doncatnip/kanone — Issue #3: Add gettext to messages
Author: nikitinsm
Created: 2012-01-18 04:21:09+00:00
State: open

Example:

**before**

```python
@messages\
( type="Invalid type (%(value.type)s), must be a integer"
, convert="Could not convert %(value.type)s to integer"
)
```

**after**

```python
from gettext import gettext as _

@messages\
( type=_("Invalid type (%(value.type)s), must be a integer")
, convert=_("Could not convert %(value.type)s to integer")
)
```