File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1414# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17- #
18- # $Id: i18n.py,v 1.4 2004-02-11 23:55:08 richard Exp $
17+ #
18+ # $Id: i18n.py,v 1.5 2004-05-14 10:40:47 a1s Exp $
1919
2020"""
2121RoundUp Internationalization (I18N)
4545 # fall-back to dummy on errors (returning the english text)
4646 _ = lambda text : text
4747else :
48- # and for now, we JUST implement the dummy in any case
49- _ = lambda text : text
48+ # use roundup messages
49+ gettext .textdomain ("roundup" )
50+ # export gettext function
51+ _ = gettext .gettext
5052
5153# vim: set filetype=python ts=4 sw=4 et si
You can’t perform that action at this time.
0 commit comments