mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-28 14:12:52 -06:00
24 lines
727 B
Python
Executable file
24 lines
727 B
Python
Executable file
"""
|
|
PyColourChooser
|
|
Copyright (C) 2002 Michael Gilfix <mgilfix@eecs.tufts.edu>
|
|
|
|
This file is part of PyColourChooser.
|
|
|
|
This version of PyColourChooser is open source; you can redistribute it
|
|
and/or modify it under the licensed terms.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
"""
|
|
|
|
try:
|
|
import gettext
|
|
|
|
gettext.bindtextdomain('pycolourchooser')
|
|
gettext.textdomain('pycolourchooser')
|
|
_ = gettext.gettext
|
|
except Exception as strerror:
|
|
print("Warning: Couldn't import translation function: %(str)s" %{ 'str' : strerror })
|
|
print("Defaulting to En")
|
|
_ = lambda x: x
|