summaryrefslogtreecommitdiff
path: root/games/galaxymage/files/patch-src_Translate.py
blob: f6d7d0e7978161ff100b187f5a89d17b87c2f2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/Translate.py	Mon Jan 30 20:20:01 2006
+++ src/Translate.py	Mon Jan 30 20:21:30 2006
@@ -4,7 +4,7 @@
 class Translate:
        
     def getLanguageDict(self,lang):
-        return gettext.translation('GalaxyMage',os.path.join(os.getcwd(),'locale'), languages=[lang])
+        return gettext.translation('GalaxyMage',os.path.join('%%LOCALBASE%%/share/locale'), languages=[lang])
     
     def __init__(self):       
         #fill our language dictionnary with each language