mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Translation update
Use metric symbol insteed of name for summary metric data
This commit is contained in:
@@ -932,13 +932,13 @@ LTMPlot::createPMCCurveData(LTMSettings *settings, MetricDetail metricDetail,
|
||||
QString scoreType;
|
||||
|
||||
// create a custom set of summary metric data!
|
||||
if (metricDetail.name.startsWith("Skiba")) {
|
||||
if (metricDetail.symbol.startsWith("skiba")) {
|
||||
scoreType = "skiba_bike_score";
|
||||
} else if (metricDetail.name.startsWith("Coggan")) {
|
||||
} else if (metricDetail.symbol.startsWith("coggan")) {
|
||||
scoreType = "coggan_tss";
|
||||
} else if (metricDetail.name.startsWith("Daniels")) {
|
||||
} else if (metricDetail.symbol.startsWith("daniels")) {
|
||||
scoreType = "daniels_points";
|
||||
} else if (metricDetail.name.startsWith("TRIMP")) {
|
||||
} else if (metricDetail.symbol.startsWith("trimp")) {
|
||||
scoreType = "trimp_points";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user