Bug 149261

Summary: Galactic/Equatorial coordinates conversion does not work
Product: [Applications] kstars Reporter: R. Kortekaas <r.kortekaas>
Component: generalAssignee: kstars
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description R. Kortekaas 2007-08-27 13:30:53 UTC
Version:           1.2.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-4-486

Tools - Calculator - Celestial coordinates:

All tools work apart from Galactic/Equatorial coordinates conversion. It will allow itself to be selected by mouse, but the form on the right does not change so that no data can be entered.
Comment 1 kstars 2007-08-27 16:10:37 UTC
SVN commit 705228 by harris:

Fixing bug #149261.

I don't know if there will be another 3.5 release, but if you have the
source code, you can fix this very easily:

Open the file kdeedu/kstars/kstars/tools/astrocalc.cpp.  
Search for the word "Cooordinates" and change it to "Coordinates".

This issue doesn't exist in trunk.

BUG: 149261



 M  +1 -1      astrocalc.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/tools/astrocalc.cpp #705227:705228
@@ -115,7 +115,7 @@
 		genCoordText();
 	if(!(election.compare(i18n("Julian Day"))))
 		genJdFrame();
-	if(!(election.compare(i18n("Galactic Cooordinates"))))
+	if(!(election.compare(i18n("Galactic Coordinates"))))
 		genGalFrame();
 	if(!(election.compare(i18n("Precession"))))
 		genPrecFrame();
Comment 2 R. Kortekaas 2007-08-27 16:56:13 UTC
Thanks very much for the prompt reply and diagnosis!
I shall have a go at the suggested edit.

Rudie


>Fixing bug #149261.
> 
> I don't know if there will be another 3.5 release, but 
>if you have the
> source code, you can fix this very easily:
> 
> Open the file kdeedu/kstars/kstars/tools/astrocalc.cpp. 
> 
> Search for the word "Cooordinates" and change it to 
>"Coordinates".
> 
> This issue doesn't exist in trunk.
> 
> BUG: 149261
> 
> 
> 
> M  +1 -1      astrocalc.cpp  
> 
> 
> --- 
>branches/KDE/3.5/kdeedu/kstars/kstars/tools/astrocalc.cpp 
>#705227:705228
> @ -115,7 +115,7  @
> 		genCoordText();
> 	if(!(election.compare(i18n("Julian Day"))))
> 		genJdFrame();
> -	if(!(election.compare(i18n("Galactic Cooordinates"))))
> +	if(!(election.compare(i18n("Galactic Coordinates"))))
> 		genGalFrame();
> 	if(!(election.compare(i18n("Precession"))))
> 		genPrecFrame();