diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-07-25 22:20:18 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-07-25 22:20:18 (GMT) |
commit | b305fa58a0cdcd2e2944916dd8dfc79152b0c553 (patch) | |
tree | 67d83f79a89dfb98811f297750b0a58847905186 | |
parent | 679bf360ed72f3749f616302072fdcd63c7833af (diff) |
alan aguiar patch to fix locale problem
-rwxr-xr-x | turtleblocks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/turtleblocks.py b/turtleblocks.py index c8fc697..661ccc5 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -72,6 +72,8 @@ class TurtleMain(): activity_info_path = os.path.abspath('./activity/activity.info') file_activity_info.read(activity_info_path) bundle_id = file_activity_info.get('Activity', 'bundle_id') + path = os.path.abspath('./locale/') + gettext.bindtextdomain(bundle_id, path) gettext.textdomain(bundle_id) global _ _ = gettext.gettext |