[chronojump] Minor GUI changes



commit 76a34278ed019cef7fc56bb04cac909d4114f3e9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed May 14 12:11:06 2014 +0200

    Minor GUI changes

 encoder/graph.R        |    6 ++--
 glade/chronojump.glade |   62 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/constants.cs       |    4 +-
 3 files changed, 66 insertions(+), 6 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 847e154..4f53110 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -177,7 +177,7 @@ getDisplacementInertialBody <- function(displacement, draw, title)
 
                title(title, cex.main=1, font.main=1)
                mtext(paste(translate("time"),"(s)"),side=1,adj=1,line=-1)
-               mtext(paste(translate("height"),"(cm)"),side=2,adj=1,line=-1)
+               mtext(paste(translate("displacement"),"(cm)"),side=2,adj=1,line=-1)
        }
        return(displacementPerson)
 }
@@ -311,7 +311,7 @@ findCurves <- function(displacement, eccon, min_height, draw, title) {
 
                title(title, cex.main=1, font.main=1)
                mtext(paste(translate("time"),"(s)"),side=1,adj=1,line=-1)
-               mtext(paste(translate("height"),"(cm)"),side=2,adj=1,line=-1)
+               mtext(paste(translate("displacement"),"(cm)"),side=2,adj=1,line=-1)
        }
        return(as.data.frame(cbind(start,end,startH)))
 }
@@ -1251,7 +1251,7 @@ paint <- function(displacement, eccon, xmin, xmax, yrange, knRanges, superpose,
                }
                if(showLabels) {
                        mtext(paste(translate("time"),"(ms)"),side=1,adj=1,line=-1,cex=.9)
-                       mtext(paste(translate("height"),"(mm)"),side=2,adj=1,line=-1,cex=.9)
+                       mtext(paste(translate("displacement"),"(mm)"),side=2,adj=1,line=-1,cex=.9)
                }
        }
 }
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index b0dfcc0..7077ebf 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -231,7 +231,7 @@
               <widget class="GtkMenuItem" id="menuitem_mode">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Mode:</property>
+                <property name="label" translatable="yes">_Mode:</property>
                 <property name="use_underline">True</property>
                 <child>
                   <widget class="GtkMenu" id="menu2">
@@ -5524,6 +5524,9 @@ Second Chronopic to platforms.</property>
                                                     <child>
                                                       <placeholder/>
                                                     </child>
+                                                    <child>
+                                                      <placeholder/>
+                                                    </child>
                                                   </widget>
                                                   <packing>
                                                     <property name="expand">True</property>
@@ -6131,6 +6134,9 @@ Second Chronopic to platforms.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             </child>
                                                             <child>
@@ -6872,6 +6878,9 @@ Second Chronopic to platforms.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="position">2</property>
@@ -7372,6 +7381,9 @@ Second Chronopic to platforms.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="position">4</property>
@@ -11394,6 +11406,7 @@ on current Chronojump version.</property>
                                                           <widget class="GtkHBox" 
id="hbox_combo_encoder_exercise">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
+                                                            <property name="tooltip" 
translatable="yes">Exercise</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
@@ -11464,6 +11477,7 @@ on current Chronojump version.</property>
                                                           <widget class="GtkHBox" 
id="hbox_combo_encoder_eccon">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
+                                                            <property name="tooltip" translatable="yes">Type 
of contraction</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
@@ -11478,6 +11492,7 @@ on current Chronojump version.</property>
                                                           <widget class="GtkHBox" 
id="hbox_combo_encoder_laterality">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
+                                                            <property name="tooltip" 
translatable="yes">Right, Left or both (RL)</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
@@ -16719,6 +16734,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -17127,6 +17145,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -17957,6 +17978,12 @@ by you</property>
             <child>
               <placeholder/>
             </child>
+            <child>
+              <placeholder/>
+            </child>
+            <child>
+              <placeholder/>
+            </child>
           </widget>
           <packing>
             <property name="expand">True</property>
@@ -25484,6 +25511,24 @@ options</property>
                             <child>
                               <placeholder/>
                             </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
                           </widget>
                         </child>
                       </widget>
@@ -27281,6 +27326,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                 <child>
                                   <placeholder/>
                                 </child>
+                                <child>
+                                  <placeholder/>
+                                </child>
                               </widget>
                             </child>
                           </widget>
@@ -27748,6 +27796,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -29521,6 +29572,9 @@ show elevation as:</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                       <packing>
                         <property name="left_attach">2</property>
@@ -29593,6 +29647,9 @@ show elevation as:</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -29680,6 +29737,9 @@ show elevation as:</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
diff --git a/src/constants.cs b/src/constants.cs
index 4b94825..a4c872f 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -763,7 +763,7 @@ public class Constants
                "Time to Peak Power",
                "time",
                "Range",
-               "height",
+               "distance",
                "Weight",
                "Load",
                "eccentric",
@@ -809,7 +809,7 @@ public class Constants
                Catalog.GetString("Time to Peak Power"),
                Catalog.GetString("time"),
                Catalog.GetString("Range"),
-               Catalog.GetString("height"),
+               Catalog.GetString("distance"),
                Catalog.GetString("Weight"),
                Catalog.GetString("Load"),
                Catalog.GetString("eccentric"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]