[chronojump] JumpRj, run, runI treeviews shows type translated
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] JumpRj, run, runI treeviews shows type translated
- Date: Thu, 5 Aug 2021 09:21:21 +0000 (UTC)
commit 465d443a8bc0d4f4ea6798f77cf76ba00f003bbb
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Aug 5 11:20:50 2021 +0200
JumpRj, run, runI treeviews shows type translated
src/treeview/jump.cs | 2 +-
src/treeview/pulse.cs | 2 +-
src/treeview/run.cs | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/treeview/jump.cs b/src/treeview/jump.cs
index 5a8381a50..55d47061b 100644
--- a/src/treeview/jump.cs
+++ b/src/treeview/jump.cs
@@ -304,7 +304,7 @@ public class TreeViewJumpsRj : TreeViewJumps
{
JumpRj newJumpRj = (JumpRj)myObject;
- string title = newJumpRj.Type;
+ string title = Catalog.GetString(newJumpRj.Type);
if(newJumpRj.Simulated == Constants.Simulated)
title += Constants.SimulatedTreeviewStr() + " ";
diff --git a/src/treeview/pulse.cs b/src/treeview/pulse.cs
index 2d88d1a17..cc3361059 100644
--- a/src/treeview/pulse.cs
+++ b/src/treeview/pulse.cs
@@ -71,7 +71,7 @@ public class TreeViewPulses : TreeViewEvent
Pulse newPulse = (Pulse)myObject;
//if fixedPulse is not defined, comparate each pulse with the averave
- string myTypeComplet = newPulse.Type;
+ string myTypeComplet = Catalog.GetString(newPulse.Type);
if(newPulse.Simulated == Constants.Simulated)
myTypeComplet += Constants.SimulatedTreeviewStr() + " ";
diff --git a/src/treeview/run.cs b/src/treeview/run.cs
index f110e7830..b68c27add 100644
--- a/src/treeview/run.cs
+++ b/src/treeview/run.cs
@@ -83,7 +83,7 @@ public class TreeViewRuns : TreeViewEvent
Run newRun = (Run)myObject;
LogB.Information("getLineToStore, object: " + newRun.ToString());
- string title = newRun.Type;
+ string title = Catalog.GetString(newRun.Type);
if(newRun.Simulated == Constants.Simulated)
title += Constants.SimulatedTreeviewStr();
@@ -172,7 +172,7 @@ public class TreeViewRunsInterval : TreeViewRuns
{
RunInterval newRunI = (RunInterval)myObject;
- string title = newRunI.Type;
+ string title = Catalog.GetString(newRunI.Type);
if(newRunI.Simulated == Constants.Simulated)
title += Constants.SimulatedTreeviewStr() + " ";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]