[chronojump] Marked 4 strings as translatable



commit 0881bc2389b90378451db1891a7eb127bd4d5585
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jan 13 18:18:39 2022 +0100

    Marked 4 strings as translatable

 src/gui/app1/encoder.cs        | 2 +-
 src/gui/app1/forceSensor.cs    | 4 ++--
 src/gui/forceSensorExercise.cs | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 12f6f892f..b6e98f0a0 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -6258,7 +6258,7 @@ public partial class ChronoJumpWindow
                                        encoder_pulsebar_rhythm_eccon.Visible = true;
                                } else if(encoderRhythm.UseClusters()) {
                                        encoderRhythmExecute = new EncoderRhythmExecuteJustClusters 
(encoderRhythm, ! encoderConfigurationCurrent.has_inertia);
-                                       label_rhythm.Text = "Clusters"; //TODO: translate
+                                       label_rhythm.Text = Catalog.GetString("Clusters");
                                        encoder_pulsebar_rhythm_eccon.Visible = false;
                                }
 
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 801863697..8397309ad 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -2171,8 +2171,8 @@ LogB.Information(" fs R ");
                        Catalog.GetString("Elastic") + " (N/m)",
                        Catalog.GetString("Capture option"),
                        Catalog.GetString("Laterality"),
-                       "Max force" + " (" + Catalog.GetString("Raw data") + ") (N)", //TODO: mark to 
translate "Max force"
-                       string.Format("Max AVG Force in {0} s", 1) + " (N)", //TODO: mark to translate
+                       Catalog.GetString("Max force") + " (" + Catalog.GetString("Raw data") + ") (N)",
+                       string.Format(Catalog.GetString("Max AVG Force in {0} s"), 1) + " (N)",
                        Catalog.GetString("Date"),
                        Catalog.GetString("Video"),
                        Catalog.GetString("Comment")
diff --git a/src/gui/forceSensorExercise.cs b/src/gui/forceSensorExercise.cs
index 8883b5f30..df39f891e 100644
--- a/src/gui/forceSensorExercise.cs
+++ b/src/gui/forceSensorExercise.cs
@@ -414,7 +414,7 @@ public class ForceSensorExerciseWindow
                        str = Catalog.GetString("In some cases the weight of the mass is supported by the 
sensor but it is not a force that the subject is exerting. In this case, the sensor will be tared before 
starting the test.");
                else if(o == Options.MASS_NOTHING)
                        str = Catalog.GetString("In some cases the weight is transmitted to the sensor and it 
is also supported by the measured limb. If the effect of the mass is not significant, use this option also.") 
+
-                               " " + "This configuration is the same than raw data"; //TODO: translate last 
sentence
+                               " " + Catalog.GetString("This configuration is the same than raw data.");
                else if(o == Options.REPETITIONS_PREFS)
                        str = Catalog.GetString("If user changes values on preferences, these values will 
automatically change.");
                else if(o == Options.REPETITIONS_NO_PREFS)


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