Mercurial > getan > getan
view getan/resources.py @ 265:b702af6793c6
Remove calling Controller update_project_list
The method got removed and was completely obsolete
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 11 Apr 2013 12:40:24 +0200 |
parents | d4ce02a33acd |
children | 7e27d2145007 |
line wrap: on
line source
import gettext as py_gettext import os _base_dir = os.path.join(os.path.dirname(__file__), os.pardir) share_dir = os.path.join(_base_dir, "share") def gettext(message): modir = os.path.join(share_dir, "locale") t = py_gettext.translation("getan", modir, fallback=True) return t.ugettext(message)