Mercurial > boomslang
view gamelib/constants.py @ 789:1466365bd395 pyntnclick
Add a test for loading a resource with a dialect.
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 20:11:17 +0200 |
parents | 6a3440c8be8d |
children | bdaffaa8b6bf |
line wrap: on
line source
from pyntnclick.constants import GameConstants # Anything here has to be explicitly translated # This module is imported before we've set up i18n _ = lambda x: x class SSConstants(GameConstants): title = _('Suspended Sentence') icon = 'suspended_sentence24x24.png' i18n_name = 'suspended-sentence'