Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#142 closed defect (fixed)

AJAX Viewer: Numerical values not localized in status bar, measure and buffer

Reported by: chrisclaydon Owned by: chrisclaydon
Priority: medium Milestone: 1.2
Component: AJAX Viewer Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 932528

Description

The numerical values displayed in the status bar and the measure command should use the correct decimal separator for the requested locale. The distance value entered in the buffer command should use a decimal separator appropriate to the specified locale.

Change History (2)

comment:1 Changed 12 years ago by chrisclaydon

Resolution: fixed
Status: newclosed

Fixed in 1.2.x by submission http://trac.osgeo.org/mapguide/changeset/1730

Fixed in trunk by submission http://trac.osgeo.org/mapguide/changeset/1731

The decimal separator and thousand separator are now defined in the resource file for the locale.

The locale-specific decimal separator will be used in the status bar and measure display.

The buffer command will interpret the typed-in string in the distance field using the locale-specific decimal and thousand separators.

comment:2 Changed 11 years ago by chrisclaydon

Fixed validation code that wasn't using localized decimal and thousand separators:

Fixed in 1.2.x by submission http://trac.osgeo.org/mapguide/changeset/1814

Fixed in trunk by submission http://trac.osgeo.org/mapguide/changeset/1815

Note: See TracTickets for help on using tickets.