From f67a1150e9f23c8b23e83b10cc97b2a43d59215f Mon Sep 17 00:00:00 2001 From: Antoine van Gelder Date: Tue, 30 Oct 2007 20:45:00 +0000 Subject: * Feature: If no sound set, play default sound: laugh_attack.au * Fixed: Activity icon now adopts users color scheme * Fixed: Temp directory now rooted off activity.get_activity_root() * Fixed: Moved locale/ dir back to po/ * Fixed: Temp filenames now created using more secure tempfile.mkstemp() * i18n: Changed pot files to utf-8 --- (limited to 'JokeMachineActivity.py') diff --git a/JokeMachineActivity.py b/JokeMachineActivity.py index 3259a9e..654d3e7 100644 --- a/JokeMachineActivity.py +++ b/JokeMachineActivity.py @@ -72,8 +72,8 @@ class JokeMachineActivity(activity.Activity): # TODO - clean - install gettext os.chdir(Globals.pwd) # required for i18n.py to work - #gettext.install('JokeMachine', './locale', unicode=True) - #presLan_af = gettext.translation("JokeMachine", os.path.join(Globals.pwd, 'locale'), languages=['af']) + #gettext.install('JokeMachine', './po', unicode=True) + #presLan_af = gettext.translation("JokeMachine", os.path.join(Globals.pwd, 'po'), languages=['af']) #presLan_af.install() #locale.setlocale(locale.LC_ALL, 'af') -- cgit v0.9.1