[GRASS-git] [OSGeo/grass] 25835a: wxGUI: added install no translation function (#156)

Māris Nartišs noreply at github.com
Tue Nov 5 14:27:53 PST 2019


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 25835a286ea70f80bb5745ffb0c0d0dd728f7927
      https://github.com/OSGeo/grass/commit/25835a286ea70f80bb5745ffb0c0d0dd728f7927
  Author: Māris Nartišs <mn at sungis.lv>
  Date:   2019-11-05 (Tue, 05 Nov 2019)

  Changed paths:
    M gui/wxpython/core/gcmd.py
    M lib/init/grass.py

  Log Message:
  -----------
  wxGUI: added install no translation function (#156)

- wxGUI: _ is needed for startup code itself. In case of error, provide no translation but allow to continue, fixing this error: `NameError: global name '_' is not defined`
- Python3 migration: Always provide encoding for decode as the rest of code assumes str instead of bytes.
- Fixes C and POSIX case of https://trac.osgeo.org/grass/ticket/3922 and https://trac.osgeo.org/grass/ticket/3875




More information about the grass-commit mailing list