qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.26k stars 2.95k forks source link

GRASS errors not displayed as feedback errors on non english systems #43936

Open nicogodet opened 3 years ago

nicogodet commented 3 years ago

Describe the bug

If GRASS output log contains "ERROR" or "WARNING", the line is displayed using feedback.reportError()

https://github.com/qgis/QGIS/blob/fbf77905e5313ce974bbdd74c4a436fe6e5584c5/python/plugins/grassprovider/Grass7Utils.py#L407-L408

But ! On non english system, ERROR or WARNING could be translated. Like in french, ERROR becomes ERREUR. image

gioman commented 3 years ago

I hate those GRASS log messages to come out localized, even if my system OS is EN as QGIS too. It seems to take the region used at a operating system level. Can we make show only in English regardless of the rest?

nicogodet commented 3 years ago

English AND UTF8 !