[chronojump] sendLog win shows correctly version and send error button matches label



commit 15342442d76385e6d8c9970e2b43e46dcb15171f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Apr 29 11:31:58 2020 +0200

    sendLog win shows correctly version and send error button matches label

 src/chronojump.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/chronojump.cs b/src/chronojump.cs
index c1508742..578fe075 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -721,9 +721,10 @@ public class ChronoJump
                                        Util.GetDatabaseDir() + Path.DirectorySeparatorChar + 
"chronojump.db");
                }
 
+               string sendErrorLogStr = Catalog.GetString("Send error log");
                messageCrashedBefore =
-                       string.Format(Catalog.GetString("Chronojump {0} crashed before."), progVersion) + 
"\n" +
-                       Catalog.GetString("Please, fill your email and click on 'Send error log' in order to 
fix this fast and contact you if appropriate.") + "\n" +
+                       string.Format(Catalog.GetString("Chronojump {0} crashed before."), 
BuildInfo.chronojumpVersion) + "\n" +
+                       string.Format(Catalog.GetString("Please, fill your email and click on '{0}' in order 
to fix this fast and contact you if appropriate."), sendErrorLogStr) + "\n" +
                        Catalog.GetString("Your help is needed.");
 
 


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