Revision 901758
Go back to digest for 28th December 2008Bug Fixes in Educational
Akarsh Simha committed changes in /trunk/KDE/kdeedu/kstars/kstars:
Fixing a lot of issues caused by translated planet names.
These are temporary "ugly" fixes, before the KDE 4.2 release that we might want to revert and re-design later.
The trouble is that in the case of Sun, Earth and Moon, the name() method returns the English name whereas on other planets, it returns the translated name (while that's not the way it should be, according to the documentation in skyobject.h).
A quick fix for this is to make sure that we always use the translated name to find the planet.
There will still be (minor) issues with languages that have a translation for Pluto.
File Changes
Modified 7 files
- /trunk/KDE/kdeedu/kstars/kstars
- /detaildialog.cpp
- /ksplanetbase.cpp
- /skymapdraw.cpp
- /skycomponents/skymapcomposite.cpp
- /tools/ksconjunct.cpp
- /tools/obslistwizard.cpp
- /tools/planetviewer.cpp
7 files changed in total