JP, I think I have worked it out!

> Unfortunately, it does not work in countries which use a comma as floating
> point separator:
> I cannot enter floating point values:
>
> The validator expects a comma as floating point separator, and the python
> script expects a point as
> separator.


The python script now strips out commas and replaces them with periods.
When the KiCad function reads the values back in, it replaces all commas or
periods (for numeric values only)
with wxNumberFormatter::GetDecimalSeparator()

I have tested this by switching my locale settings to use commas and it
seems to work well.
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to