view gamelib/constants.py @ 782:6a3440c8be8d pyntnclick

The title needs to be lazily translated. It's evaluated before we set up gettext
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 26 Jan 2013 19:13:07 +0200
parents 5fb962434159
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'