[kde-doc-english] [kstars] kstars: More UI improvements -- rename and reorganize OAL logging related stuff

Akarsh Simha akarsh.simha at kdemail.net
Thu Oct 30 02:35:21 UTC 2014


Git commit 8785ec5d84278bb083d2dc72a98fa20777d1bce3 by Akarsh Simha.
Committed on 30/10/2014 at 02:06.
Pushed by asimha into branch 'master'.

More UI improvements -- rename and reorganize OAL logging related stuff

1. Move OAL-related configurations into a sub-menu under Settings
2. Give "Define Equipment" action more intuitive names

GUI:

M  +2    -2    kstars/kstarsinit.cpp
M  +4    -2    kstars/kstarsui-indi.rc
M  +4    -2    kstars/kstarsui-win.rc
M  +4    -2    kstars/kstarsui.rc
M  +1    -1    kstars/oal/equipmentwriter.cpp

http://commits.kde.org/kstars/8785ec5d84278bb083d2dc72a98fa20777d1bce3

diff --git a/kstars/kstarsinit.cpp b/kstars/kstarsinit.cpp
index 3a6bf34..f892adc 100644
--- a/kstars/kstarsinit.cpp
+++ b/kstars/kstarsinit.cpp
@@ -410,10 +410,10 @@ void KStars::initActions() {
         << i18n("Flags");
 
     actionCollection()->addAction("ewriter", this, SLOT( slotEquipmentWriter() ) )
-        << i18n("Define Equipment...")
+        << i18n("List your &Equipment...")
         << KShortcut( Qt::CTRL+Qt::Key_0 );
     actionCollection()->addAction("obsadd", this, SLOT( slotObserverAdd() ) )
-        << i18n( "Add Observer..." )
+        << i18n( "Add &Observer..." )
         << KShortcut( Qt::CTRL+Qt::Key_1 );
 
     // ==== observation menu ================
diff --git a/kstars/kstarsui-indi.rc b/kstars/kstarsui-indi.rc
index a01b3cc..e668a17 100644
--- a/kstars/kstarsui-indi.rc
+++ b/kstars/kstarsui-indi.rc
@@ -113,8 +113,10 @@
 		<Action name="fovsymbols" /> <!-- This is a KMenuAction-->
 		<Action name="opengl" />
 		<Separator />
-		<Action name="ewriter"/>
-		<Action name="obsadd"/>
+		<Menu name="config_oal"><text>Configure Observation &Logging</text>
+		  <Action name="ewriter"/>
+		  <Action name="obsadd"/>
+		</Menu>
 		<Separator />
 		<Action name="geolocation" />
 		<Separator />
diff --git a/kstars/kstarsui-win.rc b/kstars/kstarsui-win.rc
index e05e026..5f1eead 100644
--- a/kstars/kstarsui-win.rc
+++ b/kstars/kstarsui-win.rc
@@ -109,8 +109,10 @@
 		<Action name="fovsymbols" /> <!-- This is a KMenuAction-->
 		<Action name="opengl" />
 		<Separator />
-		<Action name="ewriter"/>
-		<Action name="obsadd"/>
+		<Menu name="config_oal"><text>Configure Observation &Logging</text>
+		  <Action name="ewriter"/>
+		  <Action name="obsadd"/>
+		</Menu>
 		<Separator />
 		<Action name="geolocation" />
         <Separator />
diff --git a/kstars/kstarsui.rc b/kstars/kstarsui.rc
index 771bf90..240a7dc 100644
--- a/kstars/kstarsui.rc
+++ b/kstars/kstarsui.rc
@@ -104,8 +104,10 @@
 		<Action name="fovsymbols" /> <!-- This is a KMenuAction-->
 		<Action name="opengl" />
 		<Separator />
-		<Action name="ewriter"/>
-		<Action name="obsadd"/>
+		<Menu name="config_oal"><text>Configure Observation &Logging</text>
+		  <Action name="ewriter"/>
+		  <Action name="obsadd"/>
+		</Menu>
 		<Separator />
 		<Action name="geolocation" />
 		<Separator />
diff --git a/kstars/oal/equipmentwriter.cpp b/kstars/oal/equipmentwriter.cpp
index 8b79ce9..016401d 100644
--- a/kstars/oal/equipmentwriter.cpp
+++ b/kstars/oal/equipmentwriter.cpp
@@ -41,7 +41,7 @@ EquipmentWriter::EquipmentWriter() {
     ui.setupUi( widget );
     ui.tabWidget->setCurrentIndex(0);
     setMainWidget( widget );
-    setCaption( i18n( "Define Equipment" ) );
+    setCaption( i18n( "Configure Equipment" ) );
     setButtons( KDialog::Close );
     ks = KStars::Instance();
     nextScope = 0;



More information about the kde-doc-english mailing list