3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
11 lines
483 B
Python
11 lines
483 B
Python
--- 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
|