diff pyntnclick/main.py @ 795:42cfafa20437 pyntnclick

Add the rest of the commit
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 27 Jan 2013 13:01:09 +0200
parents bdaffaa8b6bf
children 5ec7905b2365
line wrap: on
line diff
--- a/pyntnclick/main.py	Sun Jan 27 12:59:40 2013 +0200
+++ b/pyntnclick/main.py	Sun Jan 27 13:01:09 2013 +0200
@@ -169,6 +169,8 @@
             if opts.scene is None:
                 print 'Need to supply a scene to use the rect drawer'
                 sys.exit(1)
+            gettext.bindtextdomain('pyntnclick_tools',
+                    self.resource.get_resource_path('locale'))
             make_rect_display()
             try:
                 self.engine = RectEngine(self, opts.detail)