[chronojump] Encoder barplot says "Average Power" instead of "Power"
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder barplot says "Average Power" instead of "Power"
- Date: Mon, 30 Nov 2015 18:53:17 +0000 (UTC)
commit c7d93b3b7715a01c356cbe5c350cd7a94a00ebcd
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Nov 30 19:51:52 2015 +0100
Encoder barplot says "Average Power" instead of "Power"
encoder/graph.R | 4 ++--
src/constants.cs | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index dfcacd6..edbdfbf 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -1425,11 +1425,11 @@ paintPowerPeakPowerBars <- function(singleFile, title, paf, Eccon, height, n, sh
#when eccon != c show always ABS power
#peakPower is always ABS
if(Eccon == "c") {
- powerName = translateToPrint("Power")
+ powerName = translateToPrint("Average Power")
peakPowerName = translateToPrint("Peak Power")
}
else {
- powerName = translateToPrint("Power")
+ powerName = translateToPrint("Average Power")
peakPowerName = translateToPrint("Peak Power")
}
diff --git a/src/constants.cs b/src/constants.cs
index 66a2b07..f9ab3db 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -826,6 +826,7 @@ public class Constants
"Accel.",
"Force",
"Power",
+ "Average Power",
"Peak Power",
"Distance",
"Time to Peak Power",
@@ -871,6 +872,7 @@ public class Constants
Catalog.GetString("Accel."),
Catalog.GetString("Force"),
Catalog.GetString("Power"),
+ Catalog.GetString("Average Power"),
Catalog.GetString("Peak Power"),
Catalog.GetString("Distance"),
Catalog.GetString("Time to Peak Power"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]