Changeset 64834


Ignore:
Timestamp:
Mar 11, 2015, 1:50:02 AM (9 years ago)
Author:
glynn
Message:

Attempt to fix gettext behaviour (issue #2617)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/lib/python/script/core.py

    r63591 r64834  
    3535import gettext
    3636gettext.install('grasslibs', os.path.join(os.getenv("GISBASE"), 'locale'))
     37import __builtin__
     38__builtin__.__dict__['_'] = __builtin__.__dict__['_'].im_self.lgettext
    3739
    3840# subprocess wrapper that uses shell on Windows
Note: See TracChangeset for help on using the changeset viewer.