Commit 3496b04a authored by Alvin Penner's avatar Alvin Penner Committed by Alvin Penner

extensions. maintain gettext compatibility with rev 11749

(bzr r11752)
parent f8f503f3
......@@ -16,10 +16,13 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
'''
# local library
import inkex
import simplepath
import simpletransform
import cubicsuperpath
import inkex, simplepath, simpletransform, cubicsuperpath
import gettext
_ = gettext.gettext
inkex.localize()
class Extrude(inkex.Effect):
def __init__(self):
......
......@@ -27,11 +27,15 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
'''
# standard library
from ctypes import *
import inkex, simplestyle, simpletransform, cubicsuperpath
import gettext
_ = gettext.gettext
# local library
import inkex
import simplestyle
import simpletransform
import cubicsuperpath
inkex.localize()
if not inkex.sys.platform.startswith('win'):
exit(_("sorry, this will run only on Windows, exiting..."))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment