[chronojump] Better message on importing a configuration of another mode g/i



commit 96a237f6066855b47417539d9fc03768c6f36e51
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jan 8 12:00:31 2019 +0100

    Better message on importing a configuration of another mode g/i

 src/gui/encoderConfiguration.cs | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoderConfiguration.cs b/src/gui/encoderConfiguration.cs
index 26d854a8..aac766a9 100644
--- a/src/gui/encoderConfiguration.cs
+++ b/src/gui/encoderConfiguration.cs
@@ -672,10 +672,14 @@ public class EncoderConfigurationWindow
                                        {
                                                if(encoderGI == Constants.EncoderGI.GRAVITATORY)
                                                        new DialogMessage(Constants.MessageTypes.WARNING,
-                                                                       Catalog.GetString("Imported 
configuration must be gravitatory."));
+                                                                       Catalog.GetString("Chronojump is 
currently in gravitory mode.") + "\n" +
+                                                                       Catalog.GetString("Selected 
configuration is inertial.") + "\n\n" +
+                                                                       Catalog.GetString("If you still want 
to import it, change to inertial mode."));
                                                else if(encoderGI == Constants.EncoderGI.INERTIAL)
                                                        new DialogMessage(Constants.MessageTypes.WARNING,
-                                                                       Catalog.GetString("Imported 
configuration must be inertial."));
+                                                                       Catalog.GetString("Chronojump is 
currently in inertial mode.") + "\n" +
+                                                                       Catalog.GetString("Selected 
configuration is gravitatory.") + "\n\n" +
+                                                                       Catalog.GetString("If you still want 
to import it, change to gravitatory mode."));
                                        }
                                        else if(econfSO.name != null && econfSO.name != "")
                                        {


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