[chronojump] Better info on 1RM window



commit 31f6411557bde9f6539bb004063df0637f499c17
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jun 9 15:32:51 2016 +0200

    Better info on 1RM window

 glade/chronojump.glade |    1 +
 src/gui/encoder.cs     |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index f07e5b1..d43f86f 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -31900,6 +31900,7 @@ One set can contain several tests.</property>
               <packing>
                 <property name="expand">True</property>
                 <property name="fill">True</property>
+                <property name="padding">8</property>
                 <property name="position">10</property>
               </packing>
             </child>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 6853c6a..2c5b070 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -740,17 +740,17 @@ public partial class ChronoJumpWindow
                bigArray.Add(a3);
        
                genericWin = GenericWindow.Show(false,  //don't show now
-                               string.Format(Catalog.GetString("Saved 1RM values of athlete {0} on this 
session."), 
-                                       currentPerson.Name) + "\n" + 
+                               string.Format(Catalog.GetString("Saved 1RM values of athlete {0} in {1} 
exercise."), 
+                                       currentPerson.Name, 
UtilGtk.ComboGetActive(combo_encoder_exercise_capture)) + "\n" + 
                                Catalog.GetString("If you want to delete a row, right click on it.") + "\n" + 
-                               Catalog.GetString("If there is more than one value for an exercise,\nthe used 
value is the top one."),
+                               Catalog.GetString("If there is more than one value, top one will be used."),
                                bigArray);
 
                genericWin.SetTreeview(columnsString, false, dataPrint, new ArrayList(), 
Constants.ContextMenu.DELETE, false);
                genericWin.LabelSpinDouble2 = Catalog.GetString("Manually add");
                genericWin.SetSpinDouble2Increments(0.1,1);
                genericWin.SetSpinDouble2Range(0,5000);
-               genericWin.SetButtonMiddleLabel(Catalog.GetString("Add"));
+               genericWin.SetButtonMiddleLabel(Catalog.GetString("Add 1RM value"));
        
                //find all persons in current session
                ArrayList personsPre = SqlitePersonSession.SelectCurrentSessionPersons(


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