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

Akarsh Simha akarshsimha at gmail.com
Mon Jan 26 18:47:23 CET 2009


SVN commit 917020 by asimha:

Backporting fix for an i18n bug. The original commit log is as
follows:

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.

CCMAIL: kstars-devel at kde.org        
                                                                  


 M  +2 -2      conjunctions.cpp  


--- branches/KDE/4.2/kdeedu/kstars/kstars/tools/conjunctions.cpp #917019:917020
@@ -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