Use system locale to display numbers in the scheduler.
ClosedPublic

Authored by TallFurryMan on Sep 30 2018, 8:09 PM.

Details

Summary

Made XML serialization always use the C locale.
Displayed numbers based on locale in the job table.
Updated RA/DEC values in simple_test_no_twilight.esl with my own locale.
Homogeneized RA/DEC box display - no locale support planned in dmsBox yet.

Test Plan

Load scheduler test vector 'simple_test_no_twilight.esl'.
Check all target RA/DEC coordinates display properly.
Edit each target, re-open the object selection panel and re-select the same target.
Save the scheduler test vector, then re-load the scheduler test vector.
Without the change, depending on the locale, target coordinates are incorrect and only contain the integer part.
With the change, target coordinates are always matching their catalog reference.

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
TallFurryMan created this revision.Sep 30 2018, 8:09 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptSep 30 2018, 8:09 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
TallFurryMan requested review of this revision.Sep 30 2018, 8:09 PM
mutlaqja accepted this revision.Oct 1 2018, 7:10 AM
This revision is now accepted and ready to land.Oct 1 2018, 7:10 AM
This revision was automatically updated to reflect the committed changes.