Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/env.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-23 14:05:42 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-23 14:05:42 (GMT)
commita11809cccc5caba31a6fc572b5d561a167269af1 (patch)
tree9065e2a0c2b354262ff77706ec1a35cf086dce54 /sugar/env.py
parent81d216babd32aa30c37932f5c6d766be32c6adb1 (diff)
Actually setup translations in the shell.
Fix the it translation to use utf8.
Diffstat (limited to 'sugar/env.py')
-rw-r--r--sugar/env.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/env.py b/sugar/env.py
index ed4e72d..00539b5 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -58,6 +58,9 @@ def get_user_activities_path():
def get_bin_path(path=None):
return _get_prefix_path('bin', path)
+def get_locale_path(path=None):
+ return _get_prefix_path('share/locale', path)
+
def get_service_path(name):
return _get_prefix_path('share/sugar/services', name)