diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f4692eff..d0f21e70 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -10,6 +10,7 @@ assignees: '' **Please complete the following information:** - Version [e.g. 4.0.6 - See 'Help > About E:D Market Connector'] - OS: [e.g. Windows 10] + - OS Locale: [e.g. English, French, Serbian...] - If applicable: Browser [e.g. chrome, safari] - Please attach the file `%TEMP%\EDMarketConnector.log` from *immediately* after the bug occurs (re-running the application overwrites this file). Use the Icon that looks like `_`, `|` and `^` all in one character towards the right of the toolbar above. diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 1898fe83..765fa62f 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -6,6 +6,7 @@ from builtins import object import sys from sys import platform import json +import locale from os import chdir, environ from os.path import dirname, isdir, join import re @@ -1037,7 +1038,12 @@ if __name__ == "__main__": argv[0]: {sys.argv[0]} exec_prefix: {sys.exec_prefix} executable: {sys.executable} -sys.path: {sys.path}''' +sys.path: {sys.path} +Locale LC_COLLATE: {locale.getlocale(locale.LC_COLLATE)} +Locale LC_CTYPE: {locale.getlocale(locale.LC_CTYPE)} +Locale LC_MONETARY: {locale.getlocale(locale.LC_MONETARY)} +Locale LC_NUMERIC: {locale.getlocale(locale.LC_NUMERIC)} +Locale LC_TIME: {locale.getlocale(locale.LC_TIME)}''' ) # TODO: unittests in place of these