[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Wed Jul 21 02:19:59 CEST 2010
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 at 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() ) )
More information about the Kstars-devel
mailing list