]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/lib/colourchooser/intl.py
3 Copyright (C) 2002 Michael Gilfix <mgilfix@eecs.tufts.edu>
5 This file is part of wxPyColourChooser.
7 This version of wxPyColourChooser is open source; you can redistribute it
8 and/or modify it under the licensed terms.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 gettext
.bindtextdomain('wxpycolourchooser')
19 gettext
.textdomain('wxpycolourchooser')
21 except Exception, strerror
:
22 print "Warning: Couldn't import translation function: %(str)s" %{ 'str' : strerror }
23 print "Defaulting to En"