[chronojump] Added an string



commit 518e1094cd32bc6a123e1825411d4fae6d2e9aa9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 17 16:41:56 2017 +0200

    Added an string

 src/constants.cs    |    2 ++
 src/gui/networks.cs |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/constants.cs b/src/constants.cs
index 3a96f4f..df1e6e2 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -194,8 +194,10 @@ public class Constants
        public static string SimulatedTestsNotAllowed = Catalog.GetString("Chronopic is disconnected.") + 
"\n\n" + 
                string.Format(Catalog.GetString("If you want to simulate tests, use {0} session."), 
"SIMULATED");
 
+       //Compujump strings
        public static string RFIDDisconnectedMessage = Catalog.GetString("RFID cable has been disconnected!") 
+ "\n\n" +
                Catalog.GetString("Please, connect it and restart Chronojump.");
+       public static string RFIDNotInServerMessage = Catalog.GetString("This RFID is not registered on 
server.");
 
        //server
        public const string ServerPingTable = "SPing"; 
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 2afeb58..238d2be 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -467,8 +467,7 @@ public partial class ChronoJumpWindow
                                LogB.Information("Person NOT found on server!");
                                if(dialogMessageNotAtServer == null || ! dialogMessageNotAtServer.Visible)
                                {
-                                       dialogMessageNotAtServer = new 
DialogMessage(Constants.MessageTypes.WARNING,
-                                                       "Aquesta pulsera o jugador no es troba identificada 
al servidor"); //GTK
+                                       dialogMessageNotAtServer = new 
DialogMessage(Constants.MessageTypes.WARNING, Constants.RFIDNotInServerMessage); //GTK
 
                                        compujumpPersonLogoutDo();
                                }


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