From 6352ea9e20d6ce882771c583abd4675dd2f6c012 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 23 Mar 2007 17:45:48 +0100 Subject: [PATCH] Unused --- sugar/activity/locale.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 sugar/activity/locale.py diff --git a/sugar/activity/locale.py b/sugar/activity/locale.py deleted file mode 100644 index 40080a41..00000000 --- a/sugar/activity/locale.py +++ /dev/null @@ -1,11 +0,0 @@ -import gettext -import os -import logging - -from sugar.activity import activity - -activity_path = activity.get_bundle_path() -service_name = os.environ['SUGAR_BUNDLE_SERVICE_NAME'] -gettext.bindtextdomain(service_name, os.path.join(activity_path, "locale")) -gettext.textdomain(service_name) -_ = gettext.gettext