Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-04-02 13:32:46 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-04-02 13:32:46 (GMT)
commit1b30746b7551d9f85ec0708ecf89a54b3d4217a1 (patch)
treea41a3b6c97e15f3ded55162c873097b448431f0a
parentab38ffec490a6f65af6ae8e0ae17e7bc37cdfd85 (diff)
broken in Sugar
-rw-r--r--gettextutil.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/gettextutil.py b/gettextutil.py
deleted file mode 100644
index ebeebb3..0000000
--- a/gettextutil.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2010-11 Walter Bender, Martin Langhoff
-# License: GPLv2
-
-# Defines the magic global _() with the right params so all modules
-# can use it.
-#
-# Plugins that want to override MUST use a different technique. See
-# the developer notes in the TA wikipage.
-#
-import gettext
-import os
-
-# In a git checkout, locale is in the root of the project
-# so one dir "up" from tagettext.py
-localedir = os.path.join(os.path.dirname(os.path.dirname(__file__)),
- 'locale' )
-
-if os.path.exists(localedir):
- # works from a git checkout
- gettext.install('org.laptop.TurtleArtActivity', localedir)
-else:
- # fallback for packaged TA (rpm, xo)
- gettext.install('org.laptop.TurtleArtActivity')