Page 1 of 1

Locale fixes

Posted: Mon May 11, 2020 6:57 am
by kgschlosser
This is a nightly built of EventGhost that contains hopefully fixes for the locale issues.

Options Dialog fixed
SpinNumCtrl thousands separator fixed
Windows locale that has a virtual LCID fixed
Expanded language support (more locale options in language dialog).

https://ci.appveyor.com/api/buildjobs/y ... _Setup.exe

There may still be an issue with using a locale that has a virtual LCID I am not sure if wxPython is going to pitch a fit about it after language selection is made and a restart of EG takes place.

Re: Locale fixes

Posted: Fri May 29, 2020 11:54 pm
by Radar73
Getting an error accessing options:

Traceback (most recent call last) (WIP-2020.05.11-06.47.41):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\OptionsDialog.py", line 193, in Configure
languageChoice.SetSelection(locale.label)
File "wx\_core.pyc", line 12993, in SetSelection
TypeError: in method 'ItemContainer_SetSelection', expected argument 2 of type 'int'

After the first install, I can get in to options, on subsequent tries I get the above.

Re: Locale fixes

Posted: Sat May 30, 2020 12:49 am
by kgschlosser
that's an easy fix I will take care of.