Skip to content

Commit

Permalink
make some axis labels use the translated string
Browse files Browse the repository at this point in the history
  • Loading branch information
Danfro committed Oct 24, 2024
1 parent 0587ce8 commit 544a67e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/qml/pages/AnalysisPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PagePL {
graphTitle: qsTr("Heartrate")
graphHeight: 300

axisY.units: "BPM"
axisY.units: qsTr("BPM")
type: DataSource.Heartrate

minY: 0
Expand All @@ -57,7 +57,7 @@ PagePL {
graphTitle: qsTr("Steps")
graphHeight: 300

axisY.units: "Steps"
axisY.units: qsTr("Steps")
type: DataSource.Steps

minY: 0
Expand Down
2 changes: 1 addition & 1 deletion ui/qml/pages/HeartratePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ PagePL {
graphTitle: qsTr("BPM")
graphHeight: 300

axisY.units: "BPM"
axisY.units: qsTr("BPM")
type: DataSource.Heartrate
graphType: 2

Expand Down
2 changes: 1 addition & 1 deletion ui/qml/pages/StepsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PagePL {
graphHeight: 300

axisX.mask: "MM/dd"
axisY.units: "Steps"
axisY.units: qsTr("Steps")
type: DataSource.StepSummary
graphType: 2

Expand Down

0 comments on commit 544a67e

Please sign in to comment.