~brian-nitz/+junk/a11ytesting

« back to all changes in this revision

Viewing changes to mago/cmd/globals.py

  • Committer: Ara Pulido
  • Date: 2010-10-18 11:27:36 UTC
  • Revision ID: ara@ubuntu.com-20101018112736-fdyv2we0o5grjh3w
Fix path to translations. Thanks to Juanje Ojeda

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
def _get_locale_dir():
26
26
    if os.path.exists(os.path.join(_get_grandparent_dir(__file__), 'setup.py')):
27
27
        # We are in the build directory.
28
 
        return os.path.join(_get_grandparent_dir(__file__), 'po')
 
28
        return os.path.join(_get_grandparent_dir(__file__), 'build/mo')
29
29
    else:
30
30
        # We are in an installed prefix.
31
31
        prefix = os.path.dirname(__file__)