This commit is contained in:
Marco Pesenti Gritti 2007-03-23 17:45:48 +01:00
parent ba242f34b7
commit 6352ea9e20

View File

@ -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