D15865: Use system locale to display numbers in the scheduler.
Eric Dejouhanet
noreply at phabricator.kde.org
Sun Sep 30 21:09:22 BST 2018
TallFurryMan created this revision.
TallFurryMan added reviewers: mutlaqja, wreissenberger.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
TallFurryMan requested review of this revision.
REVISION 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.
REPOSITORY
R321 KStars
BRANCH
bugfix__decimal_locale_in_scheduler (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D15865
AFFECTED FILES
Tests/scheduler/simple_test_no_twilight.esl
kstars/ekos/scheduler/scheduler.cpp
kstars/ekos/scheduler/schedulerjob.cpp
To: TallFurryMan, mutlaqja, wreissenberger
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180930/5ef1a9c3/attachment.html>
More information about the kde-edu
mailing list