[chronojump] Added translatable strings



commit 03ae856b1fb9adb7791aae19f6196a23bf7648ea
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sun Apr 29 02:46:20 2018 +0200

    Added translatable strings

 glade/app1.glade                  |   10 ++++++++--
 glade/encoder_overview.glade      |    4 ++--
 glade/preferences_win.glade       |    2 +-
 glade/repetitive_conditions.glade |    2 +-
 src/gui/forceSensor.cs            |    3 +--
 src/gui/sprint.cs                 |    8 ++++----
 6 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 713b190..72a2366 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1691,6 +1691,9 @@
                                                             <placeholder/>
                                                             </child>
                                                             <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkLabel" 
id="label_start_selector_jumps">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -15874,7 +15877,7 @@ Concentric</property>
                                                             <widget class="GtkLabel" id="label340">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="label">Options</property>
+                                                            <property name="label" 
translatable="yes">Options</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -15919,7 +15922,7 @@ Concentric</property>
                                                             <widget class="GtkLabel" id="label342">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property name="label">Recalculate</property>
+                                                            <property name="label" 
translatable="yes">Recalculate</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -25781,6 +25784,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/glade/encoder_overview.glade b/glade/encoder_overview.glade
index dfa2c0f..ab78a40 100644
--- a/glade/encoder_overview.glade
+++ b/glade/encoder_overview.glade
@@ -38,7 +38,7 @@
               <widget class="GtkLabel" id="label1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label">Sets</property>
+                <property name="label" translatable="yes">Sets</property>
               </widget>
               <packing>
                 <property name="tab_fill">False</property>
@@ -66,7 +66,7 @@
               <widget class="GtkLabel" id="label2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="label">Repetitions</property>
+                <property name="label" translatable="yes">Repetitions</property>
               </widget>
               <packing>
                 <property name="position">1</property>
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index b8499e3..273a863 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -3245,7 +3245,7 @@ Other</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="xalign">0</property>
-                                    <property name="label">Not recommended</property>
+                                    <property name="label" translatable="yes">Not recommended</property>
                                   </widget>
                                   <packing>
                                     <property name="expand">False</property>
diff --git a/glade/repetitive_conditions.glade b/glade/repetitive_conditions.glade
index a2d0c0b..2333d48 100644
--- a/glade/repetitive_conditions.glade
+++ b/glade/repetitive_conditions.glade
@@ -4344,7 +4344,7 @@
                       <widget class="GtkLabel" id="label27">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="label">Configure rhythm</property>
+                        <property name="label" translatable="yes">Configure rhythm</property>
                         <property name="use_markup">True</property>
                       </widget>
                       <packing>
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index b9c2341..872444a 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -1324,8 +1324,7 @@ LogB.Information(" fc R ");
                notebook_options_top.Visible = true;
                notebook_options_at_execute_button.CurrentPage = 2;
                forceSensorCaptureAdjustSensitivity(false);
-               //event_execute_label_message.Text = Catalog.GetString("If you want to calibrate, please tare 
first.");
-               event_execute_label_message.Text = "If you want to calibrate, please tare first.";
+               event_execute_label_message.Text = Catalog.GetString("If you want to calibrate, please tare 
first.");
        }
        private void on_button_force_sensor_adjust_close_clicked (object o, EventArgs args)
        {
diff --git a/src/gui/sprint.cs b/src/gui/sprint.cs
index 736cb18..1d20a15 100644
--- a/src/gui/sprint.cs
+++ b/src/gui/sprint.cs
@@ -45,11 +45,11 @@ public partial class ChronoJumpWindow
                tv.HeadersVisible=true;
 
                int count = 0;
-               tv.AppendColumn ("Type", new CellRendererText(), "text", count++);
+               tv.AppendColumn (Catalog.GetString("Type"), new CellRendererText(), "text", count++);
                tv.AppendColumn ("ID", new CellRendererText(), "text", count++);
-               tv.AppendColumn ("Distances", new CellRendererText(), "text", count++);
-               tv.AppendColumn ("Split times", new CellRendererText(), "text", count++);
-               tv.AppendColumn ("Total time", new CellRendererText(), "text", count++);
+               tv.AppendColumn (Catalog.GetString("Distances"), new CellRendererText(), "text", count++);
+               tv.AppendColumn (Catalog.GetString("Split times"), new CellRendererText(), "text", count++);
+               tv.AppendColumn (Catalog.GetString("Total time"), new CellRendererText(), "text", count++);
 
                storeSprint = new TreeStore(
                                typeof (string), typeof (string), typeof (string),


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