If ',' is used as decimal separator by the current locale a '.' is also accepted. Also add support for units "mi", "th" and "in" as described in the documentation of pcbnew. Fixes: lp:1751315 * https://bugs.launchpad.net/kicad/+bug/1751315