[chronojump] Elipsis (... to …) on .cs files



commit 7d132da64005479f62e0d55d84aad11d1c8768bb
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 15 11:33:31 2021 +0100

    Elipsis (... to …) on .cs files

 src/Mini/chronojump_mini.cs       |  2 +-
 src/chronojump.cs                 |  8 ++++----
 src/constants.cs                  |  4 ++--
 src/exportSession.cs              |  4 ++--
 src/gui/app1/chronojumpPersons.cs |  2 +-
 src/gui/app1/encoder.cs           | 32 ++++++++++++++++----------------
 src/gui/forceSensorExercise.cs    |  4 ++--
 src/gui/webcam.cs                 |  8 ++++----
 8 files changed, 32 insertions(+), 32 deletions(-)
---
diff --git a/src/Mini/chronojump_mini.cs b/src/Mini/chronojump_mini.cs
index 0f5f5bab..a04e387b 100644
--- a/src/Mini/chronojump_mini.cs
+++ b/src/Mini/chronojump_mini.cs
@@ -128,7 +128,7 @@ class ChronoJumpMini {
                writer = File.CreateText(fileName);
                
 
-               Console.WriteLine(Catalog.GetString("Opening port...") + " " +
+               Console.WriteLine(Catalog.GetString("Opening port …") + " " +
                               Catalog.GetString("Please touch the platform or click Chronopic TEST button"));
                //-- Crear puerto serie         
                SerialPort sp;
diff --git a/src/chronojump.cs b/src/chronojump.cs
index 6dd5605f..12dc4d63 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -65,8 +65,8 @@ public class ChronoJump
        {/*
                bool timeLogPassedOk = Log.Start(args);
                Log.WriteLine(string.Format("Time log passed: {0}", timeLogPassedOk.ToString()));
-               Log.WriteLine(string.Format("Client database option 1 in ... " + Util.GetDatabaseDir()));
-               Log.WriteLine(string.Format("Client database option 2 in ... " + Util.GetDatabaseTempDir()));
+               Log.WriteLine(string.Format("Client database option 1 in … " + Util.GetDatabaseDir()));
+               Log.WriteLine(string.Format("Client database option 2 in … " + Util.GetDatabaseTempDir()));
                */
                
                LogSync.Initialize();
@@ -314,7 +314,7 @@ public class ChronoJump
                
                //Chech if the DB file exists
                if (!Sqlite.CheckTables(defaultDBLocation)) {
-                       LogB.SQL ( Catalog.GetString ("no tables, creating ...") );
+                       LogB.SQL ( Catalog.GetString ("no tables, creating …") );
 
                        creatingDB = true;
                        splashMessageChange(2);  //creating database
@@ -718,7 +718,7 @@ public class ChronoJump
                windowsTextLog = "\n" + crashLogFile;
                */
                        
-               //if there's a copy on temp...
+               //if there's a copy on temp …
                if(File.Exists(Util.GetDatabaseTempDir() + Path.DirectorySeparatorChar + "chronojump.db")) 
                {
                        // if exist also a file in default db location (improbable but done for solve 
eventual problems
diff --git a/src/constants.cs b/src/constants.cs
index f96b7d01..93cc26bf 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -331,7 +331,7 @@ public class Constants
                if(CSVExportDecimalSeparator != "COMMA")
                        sep = ",";
 
-               return "\n\n" + Catalog.GetString("Importing from your spreadsheet (LibreOffice, R, MS Excel, 
...)") + "\n" +
+               return "\n\n" + Catalog.GetString("Importing from your spreadsheet (LibreOffice, R, MS Excel, 
…)") + "\n" +
                        Catalog.GetString("Remember the separator character is:") + " <b>" + sep + "</b>" + 
"\n\n" +
                        Catalog.GetString("This can be changed at preferences.");
        }
@@ -735,7 +735,7 @@ public class Constants
 
        public static string ChronopicDetectingStr()
        {
-               return Catalog.GetString("Detecting ...");
+               return Catalog.GetString("Detecting …");
        }
        public static string ChronopicNeedTouchStr()
        {
diff --git a/src/exportSession.cs b/src/exportSession.cs
index 414e6b77..bd8916a0 100644
--- a/src/exportSession.cs
+++ b/src/exportSession.cs
@@ -62,7 +62,7 @@ public class ExportSession
        {
                string exportString = "";
                if(formatFile == "report") {
-                       exportString = Catalog.GetString ("Save report as...");
+                       exportString = Catalog.GetString ("Save report as …");
                } else {
                        exportString = Catalog.GetString ("Export session in format " + formatFile);
                }
@@ -102,7 +102,7 @@ public class ExportSession
                        if (File.Exists(fileName)) {
                                LogB.Warning(string.Format("File {0} exists with attributes {1}, created at 
{2}",
                                                        fileName, File.GetAttributes(fileName), 
File.GetCreationTime(fileName)));
-                               LogB.Information("Overwrite...");
+                               LogB.Information("Overwrite …");
                                ConfirmWindow confirmWin = ConfirmWindow.Show(Catalog.GetString("Are you sure 
you want to overwrite file: "),
                                                "", fileName);
                                confirmWin.Button_accept.Clicked += new 
EventHandler(on_overwrite_file_accepted);
diff --git a/src/gui/app1/chronojumpPersons.cs b/src/gui/app1/chronojumpPersons.cs
index 098dfc8c..e4f8a612 100644
--- a/src/gui/app1/chronojumpPersons.cs
+++ b/src/gui/app1/chronojumpPersons.cs
@@ -367,7 +367,7 @@ public partial class ChronoJumpWindow
        private void on_delete_current_person_from_session_clicked (object o, EventArgs args) {
                LogB.Information("delete current person from this session");
                ConfirmWindow confirmWin = ConfirmWindow.Show(
-                               Catalog.GetString("Are you sure you want to delete the current person and all 
his/her tests (jumps, races, pulses, ...) from this session?\n(His/her personal data and tests in other 
sessions will remain intact.)"), "",
+                               Catalog.GetString("Are you sure you want to delete the current person and all 
his/her tests (jumps, races, pulses, …) from this session?\n(His/her personal data and tests in other 
sessions will remain intact.)"), "",
                                Catalog.GetString("Current Person: ") + "<b>" + currentPerson.Name + "</b>");
 
                confirmWin.Button_accept.Clicked += new 
EventHandler(on_delete_current_person_from_session_accepted);
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 4e7f2acf..00c57bf0 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -380,9 +380,9 @@ public partial class ChronoJumpWindow
         * 
         * before using this, saving a curve used the combo values on the top,
         * but this combo values can be changed by the user, and the he could click on save curve,
-        * then power values (results of curves on graph.R) can be saved with bad weight, exerciseID, ...
+        * then power values (results of curves on graph.R) can be saved with bad weight, exerciseID, …
         *
-        * Now, with lastEncoderSQLSignal, saved curves and export curves will take the weight, exerciseID, 
...
+        * Now, with lastEncoderSQLSignal, saved curves and export curves will take the weight, exerciseID, …
         * last capture, recalculate and load. Better usability
         */
        EncoderSQL lastEncoderSQLSignal;
@@ -950,7 +950,7 @@ public partial class ChronoJumpWindow
                findMaxPowerSpeedForceIntersession();
                //LogB.Information("maxPower: " + maxPowerIntersession);
 
-               if(encoderThreadBG != null && encoderThreadBG.IsAlive) //if we are capturing on the 
background ...
+               if(encoderThreadBG != null && encoderThreadBG.IsAlive) //if we are capturing on the 
background …
                {
                        // stop capturing on the background if we start capturing gravitatory
                        if(! encoderConfigurationCurrent.has_inertia)
@@ -958,7 +958,7 @@ public partial class ChronoJumpWindow
                                stopCapturingInertialBG();
                        }
                }
-               else //if we are NOT capturing on the background ...
+               else //if we are NOT capturing on the background …
                {
                        //check if chronopics have changed
                        if(! canCaptureEncoder() )
@@ -1484,7 +1484,7 @@ public partial class ChronoJumpWindow
                bool result = encoderRProcAnalyze.StartOrContinue(es);
                                
                if(result)
-                       //store this to show 1,2,3,4,... or 1e,1c,2e,2c,... in RenderN
+                       //store this to show 1,2,3,4,… or 1e,1c,2e,2c,… in RenderN
                        //if is not stored, it can change when changed eccon radiobutton on cursor is in 
treeview
                        ecconLast = findEccon(false);
                else {
@@ -2216,7 +2216,7 @@ public partial class ChronoJumpWindow
                        else {
                                //ENCODER_ANALYZE_SAVE_IMAGE, FORCESENSOR_SAVE_IMAGE_SIGNAL,
                                //FORCESENSOR_SAVE_IMAGE_RFD_AUTO, FORCESENSOR_SAVE_IMAGE_RFD_MANUAL
-                               //... and sure other modes
+                               //… and sure other modes
                                exportFileName = Util.AddPngIfNeeded(exportFileName);
                        }
 
@@ -2228,7 +2228,7 @@ public partial class ChronoJumpWindow
                                                                exportFileName, 
                                                                File.GetAttributes(exportFileName), 
                                                                File.GetCreationTime(exportFileName)));
-                                       LogB.Information("Overwrite...");
+                                       LogB.Information("Overwrite …");
 
                                        ConfirmWindow confirmWin = ConfirmWindow.Show(Catalog.GetString(
                                                                "Are you sure you want to overwrite: "), "",
@@ -2428,7 +2428,7 @@ public partial class ChronoJumpWindow
                                                                exportFileName,
                                                                File.GetAttributes(exportFileName),
                                                                File.GetCreationTime(exportFileName)));
-                                       LogB.Information("Overwrite...");
+                                       LogB.Information("Overwrite …");
 
                                        ConfirmWindow confirmWin = ConfirmWindow.Show(Catalog.GetString(
                                                                "Are you sure you want to overwrite: "), "",
@@ -2796,7 +2796,7 @@ public partial class ChronoJumpWindow
                         * graph.R manages correctly this
                         * But, when saved a curve, eg. concentric this can be positive or negative
                         * (depending on the rotating sign of inertial machine at that curve)
-                        * if it's concentric, and it's full of -1,-2,... we have to change sign
+                        * if it's concentric, and it's full of -1,-2, … we have to change sign
                         * if it's eccentric-concentric, and in the eccentric phase is positive, then we 
should change sign of both phases
                         */
                        int inertialCheckStart = 0;
@@ -3182,7 +3182,7 @@ public partial class ChronoJumpWindow
                //use this send because we change it to send it to R
                //but we don't want to change encoderSelectedAnalysis because we want to know again if == 
"cross" (or "1RM")
                //encoderSelectedAnalysis can be "cross" and sendAnalysis be "Speed / Load"
-               //encoderSelectedAnalysis can be "1RM" and sendAnalysis be "1RMBadilloBench, ...
+               //encoderSelectedAnalysis can be "1RM" and sendAnalysis be "1RMBadilloBench, …
                string sendAnalysis = encoderSelectedAnalysis;
 
                //see doProcess at encoder/graph.R
@@ -4718,7 +4718,7 @@ public partial class ChronoJumpWindow
                 * /tmp/chronojump-last-encoder-graph.png
                 * but if a capture curves has done, file is named the same
                 * make unsensitive the capture image after loading or capturing a new signal
-                * or changing person, loading session, ...
+                * or changing person, loading session, …
                 */
 
                checkFile(Constants.CheckFileOp.ENCODER_ANALYZE_SAVE_IMAGE);
@@ -4757,7 +4757,7 @@ public partial class ChronoJumpWindow
                 * /tmp/chronojump-last-encoder-curves.txt
                 * but if a capture curves has done, file is named the same
                 * make unsensitive the capture table after loading or capturing a new signal
-                * or changing person, loading session, ...
+                * or changing person, loading session, …
                 * No problem. Is nice to play with seinsitiveness, but the reading will be from treeview and 
not from file
                 */
 
@@ -5908,7 +5908,7 @@ public partial class ChronoJumpWindow
                                if(encoder_capture_curves_bars_pixmap != null)
                                        UtilGtk.ErasePaint(encoder_capture_curves_bars_drawingarea, 
encoder_capture_curves_bars_pixmap);
 
-                               encoderGraphDoPlot.ShowMessage(Catalog.GetString("Capturing") + " ...", 
false, true);
+                               encoderGraphDoPlot.ShowMessage(Catalog.GetString("Capturing") + " …", false, 
true);
 
                                encoderCaptureStringR = new List<string>();
                                encoderCaptureStringR.Add(
@@ -6240,7 +6240,7 @@ public partial class ChronoJumpWindow
 
        /*
         * History
-        * 1) In the beginning we used RDotNet for C# - R communication. But it was buggy, complex, problems 
with try catch, ...
+        * 1) In the beginning we used RDotNet for C# - R communication. But it was buggy, complex, problems 
with try catch, …
         * 2) Then we used stdin,stdout,stderr communication. Worked fine on Linux and Windows but not in Mac
         * 3) Then we used a capture.txt file created by R with a row for each curve. But reading it on 
windows from C# gives file access problems
         * 4) Now we try to create one file for each curve and read it here with a try/catch
@@ -7107,7 +7107,7 @@ public partial class ChronoJumpWindow
                                 * because there are no curves (problems detecting, or minimal height so big
                                 * then do not continue
                                 * because with a value of -1 there will be problems in 
-                                * SqliteEncoder.Select(false, Convert.ToInt32(encoderSignalUniqueID), ...)
+                                * SqliteEncoder.Select(false, Convert.ToInt32(encoderSignalUniqueID), …)
                                 */
                                LogB.Information(" encoderSignalUniqueID:" + encoderSignalUniqueID);
                                if(encoderSignalUniqueID != "-1")
@@ -7546,7 +7546,7 @@ public partial class ChronoJumpWindow
                /*
                 * TODO: reimplement this with ffmpeg
                 *
-               //TODO: use a try specific... study this further
+               //TODO: use a try specific … study this further
                LogB.Information("Prepare video encoder 0");
 
                try {
diff --git a/src/gui/forceSensorExercise.cs b/src/gui/forceSensorExercise.cs
index 98c0bc08..8545569e 100644
--- a/src/gui/forceSensorExercise.cs
+++ b/src/gui/forceSensorExercise.cs
@@ -395,9 +395,9 @@ public class ForceSensorExerciseWindow
                else if(o == Options.FORCE_RESULTANT)
                        str = "1.- " + Catalog.GetString("Isometric squat with the force sensor fixed between 
the floor and the body.") +
                                "\n2.- " + Catalog.GetString("Movements where a significant mass is 
accelerated.") +
-                               "\n3.- " + Catalog.GetString("Horizontal movements where the sensor don't 
measure the gravitational vertical forces...)");
+                               "\n3.- " + Catalog.GetString("Horizontal movements where the sensor don't 
measure the gravitational vertical forces …)");
                else if(o == Options.FIXATION_ELASTIC)
-                       str =  Catalog.GetString("Rubber bands, springs, flexible material ...");
+                       str =  Catalog.GetString("Rubber bands, springs, flexible material …");
                else if(o == Options.FIXATION_NOT_ELASTIC)
                        str = "1.- " + Catalog.GetString("In an isometric squat with the force sensor fixed 
between the floor and the body, increasing the mass don't affect the measure of the sensor because the weight 
is supported by the lower limbs, not the sensor.") +
                                "\n2.- " + Catalog.GetString("Running in a threadmill against a rubber. The 
sensor is measuring the force that a rubber is transmitting horizontally to a subject running in a 
threadmill. The body weight is added to the total force exerted by the subject.");
diff --git a/src/gui/webcam.cs b/src/gui/webcam.cs
index c0f469f5..0f62581d 100644
--- a/src/gui/webcam.cs
+++ b/src/gui/webcam.cs
@@ -81,7 +81,7 @@ public partial class ChronoJumpWindow
         * if there are two cameras
         * have two webcam and call: webcamRecordStart and webcamRecordEnd two times
         * take care pngs of 2n camera have to be in different area
-        * maybe use on /tmp/chronojump-video0 /tmp/chronojump-video1 ...
+        * maybe use on /tmp/chronojump-video0 /tmp/chronojump-video1 …
         * and at the end merge both mp4s with:
         *
         * ffmpeg \
@@ -201,7 +201,7 @@ public partial class ChronoJumpWindow
                        else if(webcamStartThreadBeforeTestStatus == statusEnum.SUCCESS)
                        {
                                webcamManage.ReallyStarted = true;
-                               label_video_feedback_text (WebcamManage.GuiContactsEncoder.CONTACTS, 
Catalog.GetString("Recording ..."));
+                               label_video_feedback_text (WebcamManage.GuiContactsEncoder.CONTACTS, 
Catalog.GetString("Recording …"));
                                notebook_video_contacts.CurrentPage = 1;
                        }
 
@@ -748,7 +748,7 @@ public partial class ChronoJumpWindow
                 * TODO: reimplement this with ffmpeg
                 *
                if(File.Exists(fileName)) {
-                       LogB.Information("Play video starting...");
+                       LogB.Information("Play video starting …");
                        PlayerBin player = new PlayerBin();
                        player.Open(fileName);
 
@@ -761,7 +761,7 @@ public partial class ChronoJumpWindow
                        d.DeleteEvent += delegate(object sender, DeleteEventArgs e) {player.Close(); 
player.Dispose();};
 
                        if(play) {
-                               LogB.Information("Play video playing...");
+                               LogB.Information("Play video playing …");
                                player.Play();
                        }
                        return true;


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