Opened 17 years ago

Closed 17 years ago

Last modified 17 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 by chrisclaydon, 17 years ago

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 by chrisclaydon, 17 years ago

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.