[chronojump] Cairo contacts graphs with event type translated
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Cairo contacts graphs with event type translated
- Date: Tue, 24 Aug 2021 23:54:22 +0000 (UTC)
commit 8a0e0aeb3673278c0f9131a953e1ce45386ada3e
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Aug 25 01:53:58 2021 +0200
Cairo contacts graphs with event type translated
src/gui/eventExecute.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 2c1a93dec..501a6c919 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -3272,7 +3272,7 @@ public class CairoPaintBarsPreJumpSimple : CairoPaintBarsPre
pointB_l.Add(new PointF(countToDraw, valueB));
countToDraw --;
- names_l.Add(jump.Type);
+ names_l.Add(Catalog.GetString(jump.Type));
}
CairoBars cbjt;
@@ -3325,7 +3325,7 @@ public class CairoPaintBarsPreRunSimple : CairoPaintBarsPre
foreach(Run run in eventGraphRunsStored.runsAtSQL)
{
point_l.Add(new PointF(countToDraw --, run.Distance/run.Time));
- names_l.Add(run.Type);
+ names_l.Add(Catalog.GetString(run.Type));
}
CairoBars1Series cbjt = new CairoBars1Series (point_l, names_l, darea, title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]