Changeset 3411
- Timestamp:
- 09/28/07 07:35:51 (1 year ago)
- Files:
-
- trunk/dabo/dLocalize.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/dLocalize.py
r3364 r3411 89 89 90 90 def getDaboLocaleDir(): 91 locale dir = os.path.join(os.path.split(dabo.__file__)[0], "locale")92 if not os.path.isdir(locale dir):91 localeDir = os.path.join(os.path.split(dabo.__file__)[0], "locale") 92 if not os.path.isdir(localeDir): 93 93 # Frozen app? 94 94 # First need to find the directory that contains the .exe: … … 98 98 if os.path.isdir(startupDir): 99 99 break 100 locale dir = os.path.join(startupDir, "dabo.locale")101 return locale dir100 localeDir = os.path.join(startupDir, "dabo.locale") 101 return localeDir 102 102 103 103
