[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kstars-devel
Subject:    [Kstars-devel] KDE/kdeedu/kstars/kstars
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2010-07-21 0:19:59
Message-ID: 20100721001959.74F45AC76D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1152415 by asimha:

Usability fix -- make the menu action of going from Equatorial to
Horizontal coordinates or vice versa more descriptive.

I've used the words "star globe view" for equatorial coordinates and
"horizonal view" for horizontal coordinates, since they are more
intuitive to the beginner.

CCMAIL: kstars-devel@kde.org



 M  +1 -1      kstars.cpp  
 M  +2 -2      kstarsactions.cpp  
 M  +1 -1      kstarsinit.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kstars.cpp #1152414:1152415
@@ -151,7 +151,7 @@
     }
 
     actionCollection()->action("coordsys")->setText(
-        Options::useAltAz() ? i18n("Horizontal &Coordinates") : i18n("Equatorial \
&Coordinates") ); +        Options::useAltAz() ? i18n("Switch to star globe view \
(Equatorial &Coordinates)"): i18n("Switch to horizonal view (Horizontal \
&Coordinates)") );  
     actionCollection()->action("show_time_box"    )->setChecked( \
                Options::showTimeBox() );
     actionCollection()->action("show_location_box")->setChecked( \
                Options::showGeoBox() );
--- trunk/KDE/kdeedu/kstars/kstars/kstarsactions.cpp #1152414:1152415
@@ -831,13 +831,13 @@
                 map()->focus()->HorizontalToEquatorial( data()->lst(), \
data()->geo()->lat() );  }
         }
-        actionCollection()->action("coordsys")->setText( i18n("Equatorial \
&Coordinates") ); +        actionCollection()->action("coordsys")->setText( \
i18n("Switch to horizonal view (Horizontal &Coordinates)") );  } else {
         Options::setUseAltAz( true );
         if ( Options::useRefraction() ) {
             map()->setFocusAltAz( map()->focus()->altRefracted(), \
map()->focus()->az() );  }
-        actionCollection()->action("coordsys")->setText( i18n("Horizontal \
&Coordinates") ); +        actionCollection()->action("coordsys")->setText( \
i18n("Switch to star globe view (Equatorial &Coordinates)") );  }
     map()->forceUpdate();
 }
--- trunk/KDE/kdeedu/kstars/kstars/kstarsinit.cpp #1152414:1152415
@@ -215,7 +215,7 @@
     actionCollection()->addAction( KStandardAction::FullScreen, this, SLOT( \
slotFullScreen() ) );  
     actionCollection()->addAction("coordsys", this, SLOT( slotCoordSys() ) )
-        << (Options::useAltAz() ? i18n("Horizontal &Coordinates") : i18n("Equatorial \
&Coordinates")) +        << (Options::useAltAz() ? i18n("Switch to star globe view \
(Equatorial &Coordinates)"): i18n("Switch to horizonal view (Horizontal \
&Coordinates)"))  << KShortcut("Space" );
 
     actionCollection()->addAction("project_lambert", this, SLOT( slotMapProjection() \
) ) _______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic