[Kstars-devel] KDE/kdeedu/kstars/kstars/tools

Akarsh Simha akarshsimha at gmail.com
Mon Jan 26 18:46:59 CET 2009


SVN commit 917019 by asimha:

Fixing i18n bug which prevented the Sun and Moon from being selected
in the conjunctions tool. The bug was preventing me from calculating
today's solar eclipse. Things now work.

I think the amount of obscuration shown by KStars seems to be lesser
than observed, and this is yet another thing to investigate.

We should really, really do something about the way translated names
are handled.

Will backport to 4.2 branch as well.

CCMAIL: kstars-devel at kde.org



 M  +2 -2      conjunctions.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/conjunctions.cpp #917018:917019
@@ -80,8 +80,8 @@
     pNames[KSPlanetBase::URANUS] = i18n("Uranus");
     pNames[KSPlanetBase::NEPTUNE] = i18n("Neptune");
     pNames[KSPlanetBase::PLUTO] = i18n("Pluto");
-    pNames[KSPlanetBase::SUN] = i18n("Sun");
-    pNames[KSPlanetBase::MOON] = i18n("Moon");
+    pNames[KSPlanetBase::SUN] = "Sun";
+    pNames[KSPlanetBase::MOON] = "Moon";
 
     for ( int i=0; i<KSPlanetBase::UNKNOWN_PLANET; ++i ) {
         //      Obj1ComboBox->insertItem( i, pNames[i] );


More information about the Kstars-devel mailing list