[chronojump] Show "Inertia M." on encoder inertia graphs
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Show "Inertia M." on encoder inertia graphs
- Date: Wed, 13 May 2015 15:52:27 +0000 (UTC)
commit 6cb64333630d35a5af4934704e83de4db7140931
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 13 17:51:43 2015 +0200
Show "Inertia M." on encoder inertia graphs
encoder/graph.R | 4 +++-
src/constants.cs | 6 ++++--
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index aebd384..01f0024 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1252,7 +1252,7 @@ paintPowerPeakPowerBars <- function(singleFile, title, paf, Eccon, height, n, sh
loadWord = "Mass"
if(findInertialCurves(paf))
- loadWord = "Inertia"
+ loadWord = "Inertia M."
mtext(paste(translate("Repetition")," \n",translate(loadWord),"
",sep=""),side=1,at=1,adj=1,line=1,cex=.9)
#mtext(translate("Laterality"),side=1,adj=1,line=0,cex=.9)
@@ -1400,6 +1400,8 @@ addUnitsAndTranslate <- function (var) {
return (paste(translate("Power"),"(W)"))
else if(var == "Load") #or Mass
return (paste(translate("Mass"),"(Kg)"))
+ else if(var == "Inertia")
+ return (paste(translate("Inertia M."),"(Kg*cm^2)"))
else if(var == "Force")
return (paste(translate("Force"),"(N)"))
diff --git a/src/constants.cs b/src/constants.cs
index 7d2d36e..ea803a0 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -869,7 +869,8 @@ public class Constants
"Mean speed in concentric propulsive phase",
"Sorry, no repetitions matched your criteria.",
"Need at least three jumps",
- "Laterality", "RL", "R", "L"
+ "Laterality", "RL", "R", "L",
+ "Inertia M."
};
/*
* written here in order to be translated
@@ -910,6 +911,7 @@ public class Constants
Catalog.GetString("Mean speed in concentric propulsive phase"),
Catalog.GetString("Sorry, no repetitions matched your criteria."),
Catalog.GetString("Need at least three jumps"),
- Catalog.GetString("Laterality"), Catalog.GetString("RL"), Catalog.GetString("R"),
Catalog.GetString("L")
+ Catalog.GetString("Laterality"), Catalog.GetString("RL"), Catalog.GetString("R"),
Catalog.GetString("L"),
+ Catalog.GetString("Inertia M.")
};
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]