Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleart.py
diff options
context:
space:
mode:
Diffstat (limited to 'turtleart.py')
-rwxr-xr-xturtleart.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/turtleart.py b/turtleart.py
index ea3a784..9ef87a1 100755
--- a/turtleart.py
+++ b/turtleart.py
@@ -43,14 +43,8 @@ except ImportError, e:
argv = sys.argv[:] # Workaround for import behavior of gst in tagplay
sys.argv[1:] = [] # Execution of import gst cannot see '--help' or '-h'
-import gettext
-
-# Commenting out bindtextdomain so that GNOME can find the installed .mo files,
-# but it will not find the .mo files in the local locale directory when running
-# from a git repository or the unzipped .xo file.
-# gettext.bindtextdomain('org.laptop.TurtleArtActivity', 'locale')
-gettext.textdomain('org.laptop.TurtleArtActivity')
-_ = gettext.gettext
+# installs the global _() magic
+import TurtleArt.tagettext
from TurtleArt.taconstants import OVERLAY_LAYER, DEFAULT_TURTLE_COLORS
from TurtleArt.tautils import data_to_string, data_from_string, get_save_name